﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000000;
    /*  --s1: #0c0f1a;
    --s2: #111627;*/
    --s3: #161d30;
    --b1: #1a2138;
    --b2: #243050;
    --accent: #5b4ef5;
    /*--accent2: #7b6ff7;*/
    --accent2: #6c4aff;
    --accentr: #ff3d5a;
    --gold: #ffb800;
    --text: #c8d3f0;
    --muted: #4d5a7c;
    --muted2: #8896bb;
    --glow: rgba(41, 121, 255, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--b2);
    border-radius: 2px;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    background: #07090f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: none !important;
}

/* NORMAL NAV */
.pl-nav {
    background: #07090f;
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: none !important;
    transition: background .35s ease, border-color .35s ease;
}

/* HOME DESKTOP ONLY */
.pl-nav-home {
    position: fixed;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none !important;
}

    /* HOME AFTER SCROLL */
    .pl-nav-home.nav-scrolled {
        background: #07090f;
        border-bottom: 1px solid rgba(255,255,255,.06);
        backdrop-filter: none !important;
        box-shadow: none;
    }

/* MOBILE — NEVER TRANSPARENT */
@media screen and (max-width: 1100px) {
    nav,
    .pl-nav,
    .pl-nav-home,
    .pl-nav-home.nav-scrolled {
       /* background: #07090f !important;*/
        border-bottom: 1px solid rgba(255,255,255,.06) !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

        nav.nav-open {
           /* background: #07090f !important;*/
        }

            nav.nav-open .nav-links {
                background: #07090f !important;
            }
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text);
}
/*

.nav-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: 0 0 20px var(--glow);
    flex-shrink: 0;
}*/

.nav-logo-mark {
    height: clamp(70px, 4vw, 40px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(91,78,245,.35));
}

.footer-logo .nav-logo-mark {
    width: auto;
    height: 62px;
}



.nav-logo-text {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.1em;
}

    .nav-logo-text span {
        color: var(--accent2);
    }

.nav-links {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    align-items: center;
}

    .nav-links a {
        color: var(--muted2);
        text-decoration: none;
        font-size: 0.78rem;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 0.45rem 0.85rem;
        border-radius: 8px;
        transition: all 0.18s;
    }

        .nav-links a:hover {
            color: #fff;
            background: rgba(41, 121, 255, 0.1);
        }

    .nav-links .dropdown {
        position: relative;
        cursor: pointer;
    }

.drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--s2);
    border: 1px solid var(--b1);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.18s;
}

.dropdown:hover .drop-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.drop-menu a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.78rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-login {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted2);
    background: none;
    border: 1px solid var(--b2);
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-login:hover {
        color: #fff;
        border-color: var(--accent);
    }

.btn-primary {
    font-family: "DM Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--accent), #1a6bff);
    color: #fff;
    border: none;
    padding: 0.5rem 1.3rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 18px var(--glow);
    transition: all 0.2s;
}

    .btn-primary:hover {
        box-shadow: 0 0 28px var(--glow);
        transform: translateY(-1px);
    }

.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--s3);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 0 10px var(--glow);
}

.mobile-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--b2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient( ellipse 120% 80% at 60% 50%, #0a1535 0%, #07090f 70% );
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(41, 121, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 121, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient( ellipse 80% 80% at 60% 50%, black 30%, transparent 80% );
}

.stars {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle var(--d, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.8;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(80px);
}

.orb1 {
    width: 600px;
    height: 600px;
    right: -100px;
    top: -50px;
    background: radial-gradient(rgba(41, 121, 255, 0.18), transparent 70%);
}

.orb2 {
    width: 400px;
    height: 400px;
    left: 20%;
    bottom: -100px;
    background: radial-gradient(rgba(0, 212, 255, 0.12), transparent 70%);
}

.orb3 {
    width: 300px;
    height: 300px;
    right: 30%;
    top: 30%;
    background: radial-gradient(rgba(255, 61, 90, 0.08), transparent 70%);
}

/* PHONE MOCKUP */
.phone-wrap {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 280px;
    animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(-50%) rotate(-2deg);
    }

    50% {
        transform: translateY(calc(-50% - 16px)) rotate(2deg);
    }
}

/*@media screen and (max-width: 1100px) {*/
    /* neutralize hover-based dropdown behavior on touch/mobile */
    /*.dropdown:hover .drop-menu {
        display: none;
        opacity: 0;
        pointer-events: none;
    }*/

    /* JS-driven state always wins, regardless of stuck :hover */
    /*.dropdown.drop-open .drop-menu {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}*/

/* DESKTOP: drawer wrapper doesn't affect layout */
.nav-drawer {
    display: contents;
}

@media screen and (max-width: 1100px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: grid;
    }

    /* OFF-CANVAS DRAWER — becomes a real box only on mobile */
    .nav-drawer {
        display: flex;
        flex-direction: column;
        gap: -0.5rem;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(339px, 82vw);
        background: #07090f;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        padding: 5.5rem 1.2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 400;
        overflow-y: auto;
    }

    nav.nav-open .nav-drawer {
        transform: translateX(0);
    }

    nav.nav-open .nav-links,
    nav.nav-open .nav-right {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        width: 100%;
    }

    /* dropdown must render inline, not absolute, inside the scrollable drawer */
    .dropdown {
        position: static;
    }

    nav.nav-open .dropdown:hover .drop-menu,
    .dropdown:hover .drop-menu {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    nav.nav-open .dropdown.drop-open .drop-menu,
    .dropdown.drop-open .drop-menu {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: static !important;
        transform: none !important;
        margin-top: 0.4rem;
        width: 100%;
    }

    /* dark overlay behind drawer */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 350;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    nav.nav-open ~ .nav-overlay,
    body.nav-locked .nav-overlay {
        display: block;
        opacity: 1;
    }
}

/*@media screen and (max-width: 1100px) {*/
    /* neutralize stuck :hover state on touch devices — match specificity of the original rule */
    /*nav.nav-open .dropdown:hover .drop-menu,
    .dropdown:hover .drop-menu {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }*/

    /* JS-driven open state always wins */
    /*nav.nav-open .dropdown.drop-open .drop-menu,
    .dropdown.drop-open .drop-menu {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static;
        margin-top: 0.4rem;
    }
}*/

.phone-frame {
    width: 100%;
    aspect-ratio: 9/19;
    border-radius: 36px;
    background: linear-gradient(145deg, #1a2545, #0d1428);
    border: 2px solid rgba(41, 121, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(41, 121, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    inset: 0;
    padding: 28px 12px 16px;
    background: linear-gradient(180deg, #0c1528 0%, #07090f 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.phone-logo-sm {
    font-family: "Bebas Neue", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--accent2);
}

.phone-avatar-sm {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 1.5px solid var(--accent2);
}

.phone-hero-banner {
    border-radius: 10px;
    height: 90px;
    background: linear-gradient( 135deg, rgba(41, 121, 255, 0.3), rgba(0, 212, 255, 0.15) );
    border: 1px solid rgba(41, 121, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

    .phone-hero-banner::before {
        content: "PLAYFEST";
        position: absolute;
        top: -4px;
        right: 6px;
        font-family: "Bebas Neue", sans-serif;
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.06);
        letter-spacing: 0.05em;
    }

.ph-tag {
    font-size: 0.45rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(41, 121, 255, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 3px;
}

.ph-title {
    font-family: "Syne", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.phone-section-title {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted2);
    margin-top: 2px;
}

.phone-game-row {
    display: flex;
    gap: 6px;
}

.phone-game-card {
    flex: 1;
    border-radius: 8px;
    height: 54px;
    border: 1px solid var(--b1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 5px;
    position: relative;
    overflow: hidden;
    font-size: 0.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pgc1 {
    background: linear-gradient(135deg, #1a0a2e, #0d1428);
}

.pgc2 {
    background: linear-gradient(135deg, #0a1a1a, #0d1428);
}

.pgc3 {
    background: linear-gradient(135deg, #1a0a0a, #0d1428);
}

.phone-stats-row {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.phone-stat {
    flex: 1;
    background: var(--s2);
    border: 1px solid var(--b1);
    border-radius: 6px;
    padding: 5px;
    text-align: center;
}

.phone-stat-val {
    font-family: "Bebas Neue", sans-serif;
    font-size: 0.85rem;
    color: var(--accent2);
    display: block;
}

.phone-stat-lbl {
    font-size: 0.38rem;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    z-index: 4;
    pointer-events: none;
    background: radial-gradient( ellipse 60% 70% at 50% 50%, rgba(41, 121, 255, 0.15), transparent 70% );
}

/* HERO TEXT */
.hero-content {
    position: relative;
    z-index: 6;
    padding: 0 3rem;
    max-width: 620px;
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent2);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero-h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(3.5rem, 6.5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

    .hero-h1 .line1 {
        display: block;
        color: #fff;
    }

    .hero-h1 .line2 {
        display: block;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 30px rgba(41, 121, 255, 0.5));
    }

    .hero-h1 .line3 {
        display: block;
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(200, 211, 240, 0.25);
    }

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    box-shadow: 0 4px 30px var(--glow);
    transition: all 0.25s;
}

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 40px var(--glow);
    }

.btn-hero-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--b2);
    transition: all 0.2s;
}

    .btn-hero-secondary:hover {
        border-color: var(--accent2);
        color: var(--accent2);
    }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.h-stat-val {
    font-family: "Syne", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.h-stat-lbl {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 0.15rem;
}

.h-stat-div {
    width: 1px;
    background: var(--b1);
    align-self: stretch;
}

/* SECTION COMMON */
section {
    padding: 6rem 3rem;
    position: relative;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .section-tag::before {
        content: "";
        width: 24px;
        height: 1px;
        background: var(--accent2);
    }

.section-h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.8rem;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--muted2);
    line-height: 1.7;
    max-width: 480px;
    font-weight: 300;
}

/* GAMES */
.games-section {
    background: var(--s1);
}

    .games-section::before,
    .featured-section::before,
    .lb-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--b2), transparent);
    }

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.game-card {
    background: var(--s2);
    /*border: 1px solid var(--b1);*/
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

    .game-card:hover {
       
        transform: translateY(-6px);
        
    }

.game-card-art {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card:nth-child(1) .game-card-art {
    background: linear-gradient(145deg, #1a0030, #0d0020, #200040);
}

.game-card:nth-child(2) .game-card-art {
    background: linear-gradient(145deg, #001a12, #0d2018, #003020);
}

.game-card:nth-child(3) .game-card-art {
    background: linear-gradient(145deg, #1a0a00, #201000, #2a1500);
}

.game-card:nth-child(4) .game-card-art {
    background: linear-gradient(145deg, #00101a, #001828, #002035);
}

.game-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s;
}

.game-card:hover .game-icon {
    transform: scale(1.15);
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.badge-live {
    background: rgba(255, 61, 90, 0.2);
    color: #ff8099;
    border: 1px solid rgba(255, 61, 90, 0.3);
}

.badge-new {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent2);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.badge-hot {
    background: rgba(255, 184, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 184, 0, 0.25);
}

.game-card-body {
    padding: 1.2rem;
}

.game-title {
    font-family: "Syne", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.game-desc {
    font-size: 0.8rem;
    color: var(--muted2);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-meta-item {
    text-align: center;
}

.game-meta-val {
    font-family: "Syne", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent2);
    display: block;
}

.game-meta-lbl {
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.game-divider {
    width: 1px;
    height: 28px;
    background: var(--b1);
}

.game-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(41, 121, 255, 0.1);
    border: 1px solid rgba(41, 121, 255, 0.2);
    display: grid;
    place-items: center;
    color: var(--accent);
    transition: all 0.2s;
}

.game-card:hover .game-arrow {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 14px var(--glow);
}

/* FEATURED */
.featured-section {
    overflow: hidden;
}

.featured-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: center;
}

.featured-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--b2);
    position: relative;
    background: var(--s2);
}

.featured-banner {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1a30, #061228);
    display: flex;
    align-items: flex-end;
}

.featured-bg-text {
    position: absolute;
    bottom: -10px;
    left: -10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 0.05em;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.featured-org-logo {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.featured-org-name {
    position: absolute;
    top: 1.7rem;
    left: calc(1.5rem + 68px);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.featured-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient( 90deg, rgba(41, 121, 255, 0.04) 0px, rgba(41, 121, 255, 0.04) 1px, transparent 1px, transparent 80px );
}

.featured-banner-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.featured-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.featured-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 40px rgba(41, 121, 255, 0.5);
}

.featured-body {
    padding: 1.5rem;
}

.featured-desc {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.7;
    margin-bottom: 1.4rem;
    font-weight: 300;
}

.featured-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.pill {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.pill-date {
    background: rgba(255, 184, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.pill-prize {
    background: rgba(41, 121, 255, 0.1);
    color: var(--accent2);
    border: 1px solid rgba(41, 121, 255, 0.2);
}

.pill-game {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted2);
    border: 1px solid var(--b2);
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.65rem 1.6rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px var(--glow);
    transition: all 0.25s;
}

    .featured-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px var(--glow);
    }

.featured-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aside-card {
    background: var(--s2);
    border: 1px solid var(--b1);
    border-radius: 14px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .aside-card:hover {
        border-color: var(--accent);
        background: var(--s3);
    }

.aside-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.ai1 {
    background: linear-gradient(135deg, #1a0030, #200040);
}

.ai2 {
    background: linear-gradient(135deg, #001a12, #003020);
}

.ai3 {
    background: linear-gradient(135deg, #1a0a00, #2a1500);
}

.aside-info {
    flex: 1;
    min-width: 0;
}

.aside-name {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aside-meta {
    font-size: 0.75rem;
    color: var(--muted2);
    margin-top: 0.2rem;
}

.aside-prize {
    font-family: "Syne", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

/* LEADERBOARD */
.lb-section {
    background: var(--s1);
}

.lb-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lb-table {
    background: var(--s2);
    border: 1px solid var(--b1);
    border-radius: 16px;
    overflow: hidden;
}

.lb-thead {
    background: var(--s3);
    padding: 0.8rem 1.2rem;
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--b1);
}

.lb-row {
    padding: 0.85rem 1.2rem;
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px;
    gap: 0.5rem;
    align-items: center;
    border-bottom: 1px solid var(--b1);
    transition: background 0.15s;
    cursor: pointer;
}

    .lb-row:last-child {
        border-bottom: none;
    }

    .lb-row:hover {
        background: var(--s3);
    }

    .lb-row.top1 {
        background: linear-gradient( 90deg, rgba(255, 184, 0, 0.07), transparent );
    }

    .lb-row.top2 {
        background: linear-gradient( 90deg, rgba(200, 200, 200, 0.04), transparent );
    }

    .lb-row.top3 {
        background: linear-gradient( 90deg, rgba(205, 127, 50, 0.04), transparent );
    }

.lb-rank {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
}

.rank1 {
    color: var(--gold);
}

.rank2 {
    color: #c0c0c0;
}

.rank3 {
    color: #cd7f32;
}

.rank-other {
    color: var(--muted);
}

.lb-player {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lb-av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--s3);
    border: 1.5px solid var(--b2);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.lb-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.lb-game-tag {
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.lb-pts {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent2);
    text-align: right;
}

.lb-wins {
    font-size: 0.85rem;
    color: var(--muted2);
    text-align: right;
}

/* CTA */
.cta-strip {
    background: linear-gradient(90deg, var(--s1), var(--s2));
    border-top: 1px solid var(--b1);
    border-bottom: 1px solid var(--b1);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-strip::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( ellipse 60% 100% at 50% 50%, rgba(41, 121, 255, 0.06), transparent );
    }

.cta-strip-inner {
    position: relative;
    z-index: 1;
}

.cta-strip h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 0.8rem;
}

.cta-strip p {
    font-size: 1rem;
    color: var(--muted2);
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-strip-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    background: var(--s1);
    border-top: 1px solid var(--b1);
    padding: 4rem 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--muted2);
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    max-width: 240px;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.soc-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--s2);
    border: 1px solid var(--b1);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--muted2);
    text-decoration: none;
}
    .soc-btn svg {
        width: 16px;
        height: 16px;
    }

    .soc-btn:hover {
        border-color: var(--accent);
        background: rgba(41, 121, 255, 0.1);
        color: var(--accent2);
    }

.footer-col h4 {
    font-family: "Syne", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--muted2);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 300;
}

    .footer-col a:hover {
        color: var(--accent2);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--b1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

    .footer-legal a {
        font-size: 0.78rem;
        color: var(--muted);
        text-decoration: none;
        transition: color 0.15s;
    }

        .footer-legal a:hover {
            color: var(--accent2);
        }

/* UTILS */
.view-all {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

    .view-all:hover {
        background: rgba(0, 212, 255, 0.15);
        box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
    }

svg.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    nav {
        padding: 0 1.2rem;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: grid;
    }

    nav.nav-open {
        height: auto;
        align-items: flex-start;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        flex-wrap: wrap;
    }

        nav.nav-open .nav-links {
            display: flex;
            width: 100%;
            order: 5;
            flex-direction: column;
            gap: 0.25rem;
            padding-top: 1rem;
        }

            nav.nav-open .nav-links li,
            nav.nav-open .nav-links a {
                width: 100%;
            }

            nav.nav-open .nav-links a {
                display: flex;
                justify-content: space-between;
                padding: 0.85rem 1rem;
                background: rgba(255, 255, 255, 0.035);
                border: 1px solid rgba(255, 255, 255, 0.055);
            }

        nav.nav-open .drop-menu {
            position: static;
            opacity: 1;
            pointer-events: auto;
            transform: none;
            margin-top: 0.4rem;
            display: none;
        }

        nav.nav-open .dropdown:hover .drop-menu {
            display: block;
        }

    .dropdown.drop-open .drop-menu {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
        display: block;
    }

    .hero {
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 4rem;
        align-items: flex-start;
    }

    .hero-content {
        padding: 0 1.4rem;
        max-width: 620px;
    }

    .phone-wrap {
        right: 2rem;
        width: 230px;
        opacity: 0.85;
    }

    section {
        padding: 4.5rem 1.4rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-inner,
    .lb-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .featured-aside {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

        .featured-aside > div:first-child,
        .featured-aside .view-all {
            grid-column: 1 / -1;
        }
}

@media (max-width: 760px) {
    body {
        background: #07090f;
    }

    nav {
        padding: 0 0.9rem;
    }

    .nav-logo-text {
        font-size: 1.2rem;
    }

    .nav-logo-mark {
        height: 62px;
        width: auto;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
        display: block;
    }

    .hero-grid {
        background-size: 48px 48px;
    }

    .orb1,
    .orb2,
    .orb3 {
        filter: blur(65px);
        opacity: 0.7;
    }

    .phone-wrap {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: min(250px, 72vw);
        margin: 3rem auto 0;
        animation: none;
    }

    .phone-glow {
        inset: -25px;
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-eyebrow {
        font-size: 0.62rem;
        padding: 0.32rem 0.8rem;
        margin-bottom: 1.1rem;
    }

    .hero-h1 {
        font-size: clamp(3.2rem, 18vw, 5rem);
        line-height: 0.9;
        margin-bottom: 1rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.65;
        max-width: 100%;
        margin-bottom: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        margin-top: 2rem;
    }

    .h-stat {
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid var(--b1);
        border-radius: 12px;
        padding: 0.85rem 0.55rem;
        text-align: center;
    }

    .h-stat-div {
        display: none;
    }

    .h-stat-val {
        font-size: 1.25rem;
    }

    .h-stat-lbl {
        font-size: 0.55rem;
    }

    section {
        padding: 3.8rem 1rem;
    }

    .games-header {
        margin-bottom: 1.8rem;
    }

    .section-h2 {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .section-sub {
        font-size: 0.9rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-card-art {
        height: 170px;
    }

    .game-card-body {
        padding: 1rem;
    }

    .game-meta {
        gap: 0.8rem;
    }

    .featured-inner {
        gap: 1.4rem;
    }

    .featured-banner {
        height: 220px;
    }

    .featured-bg-text {
        font-size: 5.5rem;
    }

    .featured-org-logo {
        width: 46px;
        height: 46px;
    }

    .featured-org-name {
        left: calc(1.5rem + 56px);
    }

    .featured-title {
        font-size: 1.65rem;
    }

    .featured-body {
        padding: 1.1rem;
    }

    .featured-pills {
        gap: 0.4rem;
    }

    .pill {
        font-size: 0.62rem;
    }

    .featured-cta {
        width: 100%;
        justify-content: center;
    }

    .featured-aside {
        grid-template-columns: 1fr;
    }

    .aside-card {
        padding: 1rem;
    }

    .aside-prize {
        font-size: 0.82rem;
    }

    .lb-inner {
        gap: 1.8rem;
    }

    .lb-table {
        overflow-x: auto;
    }

    .lb-thead,
    .lb-row {
        grid-template-columns: 32px minmax(150px, 1fr) 70px 60px;
        min-width: 430px;
        padding: 0.75rem 0.85rem;
    }

    .lb-name {
        font-size: 0.82rem;
    }

    .lb-av {
        width: 28px;
        height: 28px;
    }

    .cta-strip {
        padding: 3rem 1rem;
    }

        .cta-strip h2 {
            font-size: clamp(2.1rem, 12vw, 3rem);
        }

    .cta-strip-actions {
        flex-direction: column;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.7rem;
    }
}

@media (max-width: 430px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .h-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .phone-wrap {
        width: 82vw;
    }

    .game-card-art {
        height: 150px;
    }

    .featured-banner {
        height: 190px;
    }

    .aside-card {
        align-items: flex-start;
    }

    .aside-prize {
        align-self: center;
    }
}
/* HERO V2 */
.hero-v2 {
    min-height: 100vh;
    padding: 8rem 3rem 5rem;
    display: flex;
    align-items: center;
}

.hero-v2-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=1800&auto=format&fit=crop") center / cover no-repeat;
    z-index: 0;
}

.hero-v2-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(7, 9, 15, 0.98) 0%, rgba(7, 9, 15, 0.88) 42%, rgba(7, 9, 15, 0.55) 100% ), linear-gradient( to top, #07090f 0%, rgba(7, 9, 15, 0.15) 45%, rgba(7, 9, 15, 0.55) 100% );
}

.hero-v2-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 3rem;
    align-items: center;
}

.hero-v2-copy {
    max-width: 680px;
}

.hero-v2-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0.035em;
    color: #fff;
    margin-bottom: 1.3rem;
}

    .hero-v2-title span {
        display: block;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 26px rgba(41, 121, 255, 0.45));
    }

.hero-event-card {
    background: rgba(12, 15, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
}

.hero-event-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

    .hero-event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-event-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(7, 9, 15, 0.9), transparent);
    }

.hero-event-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.26);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.hero-event-body {
    padding: 1.25rem;
}

    .hero-event-body h3 {
        font-family: "Syne", sans-serif;
        font-size: 1.25rem;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .hero-event-body p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--muted2);
        margin-bottom: 1rem;
    }

.hero-event-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-bottom: 1rem;
}

    .hero-event-meta span {
        text-align: center;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--b1);
        border-radius: 10px;
        padding: 0.55rem 0.35rem;
        font-size: 0.72rem;
        color: var(--text);
        font-weight: 700;
    }

.hero-event-btn {
    width: 100%;
}

/* IMAGE GAME CARDS */
.games-grid-image {
    align-items: stretch;
}

.game-card-img .game-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

    .game-card-img .game-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

    .game-card-img .game-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(7, 9, 15, 0.92), rgba(7, 9, 15, 0.08)), linear-gradient(90deg, rgba(41, 121, 255, 0.18), transparent);
    }

.game-card-img:hover .game-img img {
    transform: scale(1.08);
}

.game-card-img .game-badge {
    z-index: 2;
}

/* RESPONSIVE HERO/GAMES */
@media (max-width: 1100px) {
    .hero-v2 {
        padding: 7rem 1.4rem 4rem;
    }

    .hero-v2-inner {
        grid-template-columns: 1fr;
    }

    .hero-event-card {
        max-width: 520px;
    }
}

@media (max-width: 760px) {
    .hero-v2 {
        min-height: auto;
        padding: 6rem 1rem 3rem;
    }

    .hero-v2-overlay {
        background: linear-gradient( to bottom, rgba(7, 9, 15, 0.92), rgba(7, 9, 15, 0.98) ), linear-gradient(to top, #07090f, transparent);
    }

    .hero-v2-title {
        font-size: clamp(3.3rem, 17vw, 5.2rem);
    }

    .hero-event-card {
        margin-top: 1.5rem;
    }

    .hero-event-image {
        height: 210px;
    }

    .hero-event-meta {
        grid-template-columns: 1fr;
    }

    .game-card-img .game-img {
        height: 190px;
    }
}

@media (max-width: 430px) {
    .hero-event-image {
        height: 180px;
    }

    .game-card-img .game-img {
        height: 170px;
    }
}
/* ===============================
   GLOBAL SPACING REFINEMENT
   (keeps hero untouched)
================================ */

/* tighten all non-hero sections */
.games-section,
.featured-section,
.lb-section,
.cta-strip,
footer {
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

/* reduce default section breathing */
.games-section,
.featured-section,
.lb-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

/* headers too stretched */
.games-header,
.lb-inner,
.featured-inner {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* tighten section header spacing */
.games-header {
    margin-bottom: 2rem;
}

.section-sub {
    max-width: 420px;
}

/* game grid spacing */
.games-grid {
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
}

/* featured spacing */
.featured-inner {
    gap: 1.5rem;
}

.featured-body {
    padding: 1.15rem;
}

.featured-aside {
    gap: 0.8rem;
}

/* leaderboard spacing */
.lb-inner {
    gap: 1.75rem;
}

.lb-table {
    max-width: 100%;
}

/* CTA strip tighter */
.cta-strip {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

    .cta-strip p {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

/* FOOTER FIX */
footer {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto 2rem;
    gap: 1.75rem;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
}

.footer-brand p {
    max-width: 220px;
    margin: 0.85rem 0 1.2rem;
}

.footer-col ul {
    gap: 0.55rem;
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 1.25rem;
}

/* reduce giant spacing on tablet too */
@media (max-width: 1100px) {
    .featured-inner,
    .lb-inner,
    .footer-grid {
        gap: 1.25rem;
    }

    .footer-grid {
        margin-bottom: 1.5rem;
    }
}

/* tighter mobile spacing */
@media (max-width: 760px) {
    .games-section,
    .featured-section,
    .lb-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .games-header {
        margin-bottom: 1.4rem;
    }

    .featured-inner,
    .lb-inner {
        gap: 1.15rem;
    }

    .footer-grid {
        gap: 1.4rem;
        margin-bottom: 1.4rem;
    }

    .footer-brand p {
        max-width: 100%;
    }
}
/* SAFE RESPONSIVE FIX */

@media screen and (max-width: 1100px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: grid;
    }

    nav.nav-open {
        height: auto;
        align-items: flex-start;
        flex-wrap: wrap;
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

        nav.nav-open .nav-links {
            display: flex;
            width: 100%;
            flex-direction: column;
            gap: .35rem;
            padding-top: 1rem;
        }

            nav.nav-open .nav-links a {
                display: block;
                width: 100%;
                padding: .9rem 1rem;
                background: rgba(255,255,255,.04);
                border: 1px solid rgba(255,255,255,.06);
            }

    .hero-v2 {
        min-height: auto;
        padding: 7rem 1.2rem 4rem;
    }

    .hero-v2-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-event-card {
        max-width: 560px;
        width: 100%;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-inner,
    .lb-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .featured-aside {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 760px) {
    nav {
        padding: 0 1.2rem;
    }

    .nav-logo-text {
        font-size: 1.15rem;
    }

    .hero-v2 {
        padding: 6rem 1rem 3rem;
    }

    .hero-v2-title {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .h-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .85rem;
        border-radius: 12px;
        background: rgba(255,255,255,.04);
        border: 1px solid var(--b1);
    }

    .h-stat-div {
        display: none;
    }

    .hero-event-image {
        height: 190px;
    }

    .hero-event-meta {
        grid-template-columns: 1fr;
    }

    section,
    .games-section,
    .featured-section,
    .lb-section {
        padding: 3.25rem 1rem;
    }

    .games-header {
        display: block;
    }

        .games-header .view-all {
            margin-top: 1rem;
        }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card-img .game-img,
    .game-card-art {
        height: 175px;
    }

    .featured-aside {
        grid-template-columns: 1fr;
    }

    .featured-banner {
        height: 200px;
    }

    .featured-cta {
        width: 100%;
        justify-content: center;
    }

    .lb-table {
        overflow-x: auto;
    }

    .lb-thead,
    .lb-row {
        min-width: 420px;
    }

    .cta-strip-actions {
        flex-direction: column;
    }

    footer {
        padding: 2.5rem 1rem 1.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .footer-bottom,
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 430px) {
    .hero-v2-title {
        font-size: clamp(2.8rem, 18vw, 4.4rem);
    }

    .hero-event-image {
        height: 170px;
    }

    .game-card-img .game-img,
    .game-card-art {
        height: 155px;
    }
}
/* ===============================
   MOBILE DRAWER REDESIGN
================================ */

/* Hide drawer-only chrome on desktop (since .nav-drawer uses display:contents there) */
.drawer-header,
.drawer-footer {
    display: none;
}

@media screen and (max-width: 1100px) {
    .nav-drawer {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.4rem 1.2rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-shrink: 0;
    }

    .drawer-close {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: var(--accent2);
        display: grid;
        place-items: center;
        cursor: pointer;
    }

        .drawer-close svg {
            width: 18px;
            height: 18px;
        }

    /* Beat the old "SAFE RESPONSIVE FIX" nav.nav-open .nav-links a rule with higher specificity */
    nav.nav-open .nav-drawer .nav-links {
        display: flex;
        flex: 1;
        overflow-y: auto;
        padding: 1rem 1.1rem;
        gap: -0.4rem;
        width: 100%;
    }

        nav.nav-open .nav-drawer .nav-links a {
            display: flex !important;
            align-items: center;
            gap: 0.8rem;
            padding: 0.85rem 0.9rem !important;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.06) !important;
            justify-content: flex-start !important;
        }

    .nav-link-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        background: rgba(91, 78, 245, 0.14);
        color: var(--accent2);
    }

        .nav-link-icon svg {
            width: 17px;
            height: 17px;
        }

    .nav-link-text {
        flex: 1;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--text);
        text-transform: none;
        letter-spacing: 0.02em;
    }

    .nav-link-chev {
        color: var(--muted);
        display: grid;
        place-items: center;
        flex-shrink: 0;
    }

        .nav-link-chev svg {
            width: 16px;
            height: 16px;
        }

    .dropdown.drop-open > .dropdown-toggle .chev-down {
        transform: rotate(180deg);
        transition: transform 0.2s ease;
    }

    nav.nav-open .nav-drawer .dropdown .drop-menu {
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.015);
        border-radius: 14px;
    }

        nav.nav-open .nav-drawer .dropdown .drop-menu a {
            padding: 0.75rem 0.9rem !important;
            margin-bottom: 0.35rem;
            font-size: 0.8rem;
            color: var(--muted2);
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.05) !important;
            border-radius: 10px;
        }

            nav.nav-open .nav-drawer .dropdown .drop-menu a:last-child {
                margin-bottom: 0;
            }

    .drawer-footer {
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        gap: 0.7rem;
        padding: 1rem 1.2rem 1.6rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .btn-login-full {
        width: 100%;
        text-align: center;
        background: linear-gradient(90deg, var(--accent), #1a6bff);
        color: #fff;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 0.9rem;
        border-radius: 999px;
        text-decoration: none;
        box-shadow: 0 4px 24px var(--glow);
    }

    .btn-signup-outline {
        width: 100%;
        text-align: center;
        color: var(--muted2);
        border: 1px solid var(--b2);
        font-size: 0.82rem;
        font-weight: 500;
        padding: 0.85rem;
        border-radius: 999px;
        text-decoration: none;
    }
}

/* Icons/chevrons are drawer-only decoration for mobile — off by default (desktop) */
.nav-link-icon,
.nav-link-chev {
    display: none;
}

/* drawer-header (logo + close btn) is mobile-only */
.drawer-header {
    display: none;
}

@media screen and (max-width: 1100px) {
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.4rem 1.2rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-shrink: 0;
    }

    .nav-link-icon {
        display: grid;
        width: 34px;
        height: 34px;
        border-radius: 9px;
        place-items: center;
        flex-shrink: 0;
        background: rgba(91, 78, 245, 0.14);
        color: var(--accent2);
    }

        .nav-link-icon svg {
            width: 17px;
            height: 17px;
        }

    .nav-link-chev {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        color: var(--muted);
    }

        .nav-link-chev svg {
            width: 16px;
            height: 16px;
        }

    /* Make nav-right look like a full-width footer on mobile, without a second div */
    nav.nav-open .nav-drawer .nav-right {
        margin-top: auto;
        padding: 1rem 1.2rem 1.6rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

        nav.nav-open .nav-drawer .nav-right .btn-login,
        nav.nav-open .nav-drawer .nav-right .btn-primary {
            width: 100%;
            text-align: center;
            justify-content: center;
            padding: 0.9rem;
            border-radius: 999px;
        }
}

@media screen and (max-width: 1100px) {
    /* Fix stacking: open nav must sit above the overlay, not under it */
    nav.nav-open {
        z-index: 500;
    }

        /* Force correct vertical order regardless of legacy "order:5" rules elsewhere */
        nav.nav-open .nav-drawer .nav-links {
            order: 2 !important;
        }

        nav.nav-open .nav-drawer .nav-right {
            order: 3 !important;
            margin-top: 1.4rem;
            padding-top: 1.2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
            width: 100%;
        }

            nav.nav-open .nav-drawer .nav-right .btn-login,
            nav.nav-open .nav-drawer .nav-right .btn-primary {
                width: 100%;
                text-align: center;
                justify-content: center;
                padding: 0.9rem;
                border-radius: 999px;
                font-size: 0.85rem;
            }

            nav.nav-open .nav-drawer .nav-right .btn-primary {
                order: -1; /* Sign Up above Login for emphasis, remove this line if you'd rather keep Login first */
            }
}

@media screen and (max-width: 1100px) {
    nav.nav-open .nav-drawer .nav-links {
        order: 2 !important;
    }

    nav.nav-open .nav-drawer .nav-right {
        order: 3 !important;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
    }

        nav.nav-open .nav-drawer .nav-right .btn-login,
        nav.nav-open .nav-drawer .nav-right .btn-primary {
            width: 100%;
            text-align: center;
            justify-content: center;
            padding: 0.9rem;
            border-radius: 999px;
            font-size: 0.85rem;
        }
}
.toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(92vw, 380px);
    pointer-events: none;
}

.app-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 40px 14px 14px;
    border-radius: 14px;
    background: #0e1018;
    border: 1px solid var(--b1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(24px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

    .app-toast.show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .app-toast.hide {
        opacity: 0;
        transform: translateX(16px) scale(0.97);
    }

.app-toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
}

    .app-toast-icon svg {
        width: 17px;
        height: 17px;
    }

.app-toast.success .app-toast-icon {
    background: rgba(34, 197, 94, 0.14);
    color: var(--accent-green, #22c55e);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.app-toast.error .app-toast-icon {
    background: rgba(255, 61, 90, 0.14);
    color: var(--accentr);
    border: 1px solid rgba(255, 61, 90, 0.28);
}

.app-toast.info .app-toast-icon {
    background: rgba(91, 78, 245, 0.16);
    color: var(--accent2);
    border: 1px solid rgba(91, 78, 245, 0.3);
}

.app-toast-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .app-toast-body strong {
        font-family: "DM Sans", sans-serif;
        font-size: 0.86rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
    }

    .app-toast-body span {
        font-size: 0.8rem;
        color: var(--muted2);
        line-height: 1.45;
    }

.app-toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

    .app-toast-close:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

    .app-toast-close svg {
        width: 13px;
        height: 13px;
    }

.app-toast-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2.5px;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform linear;
}

.app-toast.success .app-toast-bar {
    background: var(--accent-green, #22c55e);
}

.app-toast.error .app-toast-bar {
    background: var(--accentr);
}

.app-toast.info .app-toast-bar {
    background: var(--accent2);
}

@media (max-width: 480px) {
    .toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
/*@media screen and (max-width: 760px) {
    nav {
        min-height: 52px;*/ /* was 64px — ~80% */
    /*}

    .nav-logo-mark {
        width: 29px;*/  /* was 36px */
        /*height: 29px;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .nav-logo-text {
        font-size: 1.16rem;*/ /* was 1.45rem */
    /*}

    .mobile-toggle {
        width: 34px;*/  /* was 42px */
        /*height: 34px;
        border-radius: 8px;
    }

    .toggle-bar {
        width: 16px;*/  /* was 20px */
    /*}

    nav.nav-open .mobile-toggle .toggle-bar:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);*/ /* scaled from 7px */
    /*}

    nav.nav-open .mobile-toggle .toggle-bar:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }
}*/