/* NAV */
     /* ── HEADER ── */
header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.445);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration:none
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem;
    transition: color 0.3s;
    white-space: nowrap;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:.04em;
    text-transform:uppercase;
    transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--accent)}
.nav-back{
    display:flex;
    align-items:center;
    gap:.5rem;
    color:var(--text-muted);
    text-decoration:none;
    font-size:.85rem;
    transition:color .2s,gap .2s
}
.nav-back:hover{color:var(--accent);gap:.8rem}
.nav-links a:hover { color: var(--accent-light); }

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4px 5px;
    cursor: pointer;
    transition: border-color 0.3s;
    user-select: none;
    flex-shrink: 0;
}

.lang-toggle:hover { border-color: var(--accent); }

.lang-option {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.lang-option.active {
    background: var(--grad);
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger:hover { background: var(--card); }

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}

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

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(10,10,10,0.98);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mobile-nav.open {
    max-height: 400px;
    padding: 8px 0;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 14px clamp(16px, 5vw, 40px);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
    display: block;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover {
    background: var(--card);
     color: var(--accent-light);
     }

