/* ── Sticky Header ── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(8, 8, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

/* Logo */
.header-logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 0.75em;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--accent-gold);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile toggle active state */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        background: rgba(8, 8, 15, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav-list.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        font-size: 1em;
    }

}

@media (max-width: 768px) {
  .nav-list,
  .nav-toggle {
    display: none !important;
  }
}