/* HEADER (NAV) - ELITE RESPONSIVE */
.navbar-main {
    display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.35fr) auto; align-items: center; gap: clamp(1rem, 2vw, 2.2rem);
    padding: 0 clamp(28px, 5vw, 6%); height: var(--nav-h);
    background:
        radial-gradient(circle at 7% 50%, rgba(8, 217, 255, .16), transparent 21rem),
        linear-gradient(180deg, rgba(4, 8, 13, .97), rgba(2, 5, 10, .9));
    position: fixed; top: 0; width: 100%; z-index: 10000;
    border-bottom: 1px solid rgba(8, 217, 255, .28); backdrop-filter: blur(28px);
    box-shadow: 0 20px 70px rgba(0,0,0,.42), inset 0 -1px 0 rgba(255,255,255,.03);
}
.navbar-main::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(8,217,255,.9), transparent);
    opacity: .86;
}

.logo { min-width: 0; }
.gg-brand a {
    position: relative; display: inline-flex; align-items: center; gap: 13px; color: #fff; text-decoration: none;
    padding: 9px 16px 9px 10px; border-radius: 24px;
    border: 1px solid rgba(8,217,255,.2);
    background:
        linear-gradient(135deg, rgba(8,217,255,.13), rgba(255,255,255,.028) 48%, rgba(255,143,31,.055)),
        rgba(255,255,255,.018);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 46px rgba(0,0,0,.26), 0 0 32px rgba(8,217,255,.08);
    overflow: hidden;
}
.gg-brand a::before {
    content: ''; position: absolute; inset: -60% auto auto -18%; width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(8,217,255,.28), transparent 66%);
    opacity: .68; transition: transform .35s ease, opacity .35s ease;
}
.gg-brand a:hover::before { transform: translateX(28px); opacity: .92; }
.gg-brand a::after {
    content: ''; position: absolute; inset: auto 16px 7px 68px; height: 1px;
    background: linear-gradient(90deg, rgba(8,217,255,.9), rgba(255,143,31,.55), transparent);
    opacity: .72;
}
.gg-brand-mark {
    position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px;
    color: #03121a; background: linear-gradient(160deg, #40f4ff 0%, #08c8ef 56%, #ff8f1f 140%);
    box-shadow: 0 0 30px rgba(8,217,255,.42), inset 0 1px 0 rgba(255,255,255,.48), inset 0 -10px 24px rgba(0,0,0,.14);
    transform: skewX(-7deg);
}
.gg-brand-mark i { transform: skewX(7deg); font-size: 1.28rem; filter: drop-shadow(0 2px 0 rgba(255,255,255,.22)); }
.gg-brand-copy { position: relative; display: grid; gap: 2px; line-height: 1; }
.gg-brand-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.04rem, 1.5vw, 1.3rem); font-weight: 950; letter-spacing: .065em; white-space: nowrap; }
.gg-brand-title b { color: var(--primary); text-shadow: 0 0 22px rgba(8,217,255,.38); }
.gg-brand-sub { color: rgba(235,245,255,.45); font-size: .46rem; font-weight: 950; letter-spacing: .24em; white-space: nowrap; }

/* MOBILE TOGGLE STYLES */
.nav-toggle-label {
    display: none; cursor: pointer; padding: 10px; z-index: 20000;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; background: #ffffff !important; height: 2px; width: 25px; position: relative; transition: all 0.4s;
}
.nav-toggle-label span::before { content: ''; position: absolute; top: -8px; }
.nav-toggle-label span::after { content: ''; position: absolute; top: 8px; }

.nav-links {
    display: flex; gap: clamp(1rem, 2vw, 2.5rem); align-items: center; justify-content: center; min-width: 0;
    min-height: 46px; padding: 0 clamp(.75rem, 1vw, 1rem); border: 1px solid rgba(255,255,255,.055);
    border-radius: 999px; background: rgba(255,255,255,.022);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.nav-links a { 
    position: relative; color: rgba(235,245,255,.62); font-size: 0.72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .18em;
    transition: color .22s ease, transform .22s ease;
}
.nav-links a.active, .nav-links a:hover { color: #fff; transform: translateY(-1px); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; width: 100%; height: 2px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--primary), transparent); box-shadow: 0 0 18px var(--primary);
}

.auth-area { display: flex; gap: .8rem; align-items: center; justify-content: flex-end; flex: 0 0 auto; white-space: nowrap; }
.login-link {
    color: #fff; font-size: .72rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; opacity: .88;
    padding: 12px 14px; border-radius: 14px; transition: color .22s ease, background .22s ease, opacity .22s ease;
}
.login-link:hover { color: var(--primary); background: rgba(8,217,255,.075); opacity: 1; }
.btn-signup {
    border: 1px solid rgba(8,217,255,.45);
    background: linear-gradient(180deg, #18dcff, #08bce3);
    color: #031016 !important;
    min-height: 46px; border-radius: 15px; padding: 0 22px;
    box-shadow: 0 14px 34px rgba(8,217,255,.26), inset 0 1px 0 rgba(255,255,255,.42);
}
.user-pill { display: flex; align-items: center; gap: 10px; padding: 5px 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; }
.user-name { font-size: 0.65rem; font-weight: 800; color: #fff; }
.user-avatar { font-size: 0.8rem; color: var(--primary); }

/* MOBILE RESPONSIVE ENGINE */
@media screen and (max-width: 1100px) {
    .nav-toggle-label { display: block; }
    .navbar-main { display: flex; justify-content: space-between; padding: 0 5%; }
    .nav-links {
        position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
        background: rgba(10, 12, 18, 0.98); flex-direction: column; padding: 6rem 2rem; align-items: flex-start;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-right: 1px solid var(--border);
        backdrop-filter: blur(25px); box-shadow: 20px 0 50px rgba(0,0,0,0.8);
        border-radius: 0; min-height: 100vh;
    }
    .nav-toggle:checked ~ .nav-links { left: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
    
    .nav-links a { font-size: 0.9rem; width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
    .auth-area .login-link { display: none; }
}

@media screen and (max-width: 1320px) {
    .navbar-main { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.2fr) auto; }
    .nav-links { gap: .95rem; }
    .nav-links a { font-size: .66rem; letter-spacing: 1px; }
    .gg-brand-sub { display: none; }
    .btn-signup { padding: 7px 14px; }
}

/* FOOTER DESIGN - STABLE */
footer { background: #02040a; padding: 6rem 10% 3rem; border-top: 1px solid var(--border); margin-top: 5rem; }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem; }
.f-col h5 { font-size: 0.8rem; color: #fff; font-weight: 900; margin-bottom: 1.8rem; letter-spacing: 1.5px; }
.f-col ul li { margin-bottom: 12px; }
.f-col ul li a { color: var(--text-muted); font-size: 0.75rem; transition: var(--transition); }
.f-col ul li a:hover { color: var(--primary); padding-left: 8px; }
.social-grid { display: flex; gap: 15px; margin-top: 1.5rem; }
.social-link { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); background: rgba(0, 210, 255, 0.05); transition: var(--transition); }
.social-link:hover { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 0 25px var(--primary-glow); transform: translateY(-5px); }
