.navbar {
    background: #1a0030;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    position: relative;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: white;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.78;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: 0.25s ease;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 1rem 0 1.25rem;
    background: #1a0030;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nav-links.active {
    display: flex;
}

.nav-links li a {
    display: block;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.65rem 2rem;
    transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

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

@media (min-width: 769px) {
    .menu-btn {
        display: none;
    }

    .navbar {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .logo {
        margin-right: 3rem;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
        padding: 0;
        flex-direction: row;
        gap: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-links li a {
        padding: 0 1rem;
        line-height: 64px;
        font-size: 0.875rem;
        color: rgba(255,255,255,0.7);
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

    .nav-links li a:hover {
        color: white;
        background: transparent;
        border-bottom-color: rgba(255,255,255,0.5);
    }
}
