/* ── MENU ── */
.main-nav {
    position: sticky;
    top: 15px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    margin: 0 auto;
    padding: 4px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
}

.main-nav a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
}

.main-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 10px rgba(255,255,255,0.12), 0 0 24px rgba(255,255,255,0.05);
}

/* ── Hamburger button ── */
.nav-toggle {
    display: none;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(2,2,2,0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.nav-drawer.open {
    opacity: 1;
    pointer-events: all;
}

.nav-drawer a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: color 0.2s ease;
}

.nav-drawer a:hover,
.nav-drawer a.active {
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .nav-drawer { display: flex; }
}