/* === MDZ / TRIPWHITE STYLE v6.1 === */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

/* BACKGROUND EFFECTS */
.bg-vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 4;
}


.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 2;
}


.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.snow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.particles canvas,
.snow-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}


/* MAIN APP CONTAINER */
#app {
    position: relative;
    z-index: 10;
}

/* LANDING PAGE */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

/* Soft glow orb behind content */
.landing-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -55%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1.12);
    }
}

.welcome-text {
    font-size: 0.75rem;
    letter-spacing: 14px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: landingFadeUp 1s 0.1s ease both;
}

@keyframes landingFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.server-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 30%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: landingFadeUp 1s 0.2s ease both;
}

.server-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.32);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    animation: landingFadeUp 1s 0.3s ease both;
}

.main-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    width: 100%;
    animation: landingFadeUp 1s 0.4s ease both;
}

.main-btn {
    width: 100%;
    max-width: 480px;
    padding: 16px 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary-enter {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: 20px 40px !important;
    max-width: 500px !important;
    border-radius: 18px !important;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease !important;
}

/* Shimmer sweep */
.btn-primary-enter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    animation: btnShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShimmer {
    0% {
        left: -80%;
    }

    100% {
        left: 180%;
    }
}

.btn-primary-enter:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.07), 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-4px) !important;
}

.landing-footer {
    margin-top: 40px;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    animation: landingFadeUp 1s 0.55s ease both;
}

.landing-footer a {
    color: inherit;
    text-decoration: none;
}

.foot-links a {
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.foot-links a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-3px);
}

/* STAFF LIST PAGE */
.staff-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 100vh;
}

.list-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

#staff-search {
    width: 100%;
    padding: 18px 20px 18px 58px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#staff-search:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.staff-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.member-row {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.member-row:hover {
    background: #222;
    transform: translateX(5px);
}

.row-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.row-avatar-wrap {
    width: 52px;
    height: 52px;
}

.row-avatar-wrap img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.row-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.row-badge {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.b-boss {
    background: #f1c40f;
    color: #000;
}

.b-leader {
    background: #555;
    color: #fff;
}

.b-default {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.row-fb-link {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.row-right {
    flex-shrink: 0;
}

.row-fb-btn {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.row-fb-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #1877f2;
}

.list-nav-back {
    margin-bottom: 40px;
}

.list-nav-back a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.list-nav-back a:hover {
    color: #fff;
}

.page-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-footer p {
    font-size: 0.6rem;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.foot-links {
    display: flex;
    gap: 20px;
}

.foot-links a {
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
}

.foot-links a:hover {
    color: #fff;
}

/* MUSIC HUB */
/* MUSIC HUB - PREMIUM GLASS STYLE */
.music-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hub-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
    margin-right: 5px;
}

.hub-visualizer span {
    width: 2px;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    animation: barPulse 1s ease-in-out infinite alternate;
}

.hub-visualizer span:nth-child(2) {
    animation-delay: 0.2s;
}

.hub-visualizer span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes barPulse {
    0% {
        height: 30%;
    }

    100% {
        height: 100%;
    }
}

.hub-info {
    display: flex;
    flex-direction: column;
}

.hub-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

#hub-track-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.hub-controls {
    display: flex;
    gap: 8px;
}

.hub-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

.hub-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
    border-color: transparent;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.m-pill {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 10px 20px;
}

.m-pill span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .server-title {
        font-size: 2.8rem;
    }

    .list-main-title {
        font-size: 2rem;
    }

    .member-row {
        padding: 14px 18px;
    }

    .row-avatar-wrap {
        width: 44px;
        height: 44px;
    }

    .row-avatar-wrap img {
        width: 44px;
        height: 44px;
    }

    .row-name {
        font-size: 0.95rem;
    }

    .page-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .m-pill {
        display: none;
    }
}

/* PAGINATION */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0 8px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.page-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.page-info {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}