/* NebulaSpin — Shared nav (same on every page) */
header {
    background: rgba(5, 3, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(107, 47, 255, 0.2);
}
nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.nav-logo,
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6B2FFF, #D24EE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: #b8b8d1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #6B2FFF; }
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.nav-auth-wrap { display: flex; align-items: center; gap: 0.5rem; }
.nav-social-btns { display: flex; gap: 0.35rem; align-items: center; }
.nav-social-btns .nav-social-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 47, 255, 0.4);
    background: rgba(107, 47, 255, 0.08);
    color: #b8b8d1;
    text-decoration: none;
    transition: all 0.2s;
}
.nav-social-btns .nav-social-btn:hover {
    background: rgba(107, 47, 255, 0.25);
    border-color: #6B2FFF;
    color: #fff;
}
.nav-social-btns .nav-social-btn span:last-of-type { display: none; }
.nav-social-icon { width: 18px; height: 18px; object-fit: contain; }
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(107, 47, 255, 0.5);
    background: rgba(5, 3, 10, 0.8);
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
    nav { padding: 0 1.25rem; }
    .nav-toggle { display: flex; }
    .nav-right { display: none; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(5, 3, 10, 0.98);
        border-bottom: 1px solid rgba(107, 47, 255, 0.25);
        gap: 0.75rem;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-social-item { display: flex !important; gap: 0.75rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid rgba(107, 47, 255, 0.2); }
}
