/* =========================================================
   GRAVITY SCIENCE QUIZ 2026
   PREMIUM RESPONSIVE STYLESHEET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --black:#05080d;
    --black-2:#080d14;
    --black-3:#0d141e;

    --lime:#dfff33;
    --lime-dark:#bde900;

    --white:#ffffff;
    --text:#e7ebf0;
    --muted:#8d99a8;
    --muted-2:#687483;

    --border:rgba(255,255,255,.09);

    --gold:#ffd84d;
    --silver:#d8dee7;
    --bronze:#dfa16e;

    --danger:#ef4444;
}


/* =========================================================
   BASE
========================================================= */

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(223,255,51,.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #05080d 0%,
            #060a10 100%
        );

    min-height:100vh;
    overflow-x:hidden;
}

img{
    max-width:100%;
}

button,
input,
textarea,
select{
    font-family:inherit;
}

.page{
    width:100%;
    max-width:1900px;
    margin:0 auto;
    padding:16px;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar{
    min-height:62px;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;

    padding:7px 18px;

    margin-bottom:16px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.055),
            rgba(223,255,51,.025),
            rgba(255,255,255,.045)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 10px 30px rgba(0,0,0,.16);
}


/* =========================================================
   TOP LOGOS
========================================================= */

.top-brand{
    display:flex;
    align-items:center;
    gap:14px;

    min-width:0;
}

.top-brand img{
    display:block;

    width:auto;
    height:auto;

    max-width:145px;
    max-height:38px;

    object-fit:contain;

    /*
       Important:
       Some supplied logo PNGs are dark/low contrast.
       Brightness + contrast makes them readable
       without changing the original brand colors too much.
    */
    filter:
        brightness(1.75)
        contrast(1.15)
        saturate(1.15);

    opacity:1;

    transition:
        filter .25s ease,
        transform .25s ease;
}


/* Gravity logo */

.top-brand img:first-child{
    max-width:125px;
}


/* Final Edge logo */

.top-brand img:last-child{
    max-width:145px;

    filter:
        brightness(1.7)
        contrast(1.2)
        saturate(1.35);
}


.top-brand img:hover{
    filter:
        brightness(1.95)
        contrast(1.2)
        saturate(1.25);

    transform:translateY(-1px);
}


.brand-divider{
    width:1px;
    height:31px;

    flex-shrink:0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,255,255,.3),
            transparent
        );
}


/* =========================================================
   TOP CENTER
========================================================= */

.top-event{
    font-size:12px;
    font-weight:900;

    letter-spacing:1.6px;

    color:#e4e8ed;

    white-space:nowrap;
}


/* =========================================================
   LIVE EVENT
========================================================= */

.top-live{
    justify-self:end;

    display:flex;
    align-items:center;
    gap:8px;

    padding:8px 12px;

    border-radius:999px;

    border:1px solid rgba(223,255,51,.28);

    background:rgba(223,255,51,.045);

    color:var(--lime);

    font-size:9px;
    font-weight:900;
    letter-spacing:1px;

    white-space:nowrap;
}

.live-dot{
    width:7px;
    height:7px;

    flex-shrink:0;

    border-radius:50%;

    background:var(--danger);

    box-shadow:
        0 0 0 3px rgba(239,68,68,.08),
        0 0 12px rgba(239,68,68,.8);

    animation:livePulse 1.8s infinite;
}

@keyframes livePulse{
    0%,100%{
        opacity:1;
    }

    50%{
        opacity:.45;
    }
}


/* =========================================================
   HERO
========================================================= */

.hero{
    position:relative;

    min-height:245px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    overflow:hidden;

    margin-bottom:18px;

    border:1px solid var(--border);
    border-radius:22px;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(223,255,51,.12),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #0b1119,
            #070b11
        );
}


/* decorative circle */

.hero::before{
    content:"";

    position:absolute;

    width:480px;
    height:480px;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    border-radius:50%;

    border:1px solid rgba(223,255,51,.07);

    pointer-events:none;
}


/* bottom line */

.hero::after{
    content:"";

    position:absolute;

    width:700px;
    max-width:80%;

    height:1px;

    left:50%;
    bottom:28px;

    transform:translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(223,255,51,.28),
            transparent
        );

    pointer-events:none;
}


.hero-content{
    position:relative;
    z-index:2;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    margin-bottom:10px;

    color:var(--lime);

    font-size:11px;
    font-weight:900;

    letter-spacing:2px;
}

.eyebrow span{
    width:32px;
    height:1px;

    background:var(--lime);

    opacity:.75;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1{
    font-family:'Oswald',sans-serif;

    font-size:92px;
    line-height:.82;

    letter-spacing:3px;

    color:#fff;

    text-shadow:
        0 4px 25px rgba(255,255,255,.06);
}


.hero-title{
    display:inline-block;

    margin-top:15px;

    padding:9px 30px;

    border-radius:8px;

    background:var(--lime);

    color:#080b0e;

    font-size:28px;
    font-weight:900;

    letter-spacing:.3px;

    box-shadow:
        0 10px 35px rgba(223,255,51,.12);
}

.hero-title strong{
    font-weight:900;
}


.hero-subtitle{
    margin-top:13px;

    color:#b5bec9;

    font-size:13px;
    font-weight:600;
}

.hero-subtitle b{
    color:var(--lime);

    margin:0 7px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.main-layout{
    display:grid;

    grid-template-columns:38% 62%;

    gap:18px;

    margin-bottom:18px;
}


/* =========================================================
   COMMON CARDS
========================================================= */

.join-card,
.leaderboard-card{
    overflow:hidden;

    border:1px solid var(--border);
    border-radius:22px;

    background:
        linear-gradient(
            180deg,
            #0a1018,
            #070b11
        );

    box-shadow:
        0 20px 50px rgba(0,0,0,.24);
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-head{
    display:flex;
    align-items:center;
    gap:13px;

    padding:18px 20px;

    border-bottom:1px solid var(--border);
}

.section-icon{
    width:42px;
    height:42px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    color:var(--lime);

    background:rgba(223,255,51,.08);

    border:1px solid rgba(223,255,51,.18);
}

.section-icon svg{
    width:21px;
}

.section-label{
    color:#7e8a99;

    font-size:9px;
    font-weight:900;

    letter-spacing:1.5px;
}

.section-head h2{
    margin-top:2px;

    color:#fff;

    font-size:22px;
}


/* =========================================================
   JOIN BODY
========================================================= */

.join-body{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:22px;

    align-items:center;

    padding:22px;
}


/* =========================================================
   QR AREA
========================================================= */

.qr-area{
    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;
}

.qr-frame{
    position:relative;

    width:224px;
    height:224px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:12px;

    border-radius:15px;

    background:#fff;

    box-shadow:
        0 0 0 5px rgba(223,255,51,.05),
        0 15px 35px rgba(0,0,0,.35);
}

.quiz-qr{
    width:100%;
    height:100%;

    display:block;

    object-fit:contain;
}


/* =========================================================
   QR CORNERS
========================================================= */

.qr-corner{
    position:absolute;

    width:22px;
    height:22px;

    z-index:3;

    border-color:var(--lime);
    border-style:solid;

    pointer-events:none;
}

.qr-corner.tl{
    top:-5px;
    left:-5px;

    border-width:3px 0 0 3px;
}

.qr-corner.tr{
    top:-5px;
    right:-5px;

    border-width:3px 3px 0 0;
}

.qr-corner.bl{
    bottom:-5px;
    left:-5px;

    border-width:0 0 3px 3px;
}

.qr-corner.br{
    right:-5px;
    bottom:-5px;

    border-width:0 3px 3px 0;
}


/* =========================================================
   SCAN LABEL
========================================================= */

.scan-label{
    display:flex;
    align-items:center;
    gap:9px;

    margin-top:15px;

    color:var(--lime);
}

.scan-label svg{
    width:20px;
}

.scan-label div{
    display:flex;
    flex-direction:column;
}

.scan-label strong{
    font-size:12px;
    letter-spacing:1px;
}

.scan-label small{
    margin-top:2px;

    color:#8e9aa8;

    font-size:10px;
}


/* =========================================================
   JOIN STEPS
========================================================= */

.join-steps{
    display:flex;
    flex-direction:column;

    gap:10px;
}

.step{
    display:flex;
    align-items:center;

    gap:12px;

    padding:12px;

    border:1px solid rgba(255,255,255,.06);
    border-radius:12px;

    background:rgba(255,255,255,.025);
}

.step.active{
    border-color:rgba(223,255,51,.22);

    background:rgba(223,255,51,.045);
}

.step-number{
    min-width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    color:var(--lime);

    background:#101720;

    border:1px solid rgba(223,255,51,.14);

    font-size:11px;
    font-weight:900;
}

.step h3{
    color:#fff;

    font-size:12px;
    font-weight:900;
}

.step p{
    margin-top:3px;

    color:#8995a3;

    font-size:10px;

    line-height:1.4;
}


/* =========================================================
   PARTICIPANT STRIP
========================================================= */

.participant-strip{
    min-height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    border-top:1px solid rgba(223,255,51,.1);

    background:
        linear-gradient(
            90deg,
            #0a3212,
            #123c18,
            #0a3212
        );
}

.participant-icon{
    width:35px;
    height:35px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:9px;

    color:var(--lime);

    background:rgba(223,255,51,.08);
}

.participant-icon svg{
    width:18px;
}

.participant-strip strong{
    margin-right:5px;

    color:var(--lime);

    font-size:24px;
}

.participant-strip span{
    color:#d4dccf;

    font-size:11px;
    font-weight:700;
}

.participant-live{
    margin-left:12px;

    padding:5px 8px;

    border-radius:999px;

    background:var(--lime);

    color:#0a100d;

    font-size:8px;
    font-weight:900;
}


/* =========================================================
   LEADERBOARD HEADER
========================================================= */

.leaderboard-head{
    min-height:82px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:16px 20px;

    border-bottom:1px solid var(--border);
}

.leader-title{
    display:flex;
    align-items:center;

    gap:12px;
}

.trophy-icon{
    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    color:var(--lime);

    background:rgba(223,255,51,.08);

    border:1px solid rgba(223,255,51,.16);
}

.trophy-icon svg{
    width:22px;
}

.leader-title span{
    color:#7e8998;

    font-size:9px;
    font-weight:900;

    letter-spacing:1.5px;
}

.leader-title h2{
    margin-top:3px;

    color:#fff;

    font-size:22px;
}

.live-badge{
    display:flex;
    align-items:center;

    gap:7px;

    padding:7px 11px;

    border:1px solid rgba(239,68,68,.25);
    border-radius:999px;

    background:rgba(239,68,68,.07);

    color:#fca5a5;

    font-size:9px;
    font-weight:900;
}

.live-badge span{
    width:6px;
    height:6px;

    border-radius:50%;

    background:#ef4444;
}


/* =========================================================
   LEADERBOARD TABLE
========================================================= */

.table-wrap{
    width:100%;

    overflow-x:auto;
}

.leaderboard-card table{
    width:100%;

    min-width:540px;

    border-collapse:collapse;
}

.leaderboard-card th{
    padding:12px 15px;

    text-align:left;

    background:#111923;

    color:#7f8a99;

    font-size:9px;
    font-weight:900;

    letter-spacing:1px;
}

.leaderboard-card td{
    padding:13px 15px;

    border-top:1px solid rgba(255,255,255,.045);

    color:#dde3ea;

    font-size:13px;
}

.leaderboard-card tbody tr{
    transition:background .2s ease;
}

.leaderboard-card tbody tr:hover{
    background:rgba(255,255,255,.025);
}

.leaderboard-card tbody tr.top-rank{
    background:rgba(223,255,51,.025);
}


/* =========================================================
   RANK
========================================================= */

.rank-number{
    display:flex;
    align-items:center;
}

.medal{
    width:31px;
    height:31px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:9px;

    font-size:11px;
    font-weight:900;
}

.medal.gold{
    color:var(--gold);

    background:rgba(255,216,77,.14);

    border:1px solid rgba(255,216,77,.25);
}

.medal.silver{
    color:var(--silver);

    background:rgba(203,213,225,.1);

    border:1px solid rgba(203,213,225,.2);
}

.medal.bronze{
    color:var(--bronze);

    background:rgba(217,147,87,.1);

    border:1px solid rgba(217,147,87,.2);
}

.normal-rank{
    padding-left:8px;

    color:#667282;

    font-weight:800;
}

.student-name{
    color:#fff !important;

    font-weight:800;
}

.student-class{
    color:#8e9aa8 !important;

    font-weight:600;
}

.student-score{
    color:var(--lime) !important;

    font-size:15px !important;
    font-weight:900;
}

.student-score small{
    color:#6f7b89;

    font-size:10px;
}

.student-time{
    color:#9da8b6 !important;

    font-family:monospace;

    font-weight:700;
}

.empty-row{
    height:180px;

    text-align:center !important;

    color:#667282 !important;
}

.empty-row svg{
    display:block;

    width:28px;

    margin:0 auto 10px;
}


/* =========================================================
   REWARDS
========================================================= */

.rewards-section{
    padding:28px;

    margin-bottom:18px;

    border:1px solid var(--border);
    border-radius:22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(223,255,51,.07),
            transparent 38%
        ),
        #080d14;
}

.rewards-header{
    margin-bottom:24px;

    text-align:center;
}

.eyebrow.small{
    margin-bottom:8px;

    font-size:9px;
}

.rewards-header h2{
    color:#fff;

    font-size:31px;
}

.rewards-header h2 span{
    color:var(--lime);
}

.rewards-header p{
    margin-top:7px;

    color:#7f8a98;

    font-size:11px;
}


/* =========================================================
   REWARD GRID
========================================================= */

.reward-grid{
    display:grid;

    grid-template-columns:1.35fr 1fr 1fr 1fr;

    gap:12px;
}


/* =========================================================
   FINAL EDGE PARTICIPATION CARD
========================================================= */

.benefit-card{
    position:relative;

    min-height:225px;

    overflow:hidden;

    padding:20px;

    border:1px solid rgba(223,255,51,.22);
    border-radius:16px;

    background:
        linear-gradient(
            145deg,
            #101a0d,
            #090e0d
        );
}

.benefit-glow{
    position:absolute;

    width:160px;
    height:160px;

    right:-50px;
    top:-50px;

    border-radius:50%;

    background:rgba(223,255,51,.08);

    filter:blur(30px);
}

.benefit-top{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.benefit-icon{
    width:39px;
    height:39px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    color:#0a0d0b;

    background:var(--lime);
}

.benefit-icon svg{
    width:20px;
}

.benefit-tag{
    padding:6px 8px;

    border:1px solid rgba(223,255,51,.2);
    border-radius:999px;

    color:var(--lime);

    font-size:7px;
    font-weight:900;

    letter-spacing:1px;
}

.benefit-brand{
    position:relative;

    margin-top:22px;

    color:#fff;

    font-size:25px;
    font-weight:900;
}

.benefit-brand span{
    color:var(--lime);
}

.benefit-card h3{
    position:relative;

    margin-top:5px;

    color:var(--lime);

    font-family:'Oswald',sans-serif;

    font-size:40px;
    line-height:1;

    letter-spacing:.5px;
}

.benefit-card p{
    position:relative;

    margin-top:8px;

    color:#a9b3be;

    font-size:10px;

    line-height:1.4;
}

.benefit-note{
    position:relative;

    display:flex;
    align-items:center;

    gap:6px;

    margin-top:15px;

    color:#d7dec9;

    font-size:9px;
    font-weight:700;
}

.benefit-note svg{
    width:14px;

    color:var(--lime);
}


/* =========================================================
   PRIZE CARDS
========================================================= */

.prize-card{
    position:relative;

    min-height:225px;

    overflow:hidden;

    padding:18px;

    border:1px solid rgba(255,255,255,.07);
    border-radius:16px;

    background:#0c121a;
}

.prize-card::after{
    content:"";

    position:absolute;

    width:100px;
    height:100px;

    right:-40px;
    bottom:-50px;

    border-radius:50%;

    background:rgba(255,255,255,.025);
}

.prize-card.first{
    border-color:rgba(255,216,77,.2);
}

.prize-card.second{
    border-color:rgba(203,213,225,.16);
}

.prize-card.third{
    border-color:rgba(217,147,87,.17);
}

.prize-rank{
    position:absolute;

    right:16px;
    top:14px;

    color:rgba(255,255,255,.05);

    font-family:'Oswald',sans-serif;

    font-size:34px;
}

.prize-icon{
    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:17px;

    border-radius:10px;
}

.first .prize-icon{
    color:var(--gold);
    background:rgba(255,216,77,.09);
}

.second .prize-icon{
    color:var(--silver);
    background:rgba(203,213,225,.08);
}

.third .prize-icon{
    color:var(--bronze);
    background:rgba(217,147,87,.08);
}

.prize-icon svg{
    width:21px;
}

.prize-label{
    color:#8d99a7;

    font-size:9px;
    font-weight:900;

    letter-spacing:1.5px;
}

.prize-value{
    margin-top:7px;

    color:#fff;

    font-family:'Oswald',sans-serif;

    font-size:37px;
    line-height:1;
}

.first .prize-value{
    color:var(--gold);
}

.second .prize-value{
    color:#e6ebf0;
}

.third .prize-value{
    color:#e6b083;
}

.prize-type{
    margin-top:4px;

    color:#7f8a98;

    font-size:8px;
    font-weight:900;

    letter-spacing:1px;
}

.prize-note{
    position:absolute;

    left:18px;
    bottom:16px;

    display:flex;
    align-items:center;

    gap:5px;

    color:#7e8a98;

    font-size:8px;
    font-weight:700;
}

.prize-note svg{
    width:12px;

    color:var(--lime);
}


/* =========================================================
   BENEFIT FOOTER
========================================================= */

.benefit-footer{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:7px;

    margin-top:18px;
    padding-top:16px;

    border-top:1px solid rgba(255,255,255,.06);

    color:#737f8d;

    font-size:9px;
}

.benefit-footer svg{
    width:14px;

    flex-shrink:0;

    color:var(--lime);
}

.benefit-footer strong{
    color:#bbc5d0;
}


/* =========================================================
   INFO SECTION
========================================================= */

.info-section{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

    margin-bottom:18px;
}

.info-card{
    min-height:105px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    border:1px solid var(--border);
    border-radius:16px;

    background:#080d14;
}

.info-number{
    color:var(--lime);

    font-family:'Oswald',sans-serif;

    font-size:35px;
    line-height:1;
}

.info-label{
    margin-top:7px;

    color:#7e8a98;

    font-size:9px;
    font-weight:900;

    letter-spacing:1px;
}

.live-text{
    color:#ef4444;
}


/* =========================================================
   RULES
========================================================= */

.rules-section{
    display:grid;

    grid-template-columns:270px 1fr;

    gap:20px;

    align-items:center;

    padding:20px;

    margin-bottom:18px;

    border:1px solid var(--border);
    border-radius:18px;

    background:#080d14;
}

.rules-heading{
    display:flex;
    align-items:center;

    gap:12px;
}

.rules-icon{
    width:43px;
    height:43px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    color:var(--lime);

    background:rgba(223,255,51,.07);
}

.rules-icon svg{
    width:21px;
}

.rules-heading span{
    color:#707c8a;

    font-size:8px;
    font-weight:900;

    letter-spacing:1.5px;
}

.rules-heading h2{
    margin-top:2px;

    color:#fff;

    font-size:20px;
}

.rules-list{
    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:8px;
}

.rule{
    min-height:60px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:9px;

    border-radius:10px;

    background:rgba(255,255,255,.025);

    color:#b7c0ca;

    font-size:9px;
    font-weight:700;

    line-height:1.35;
}

.rule span{
    margin-bottom:4px;

    color:var(--lime);

    font-size:8px;
    font-weight:900;
}


/* =========================================================
   FOOTER
========================================================= */

footer{
    min-height:58px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 20px;

    border:1px solid var(--border);
    border-radius:15px;

    background:#070b11;
}

.footer-brand{
    display:flex;
    align-items:center;

    gap:10px;
}

.footer-brand img{
    width:80px;
    max-height:28px;

    object-fit:contain;

    filter:
        brightness(1.5)
        contrast(1.1)
        saturate(1.1);
}

.footer-brand span{
    color:#687483;

    font-size:9px;
    font-weight:700;
}

.footer-event{
    color:#687483;

    font-size:9px;
    font-weight:800;

    letter-spacing:1px;
}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media(max-width:1400px){

    .hero h1{
        font-size:78px;
    }

    .hero-title{
        font-size:24px;
    }

    .main-layout{
        grid-template-columns:40% 60%;
    }

    .join-body{
        grid-template-columns:1fr;
    }

    .qr-frame{
        width:200px;
        height:200px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1000px){

    .page{
        padding:10px;
    }

    .top-bar{
        grid-template-columns:1fr auto;

        gap:10px;
    }

    .top-event{
        display:none;
    }

    .main-layout{
        grid-template-columns:1fr;
    }

    .join-body{
        grid-template-columns:1fr 1fr;
    }

    .reward-grid{
        grid-template-columns:1fr 1fr;
    }

    .final-edge-card{
        grid-column:span 2;
    }

    .info-section{
        grid-template-columns:repeat(2,1fr);
    }

    .rules-section{
        grid-template-columns:1fr;
    }

    .rules-list{
        grid-template-columns:repeat(3,1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:650px){

    .page{
        padding:7px;
    }


    /* -----------------------------------------------
       TOP BAR
    ------------------------------------------------ */

    .top-bar{
        min-height:54px;

        grid-template-columns:1fr auto;

        padding:7px 10px;

        margin-bottom:9px;

        border-radius:13px;
    }

    .top-brand{
        gap:8px;
    }

    .top-brand img{
        max-height:26px;
    }

    .top-brand img:first-child{
        max-width:82px;
    }

    .top-brand img:last-child{
        max-width:95px;
    }

    .brand-divider{
        height:20px;
    }

    .top-live{
        padding:6px 8px;

        font-size:7px;
    }

    .live-dot{
        width:6px;
        height:6px;
    }


    /* -----------------------------------------------
       HERO
    ------------------------------------------------ */

    .hero{
        min-height:205px;

        margin-bottom:10px;

        border-radius:16px;
    }

    .hero::before{
        width:350px;
        height:350px;
    }

    .eyebrow{
        gap:7px;

        margin-bottom:9px;

        font-size:8px;

        letter-spacing:1.2px;
    }

    .eyebrow span{
        width:20px;
    }

    .hero h1{
        font-size:57px;
    }

    .hero-title{
        margin-top:10px;

        padding:8px 16px;

        border-radius:7px;

        font-size:18px;
    }

    .hero-subtitle{
        margin-top:10px;

        font-size:9px;
    }

    .hero-subtitle b{
        margin:0 4px;
    }


    /* -----------------------------------------------
       MAIN
    ------------------------------------------------ */

    .main-layout{
        grid-template-columns:1fr;

        gap:10px;

        margin-bottom:10px;
    }

    .join-card,
    .leaderboard-card{
        border-radius:16px;
    }


    /* -----------------------------------------------
       JOIN HEADER
    ------------------------------------------------ */

    .section-head{
        padding:14px;
    }

    .section-icon{
        width:36px;
        height:36px;
    }

    .section-icon svg{
        width:18px;
    }

    .section-label{
        font-size:7px;
    }

    .section-head h2{
        font-size:18px;
    }


    /* -----------------------------------------------
       JOIN
    ------------------------------------------------ */

    .join-body{
        grid-template-columns:1fr;

        gap:20px;

        padding:18px 12px;
    }


    /* LARGE MOBILE QR */

    .qr-frame{
        width:min(285px,72vw);
        height:min(285px,72vw);

        padding:13px;

        border-radius:15px;

        box-shadow:
            0 0 0 4px rgba(223,255,51,.06),
            0 12px 30px rgba(0,0,0,.35);
    }

    .scan-label{
        margin-top:12px;
    }

    .scan-label strong{
        font-size:11px;
    }

    .scan-label small{
        font-size:9px;
    }


    /* -----------------------------------------------
       STEPS
    ------------------------------------------------ */

    .join-steps{
        gap:7px;
    }

    .step{
        padding:10px;
    }

    .step-number{
        min-width:34px;
        height:34px;

        font-size:9px;
    }

    .step h3{
        font-size:10px;
    }

    .step p{
        font-size:9px;
    }


    /* -----------------------------------------------
       PARTICIPANTS
    ------------------------------------------------ */

    .participant-strip{
        min-height:54px;
    }

    .participant-strip strong{
        font-size:21px;
    }

    .participant-strip span{
        font-size:9px;
    }

    .participant-live{
        margin-left:4px;
    }


    /* -----------------------------------------------
       LEADERBOARD
    ------------------------------------------------ */

    .leaderboard-head{
        min-height:65px;

        padding:12px;
    }

    .leader-title{
        gap:9px;
    }

    .trophy-icon{
        width:36px;
        height:36px;
    }

    .trophy-icon svg{
        width:18px;
    }

    .leader-title span{
        font-size:7px;
    }

    .leader-title h2{
        font-size:17px;
    }

    .live-badge{
        padding:5px 7px;

        font-size:7px;
    }

    .leaderboard-card th{
        padding:10px;

        font-size:8px;
    }

    .leaderboard-card td{
        padding:10px;

        font-size:11px;
    }


    /* -----------------------------------------------
       REWARDS
    ------------------------------------------------ */

    .rewards-section{
        padding:16px 10px;

        margin-bottom:10px;

        border-radius:16px;
    }

    .rewards-header{
        margin-bottom:15px;
    }

    .rewards-header h2{
        font-size:23px;
    }

    .rewards-header p{
        font-size:9px;
    }

    .reward-grid{
        grid-template-columns:1fr;

        gap:9px;
    }

    .final-edge-card{
        grid-column:auto;
    }

    .benefit-card,
    .prize-card{
        min-height:190px;
    }


    /* -----------------------------------------------
       FINAL EDGE
    ------------------------------------------------ */

    .benefit-card{
        padding:16px;
    }

    .benefit-brand{
        margin-top:17px;

        font-size:21px;
    }

    .benefit-card h3{
        font-size:35px;
    }

    .benefit-card p{
        font-size:9px;
    }


    /* -----------------------------------------------
       PRIZES
    ------------------------------------------------ */

    .prize-card{
        padding:16px;
    }

    .prize-value{
        font-size:34px;
    }

    .benefit-footer{
        align-items:flex-start;

        padding-left:5px;
        padding-right:5px;

        font-size:8px;

        line-height:1.4;

        text-align:center;
    }


    /* -----------------------------------------------
       INFO
    ------------------------------------------------ */

    .info-section{
        grid-template-columns:1fr 1fr;

        gap:7px;

        margin-bottom:10px;
    }

    .info-card{
        min-height:82px;

        border-radius:12px;
    }

    .info-number{
        font-size:28px;
    }

    .info-label{
        font-size:7px;
    }


    /* -----------------------------------------------
       RULES
    ------------------------------------------------ */

    .rules-section{
        grid-template-columns:1fr;

        padding:14px;

        margin-bottom:10px;

        border-radius:14px;
    }

    .rules-heading h2{
        font-size:17px;
    }

    .rules-list{
        grid-template-columns:1fr;

        gap:6px;
    }

    .rule{
        min-height:auto;

        flex-direction:row;
        align-items:center;

        gap:9px;

        padding:9px;

        font-size:9px;
    }

    .rule span{
        margin:0;
    }


    /* -----------------------------------------------
       FOOTER
    ------------------------------------------------ */

    footer{
        min-height:48px;

        padding:0 12px;

        border-radius:12px;
    }

    .footer-brand{
        gap:6px;
    }

    .footer-brand img{
        width:65px;
    }

    .footer-brand span,
    .footer-event{
        font-size:7px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:380px){

    .top-brand{
        gap:5px;
    }

    .top-brand img:first-child{
        max-width:72px;
    }

    .top-brand img:last-child{
        max-width:82px;
    }

    .top-live{
        padding:5px 6px;

        font-size:6px;
    }

    .hero{
        min-height:190px;
    }

    .hero h1{
        font-size:48px;
    }

    .hero-title{
        font-size:16px;
    }

    .hero-subtitle{
        font-size:8px;
    }

    .qr-frame{
        width:240px;
        height:240px;
    }

    .benefit-card h3{
        font-size:31px;
    }

    .prize-value{
        font-size:30px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media(max-width:320px){

    .page{
        padding:5px;
    }

    .top-bar{
        padding:6px 7px;
    }

    .top-brand img:first-child{
        max-width:62px;
    }

    .top-brand img:last-child{
        max-width:70px;
    }

    .brand-divider{
        height:17px;
    }

    .top-live{
        font-size:5px;
        padding:4px 5px;
    }

    .hero h1{
        font-size:43px;
    }

    .hero-title{
        font-size:14px;
        padding:7px 12px;
    }

    .qr-frame{
        width:220px;
        height:220px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation:none !important;
        transition:none !important;
    }

}