/* =========================================
   NeonArena – header.css
   Navigation Bar & Age Gate
   ========================================= */

/* ── NAV SHELL ── */
.nav-shell {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--edge);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: .85rem 1.2rem;
    gap: 1rem;
}

.brand-link {
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.5px;
    white-space: nowrap;
}

.top-menu {
    display: flex;
    list-style: none;
    gap: .2rem;
    flex-wrap: wrap;
}

.top-menu a {
    display: block;
    padding: .45rem .9rem;
    border-radius: .6rem;
    text-decoration: none;
    font-weight: 600;
    font-size: .93rem;
    color: var(--text);
    transition: background .2s, color .2s;
}

.top-menu a:hover {
    background: var(--green-dim);
    color: var(--green);
}

/* Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: .4rem;
}
.burger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: .25s;
}

@media (max-width: 680px) {
    .burger-btn { display: flex; }
    .top-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--edge);
        padding: .8rem 1rem;
    }
    .top-menu.open { display: flex; }
}

@media (max-width: 425px) {
    nav {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }
    .brand-link {
        font-size: 1rem;
    }
}

/* ── AGE GATE ── */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,8,20,.96);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gate-dialog {
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: 1.4rem;
    box-shadow: 0 0 60px rgba(0,255,136,.12);
    max-width: 520px;
    width: 100%;
    padding: 2.8rem 2.4rem;
    text-align: center;
}

.gate-badge {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    border-radius: .7rem;
    padding: .2rem 1rem;
    margin-bottom: 1.4rem;
    letter-spacing: .05em;
}

.gate-heading {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 1rem;
}

.gate-desc {
    color: var(--muted);
    font-size: .97rem;
    margin-bottom: .8rem;
    line-height: 1.7;
}

.gate-btns {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin: 1.6rem 0 1rem;
}

.gate-btn {
    padding: .85rem 1.6rem;
    border: none;
    border-radius: .8rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.gate-btn:active { transform: scale(.97); }

.gate-btn-yes {
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: var(--deep);
}
.gate-btn-no {
    background: transparent;
    border: 1.5px solid var(--orange);
    color: var(--orange);
}
.gate-btn:hover { opacity: .88; }

.gate-note {
    font-size: .82rem;
    color: var(--muted);
}

.gate-denied {
    text-align: center;
}
.gate-denied-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.gate-denied-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1rem;
}
.gate-denied-info {
    color: var(--muted);
    font-size: .97rem;
    margin-bottom: .7rem;
    line-height: 1.7;
}
