:root{
    --bg: #080e17;
    --surface: #101b2a;
    --surface-2: #162437;
    --surface-3: #22354a;
    --border: rgba(240, 238, 233, 0.07);
    --border-strong: rgba(240, 238, 233, 0.14);
    --text: #edf4ff;
    --muted: #8496ae;
    --muted-2: #a8b8cc;
    --gold: #a8caff;
    --gold-light: #d6e7ff;
    --gold-dark: #6c98d3;
    --red: #FF5A6A;
    --green: #3DDC97;
    --font: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --font-wide: "Unbounded", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --gutter: clamp(16px, 5vw, 56px);
}

*, *::before, *::after{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body{
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, ol, ul{
    margin: 0;
    padding: 0;
}

ol, ul{
    list-style: none;
}

a{
    color: inherit;
}

:focus-visible{
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.wrap{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Top bar ---------- */

.top{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(8, 14, 23, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.top .wrap{
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.brand{
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-wide);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.brand svg{
    width: 24px;
    height: 24px;
}

.top nav{
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.top nav a{
    color: var(--muted-2);
    font-size: 15px;
    text-decoration: none;
}

.top nav a:hover{
    color: var(--text);
}

/* ---------- Buttons ---------- */

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover{
    transform: translateY(-2px);
}

.btn-gold{
    background: var(--gold);
    color: #1B1305;
}

.btn-gold:hover{
    background: var(--gold-light);
}

.btn-line{
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.btn-line:hover{
    border-color: var(--gold);
}

.btn-small{
    min-height: 40px;
    padding: 0 18px;
    font-size: 15px;
}

/* ---------- Hero ---------- */

.hero{
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 74% 50%, rgba(116, 167, 244, 0.14), rgba(116, 167, 244, 0) 42%);
}

.hero .wrap{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: min(760px, calc(100vh - 68px));
    padding-top: 64px;
    padding-bottom: 64px;
}

.eyebrow{
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1{
    margin-top: 18px;
    font-family: var(--font-wide);
    font-size: clamp(36px, 4.3vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

h1 em{
    color: var(--gold);
    font-style: normal;
}

.lead{
    max-width: 34em;
    margin-top: 24px;
    color: var(--muted-2);
    font-size: clamp(18px, 2vw, 20px);
}

.actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* ---------- Contract address: one tap selects all of it, ready to copy ---------- */

.ca{
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    max-width: 100%;
    margin-top: 22px;
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 14px;
}

.ca-label{
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ca code{
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px;
    overflow-wrap: anywhere;
    -webkit-user-select: all;
    user-select: all;
}

.ca a{
    color: var(--gold);
    font-weight: 600;
}

.ca a[hidden]{
    display: none;
}

.ca-top{
    margin: 0 0 0 4px;
    padding: 6px 12px;
    white-space: nowrap;
}

.ca-wide{
    display: flex;
    justify-content: center;
    margin-top: 28px;
    background: var(--surface-2);
}

.ca-center{
    margin-top: 24px;
}

.ca-foot{
    margin: 0 0 18px;
}

/* ---------- The cube: filmed from the game itself ---------- */

.stage{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.stage video, .stage img{
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    aspect-ratio: 1;
    /* The film's background melts into the page */
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent);
    mask-image: radial-gradient(closest-side, #000 86%, transparent);
}

.stage img{
    display: none;
}

/* ---------- Numbers under the hero ---------- */

.numbers{
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.numbers ul{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.numbers li{
    padding: 28px 0 28px 32px;
    border-left: 1px solid var(--border);
}

.numbers li:first-child{
    padding-left: 0;
    border-left: none;
}

.numbers b{
    display: block;
    color: var(--gold);
    font-family: var(--font-wide);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
}

.numbers span{
    display: block;
    margin-top: 6px;
    color: var(--muted-2);
    font-size: 15px;
}

/* ---------- Sections ---------- */

section{
    padding: clamp(64px, 9vw, 112px) 0;
}

.band{
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

h2{
    max-width: 18em;
    font-family: var(--font-wide);
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.intro{
    max-width: 38em;
    margin-top: 16px;
    color: var(--muted-2);
}

/* Steps */

.steps{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.steps li{
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.steps li:hover{
    border-color: var(--border-strong);
    transform: translateY(-3px);
}

.steps img, .steps svg{
    display: block;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 6px;
}

h3{
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.steps p, .facts p{
    margin-top: 8px;
    color: var(--muted-2);
    font-size: 16px;
}

/* Rewards flow */

.flow{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin-top: 48px;
}

.flow li{
    position: relative;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: var(--surface-2);
}

.flow li + li::before{
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    width: 13px;
    height: 13px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    transform: translateY(-50%) rotate(45deg);
}

.flow b{
    display: block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flow p{
    margin-top: 8px;
    color: var(--text);
}

/* Facts */

.facts{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
    margin-top: 48px;
}

.facts li{
    padding-top: 18px;
    border-top: 2px solid var(--gold);
}

.facts a{
    color: var(--gold);
}

/* Closing call */

.closing{
    text-align: center;
    background: radial-gradient(circle at 50% 110%, rgba(116, 167, 244, 0.2), rgba(116, 167, 244, 0) 58%), var(--surface);
}

.closing h2{
    margin: 0 auto;
}

.closing .actions{
    justify-content: center;
}

/* ---------- Footer ---------- */

footer{
    padding: 32px 0 40px;
    color: var(--muted);
    font-size: 14px;
}

footer p + p{
    margin-top: 8px;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 980px){
    .steps{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .facts{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px){
    .hero .wrap{
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding-top: 44px;
        padding-bottom: 36px;
    }
    .stage{
        order: -1;
    }
    .stage video, .stage img{
        max-width: min(420px, 88vw);
    }
    .top nav, .ca-top{
        display: none;
    }
    .top .btn{
        margin-left: auto;
    }
    .flow{
        grid-template-columns: minmax(0, 1fr);
    }
    .flow li + li::before{
        left: 50%;
        top: -24px;
        transform: translateX(-50%) rotate(135deg);
    }
}

@media (max-width: 560px){
    .ca code{
        font-size: 11.5px;
    }
    .numbers ul{
        grid-template-columns: minmax(0, 1fr);
    }
    .numbers li, .numbers li:first-child{
        padding: 18px 0;
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .numbers li:first-child{
        border-top: none;
    }
    .steps, .facts{
        grid-template-columns: minmax(0, 1fr);
    }
    .actions .btn{
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior: auto;
    }
    .stage video{
        display: none;
    }
    .stage img{
        display: block;
    }
    .btn, .steps li{
        transition: none;
    }
}
button{font-family:inherit;cursor:pointer;border:0}em{font-style:normal;color:var(--gold)}.brand svg{width:33px;height:33px}.badge,.fine,.stage-caption,.float-label,.game-top,.game-stats>span,small{font-size:11px;letter-spacing:.1em}.badge{color:#a8caff;white-space:nowrap}.fine{color:var(--muted);margin-top:22px;letter-spacing:.02em}.hero .wrap{min-height:690px}.hero h1{font-size:clamp(38px,4.7vw,62px)}.hero .lead{font-size:18px;max-width:420px}.eyebrow i,.game-top i,.float-label i{display:inline-block;width:6px;height:6px;background:#9cdbca;border-radius:50%;margin-right:8px}.stage{height:500px;perspective:1000px}.cube{width:240px;height:240px;position:relative;transform-style:preserve-3d;transform:rotateX(-24deg) rotateY(-35deg);animation:turn 24s linear infinite}.face{position:absolute;width:240px;height:240px;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;background:#080e17;padding:3px;backface-visibility:hidden}.front{transform:translateZ(120px)}.back{transform:rotateY(180deg) translateZ(120px)}.right{transform:rotateY(90deg) translateZ(120px)}.left{transform:rotateY(-90deg) translateZ(120px)}.up{transform:rotateX(90deg) translateZ(120px)}.down{transform:rotateX(-90deg) translateZ(120px)}.voxel{display:grid;place-items:center;background:linear-gradient(140deg,#3b5b83,#152e50);border:1px solid #53759d;box-shadow:inset 3px 3px 0 #6482a529,inset -3px -3px 0 #0004;border-radius:3px;color:#b7d3fb;font-weight:700;font-size:25px}.up .voxel{background:linear-gradient(140deg,#7399c6,#3e5f89)}.voxel.prize{background:#aacbff;color:#132b49;font-size:35px;box-shadow:0 0 25px #8ab9ff77}.voxel.revealed{background:#0b1c30;color:#8ccebd}.orbit{position:absolute;width:410px;height:410px;border:1px solid #a8caff18;border-radius:50%;transform:rotateX(65deg);box-shadow:0 0 60px #86b7ff0a}.float-label{position:absolute;background:#122133dd;border:1px solid #344b68;border-radius:6px;padding:10px 14px;font-size:9px;animation:bob 5s ease-in-out infinite}.label-a{top:48px;right:0}.label-b{bottom:66px;left:0;animation-delay:-2s}.stage-caption{position:absolute;bottom:8px;color:#8196b3}.numbers b{font-size:20px}.steps small{display:block;color:var(--muted);margin-bottom:10px}.steps li{position:relative}.steps li svg{width:56px;height:56px}.eyebrow+h2{margin-top:20px}.play-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}.legend{display:grid;gap:15px;margin-top:35px}.legend span{display:flex;align-items:center;gap:13px;color:#b1c3d8;font-size:14px}.legend svg{width:36px;height:36px}.external{display:inline-block;color:var(--gold);margin-top:22px}.game{padding:25px;background:#0a1421;border:1px solid #334b68;border-radius:17px;box-shadow:0 25px 80px #0004}.game-top{display:flex;justify-content:space-between;color:#97abc5;font-size:10px}.game-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0;color:#839ab8}.game-stats strong{display:block;color:#edf4ff;font-size:23px;letter-spacing:0}.board{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.tile{aspect-ratio:1;min-width:0;background:linear-gradient(140deg,#294461,#172e47);border:1px solid #46627f;box-shadow:inset 0 3px 0 #7197bb28,0 3px 0 #020810;border-radius:5px;color:#b7d9ff;font-size:19px;font-weight:bold;padding:0}.tile:hover{filter:brightness(1.3);transform:translateY(-1px)}.tile.open{background:#101f30;border-color:#213750;box-shadow:none}.tile.gem{color:#acd9bf;background:#214235}.tile.mine{background:#59333e;color:#ffb1bc}.tile.flag{color:#efca86}#status{min-height:48px;margin-top:20px;font-size:13px;color:#aabed7}.game-actions{display:flex;gap:10px}.game-actions button{flex:1;font-size:13px;padding:0 12px}.game-actions [aria-pressed=true]{background:#3c3447}.closing>.wrap>svg{width:68px;height:68px;margin-bottom:25px}.closing h2{margin-top:18px}footer .wrap{display:flex;align-items:center;gap:30px}footer p{font-size:12px;max-width:460px}footer>a{margin-left:auto}@keyframes turn{from{transform:rotateX(-24deg) rotateY(-35deg)}to{transform:rotateX(-24deg) rotateY(325deg)}}@keyframes bob{50%{transform:translateY(-12px)}}@media(max-width:900px){.badge{display:none}.play-layout{gap:35px}.float-label{font-size:8px}.cube{scale:.85}.stage{height:410px}.orbit{width:310px;height:310px}}@media(max-width:820px){.hero .wrap{min-height:0}.hero .stage{order:0}.hero h1{font-size:48px}.hero .lead{max-width:550px}.play-layout{grid-template-columns:1fr}.game{max-width:510px;width:100%;margin:auto}.label-a{right:10%}.label-b{left:10%}footer .wrap{flex-wrap:wrap}}@media(max-width:420px){.brand{font-size:12px}.top .wrap{gap:10px}.top .btn{font-size:12px;padding:0 10px}.hero h1{font-size:38px}.game{padding:16px}.tile{font-size:16px}.board{gap:4px}.steps{grid-template-columns:1fr}.stage{height:370px}.cube{scale:.78}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
.tile.gem{font-size:14px}
