/* ============================================
   Glass Navbar — Shared across all pages
   ============================================ */

#navbar-mount {
    width: 100%;
}

.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 56px;
    width: 100%;
    background: rgba(10, 10, 20, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 51, 102, 0.15);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Brand */
.nav-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    text-decoration: none;
}

/* Right section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-desktop-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Links */
.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.glass-nav .nav-link:hover {
    color: #ff3366;
    background: rgba(255, 51, 102, 0.08);
    transform: translateY(-1px);
}

.glass-nav .nav-link.active {
    color: #ff3366;
    background: rgba(255, 51, 102, 0.12);
}

.glass-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff3366, transparent);
    border-radius: 1px;
}

/* Divider between links and hamburger */
.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 8px;
}

/* Hamburger button */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 4px;
    padding: 8px;
}

.nav-hamburger:hover {
    background: rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.3);
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
    transition: all 0.3s;
}

.nav-hamburger:hover span {
    background: #ff3366;
}

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   Slide-out Menu
   ============================================ */

.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.nav-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-slide-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 15, 25, 0.88);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-left: 1px solid rgba(255, 51, 102, 0.15);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px 0;
    overflow-y: auto;
}

.nav-slide-menu.open {
    right: 0;
}

.nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.nav-menu-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.nav-menu-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: sans-serif;
}

.nav-menu-close:hover {
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    border-color: rgba(255, 51, 102, 0.3);
}

.nav-menu-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 20px 6px;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.nav-menu-item:hover {
    background: rgba(255, 51, 102, 0.08);
    color: #ff3366;
    padding-left: 26px;
}

.nav-menu-item .nav-menu-icon {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.7;
}

.nav-menu-item.active {
    color: #ff3366;
    background: linear-gradient(90deg, rgba(255, 51, 102, 0.1), transparent);
    border-left: 2px solid #ff3366;
}

.nav-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 20px;
}

/* ============================================
   Mobile (≤768px)
   ============================================ */

@media (max-width: 768px) {
    .glass-nav {
        height: 48px;
        padding: 0 16px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-desktop-links {
        display: none;
    }

    .nav-divider {
        display: none;
    }
}
