:root {
    --bg: #08080b;
    --bg-soft: #101015;
    --panel: rgba(20, 20, 28, 0.88);
    --panel-strong: #14141b;
    --text: #f7f7fa;
    --muted: #aaaab6;
    --line: rgba(255,255,255,.11);
    --gold: #ffbd18;
    --gold-2: #ffe16d;
    --gold-dark: #9b5c00;
    --violet: #8f5cff;
    --red: #ff4c6a;
    --green: #5ef2a1;
    --shadow: 0 24px 70px rgba(0,0,0,.45);
    --radius: 24px;
    --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
section[id] { scroll-margin-top: 108px; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 5%, rgba(143,92,255,.08), transparent 28%),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
    background: rgba(7,7,10,.82);
    backdrop-filter: blur(18px);
    border-color: var(--line);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .08em; }
.brand img { width: 52px; filter: drop-shadow(0 8px 18px rgba(255,184,0,.18)); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: .92rem; }
.brand small { color: var(--gold); font-size: .76rem; font-weight: 900; margin-top: 5px; letter-spacing: .34em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { color: #d8d8df; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #171009; padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 25px rgba(255,189,24,.18); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 900px; padding: 150px 0 54px; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -4; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 0%, transparent 86%); }
.hero::after { content: ""; position: absolute; z-index: -3; inset: 0; background: linear-gradient(100deg, rgba(8,8,11,.15) 0%, rgba(8,8,11,.1) 48%, rgba(8,8,11,.65) 100%); }
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow-one { width: 620px; height: 620px; right: -100px; top: 70px; background: rgba(255,179,0,.18); }
.hero-glow-two { width: 360px; height: 360px; left: -140px; top: 200px; background: rgba(143,92,255,.13); }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow, .section-kicker { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 900; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(255,189,24,.3); border-radius: 999px; background: rgba(255,189,24,.07); }
.status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(94,242,161,.09), 0 0 14px rgba(94,242,161,.55); }
.hero h1 { margin: 26px 0 22px; max-width: 780px; font-size: clamp(3.2rem, 6.8vw, 6.5rem); line-height: .93; letter-spacing: -.065em; }
.hero h1 span { color: var(--gold); text-shadow: 0 12px 34px rgba(255,181,0,.18); }
.hero-lede { max-width: 660px; margin: 0; color: #c6c6cf; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #191006; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 15px 34px rgba(255,184,0,.18); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(255,184,0,.28); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.045); backdrop-filter: blur(12px); }
.button-secondary:hover { border-color: rgba(255,189,24,.45); background: rgba(255,189,24,.06); }
.contract-card { max-width: 670px; display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: 34px; padding: 16px 17px 16px 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,17,23,.73); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.contract-card > div { min-width: 0; display: grid; }
.contract-card span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.contract-card code { display: block; margin-top: 5px; color: #f5f5f7; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; padding: 10px 12px; color: #fff; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.05); cursor: pointer; }
.copy-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-button:hover { border-color: rgba(255,189,24,.45); }

.hero-visual { position: relative; min-height: 580px; display: grid; place-items: center; perspective: 1000px; }
.hero-coin { position: relative; z-index: 3; width: min(570px, 100%); animation: coinFloat 5.2s ease-in-out infinite; filter: drop-shadow(0 55px 60px rgba(0,0,0,.52)) drop-shadow(0 0 28px rgba(255,181,0,.2)); }
.coin-pedestal { position: absolute; z-index: 1; width: 66%; height: 70px; bottom: 48px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,189,24,.34) 0%, rgba(255,189,24,.05) 45%, transparent 72%); filter: blur(8px); transform: rotateX(70deg); }
.coin-orbit { position: absolute; border: 1px solid rgba(255,217,97,.22); border-radius: 50%; transform: rotateX(68deg) rotateZ(-8deg); }
.orbit-one { width: 540px; height: 420px; }
.orbit-two { width: 650px; height: 510px; border-style: dashed; animation: orbitSpin 28s linear infinite; }
.floating-tag { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(17,17,23,.77); backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: .82rem; }
.floating-tag span { color: #07160f; background: var(--green); padding: 3px 7px; border-radius: 999px; font-size: .63rem; font-weight: 1000; letter-spacing: .1em; }
.floating-tag strong { color: var(--gold-2); }
.tag-top { right: 1%; top: 14%; animation: tagFloat 4.6s ease-in-out infinite reverse; }
.tag-bottom { left: 4%; bottom: 19%; animation: tagFloat 4.3s ease-in-out infinite; }
@keyframes coinFloat { 0%,100% { transform: translateY(0) rotateY(-4deg); } 50% { transform: translateY(-18px) rotateY(4deg); } }
@keyframes tagFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orbitSpin { to { transform: rotateX(68deg) rotateZ(352deg); } }

.stats-strip { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 62px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.stats-strip > div { min-height: 95px; display: grid; align-content: center; padding: 20px 24px; background: rgba(12,12,16,.84); }
.stats-strip strong { color: var(--gold-2); font-size: 1.2rem; }
.stats-strip span { color: var(--muted); font-size: .82rem; }

.section { position: relative; padding: 112px 0; }
.section-heading { margin-bottom: 42px; }
.section-heading h2, .game-copy h2, .about-card h2, .final-cta h2 { margin: 10px 0 15px; font-size: clamp(2.4rem, 4.7vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.section-heading p, .game-copy > p, .about-copy p { color: var(--muted); font-size: 1.05rem; }
.split-heading { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.split-heading p { max-width: 700px; margin-bottom: 0; }
.centered-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.centered-heading p { margin-inline: auto; }

.trade-section { background: linear-gradient(180deg, transparent, rgba(255,189,24,.035) 35%, transparent); }
.trade-wide-shell { width: min(1800px, calc(100% - 48px)); }
.trade-wide-shell .section-heading { width: min(1180px, 100%); margin-inline: auto; }
.trade-open-button { white-space: nowrap; }
.arena-guide { margin: 0 0 26px; padding: 24px; border: 1px solid rgba(255,189,24,.32); border-radius: 20px; background: linear-gradient(135deg, rgba(255,189,24,.12), rgba(255,189,24,.035) 55%, rgba(143,92,255,.045)); box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.arena-guide-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.arena-guide-alert { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #1a1103; background: linear-gradient(135deg, var(--gold-2), var(--gold)); font-size: 1.45rem; font-weight: 1000; box-shadow: 0 10px 28px rgba(255,189,24,.2); }
.arena-guide-heading h3 { margin: 4px 0 0; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; }
.arena-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.arena-steps li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(8,8,12,.56); }
.arena-step-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #160f05; background: var(--gold); font-weight: 1000; }
.arena-steps strong { color: #fff; }
.arena-steps p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.arena-steps em { color: #d9d9e1; font-style: normal; }
.arena-steps code { color: var(--gold-2); font-weight: 800; }
.arena-contract-copy { width: 100%; min-width: 0; margin-top: 10px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(255,189,24,.25); border-radius: 10px; background: rgba(255,189,24,.06); cursor: pointer; text-align: left; }
.arena-contract-copy code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f4d776; font-size: .69rem; }
.arena-contract-copy span { color: #fff; font-size: .74rem; font-weight: 900; }
.trade-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0e0e13; box-shadow: var(--shadow); }
.trade-toolbar { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #14141a; }
.trade-label { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.trade-address { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; }
.trade-address code { color: #fff; }
.trade-frame-wrap { position: relative; min-height: 0; overflow: hidden; background: #0b0b0f; }
.trade-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #0b0b0f; }
.frame-fallback { padding: 50px; text-align: center; }
.frame-fallback a { color: var(--gold); text-decoration: underline; }
.trade-note { display: flex; align-items: flex-start; gap: 13px; padding: 16px 20px; border-top: 1px solid var(--line); background: rgba(255,189,24,.045); }
.trade-note svg { width: 22px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; }
.trade-note p { margin: 0; color: #bdbdc7; font-size: .86rem; }
.trade-note strong { color: #fff; }

.game-section { overflow: hidden; background: #0a0a0f; }
.game-light { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.game-light-one { width: 420px; height: 420px; left: -180px; top: 70px; background: rgba(143,92,255,.16); }
.game-light-two { width: 520px; height: 520px; right: -240px; bottom: -100px; background: rgba(255,189,24,.12); }
.game-layout { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; align-items: center; }
.game-copy h2 { max-width: 500px; }
.instruction-list { display: grid; gap: 13px; margin: 30px 0 22px; }
.instruction-list > div { display: flex; align-items: center; gap: 10px; color: #d6d6dc; }
kbd, .touch-icon, .score-icon { min-width: 34px; min-height: 32px; display: inline-grid; place-items: center; padding: 4px 8px; border: 1px solid rgba(255,255,255,.17); border-bottom-width: 3px; border-radius: 8px; background: rgba(255,255,255,.06); font-weight: 900; }
.score-icon { color: #0d1711; background: var(--green); border-color: var(--green); font-size: .75rem; }
.game-disclaimer { max-width: 430px; padding: 13px 15px; border-left: 3px solid var(--gold); background: rgba(255,189,24,.055); color: var(--muted); font-size: .82rem; }
.game-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: #101018; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.game-topbar { min-height: 66px; display: flex; align-items: center; gap: 25px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.game-topbar > div { display: grid; }
.game-topbar span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.game-topbar strong { color: var(--gold-2); font-size: 1.12rem; }
.sound-toggle { width: 42px; height: 42px; display: grid; place-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); cursor: pointer; }
.sound-toggle svg { width: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-on { display: none; }
.sound-toggle[aria-pressed="true"] .sound-on { display: block; }
.sound-toggle[aria-pressed="true"] .sound-off { display: none; }
.canvas-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #09090d; touch-action: none; }
#coin-game { display: block; width: 100%; height: 100%; }
.game-overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; background: radial-gradient(circle at center, rgba(27,25,36,.76), rgba(7,7,10,.94)); backdrop-filter: blur(6px); transition: opacity .25s ease, visibility .25s ease; }
.game-overlay[hidden] { display: none !important; }
.game-overlay img { width: min(145px, 28%); filter: drop-shadow(0 18px 28px rgba(255,183,0,.25)); }
.game-overlay h3 { margin: 8px 0 4px; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.game-overlay p { max-width: 440px; margin: 0 0 18px; color: var(--muted); }
.game-overlay .button { min-height: 46px; }
.game-overlay .button + .button { margin-top: 10px; }
.is-hidden { display: none !important; }
.game-status { min-height: 44px; margin: 0; padding: 11px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }

.ecosystem-section { background: linear-gradient(180deg, #0b0b10, #08080b); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ecosystem-card { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
a.ecosystem-card:hover { transform: translateY(-6px); border-color: rgba(255,189,24,.4); background: linear-gradient(145deg, rgba(255,189,24,.08), rgba(255,255,255,.018)); }
.ecosystem-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -110px; bottom: -120px; border-radius: 50%; background: var(--card-glow, rgba(255,189,24,.12)); filter: blur(30px); }
.facebook-card { --card-glow: rgba(67,120,255,.22); }
.mmc-card { --card-glow: rgba(143,92,255,.2); }
.ecosystem-icon { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 45px; border-radius: 16px; background: #1877f2; box-shadow: 0 12px 30px rgba(24,119,242,.22); }
.ecosystem-icon svg { width: 29px; fill: #fff; }
.mmc-mark { width: 76px; height: 70px; padding: 6px; background: rgba(255,255,255,.045); box-shadow: 0 12px 30px rgba(198,35,44,.16); }
.mmc-mark img { width: 100%; height: 100%; object-fit: contain; }
.coin-mini { overflow: hidden; background: rgba(255,189,24,.1); box-shadow: none; }
.coin-mini img { width: 68px; }
.ecosystem-card > div { position: relative; z-index: 2; }
.ecosystem-card span { color: var(--gold-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.ecosystem-card h3 { margin: 7px 0 9px; font-size: 1.55rem; line-height: 1.15; }
.ecosystem-card p { color: var(--muted); font-size: .92rem; }
.ecosystem-card strong { display: inline-flex; gap: 8px; margin-top: 12px; color: #fff; font-size: .88rem; }
.text-button { padding: 0; border: 0; background: none; cursor: pointer; }

.about-section { padding-top: 92px; }
.about-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; padding: 50px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, rgba(255,189,24,.055), rgba(143,92,255,.04)); }
.about-card h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.about-copy p { margin-top: 0; }
.about-copy p:last-child { margin-bottom: 0; }

.final-cta { position: relative; padding: 70px 0 115px; overflow: hidden; }
.final-cta-glow { position: absolute; width: 700px; height: 350px; left: 50%; bottom: -210px; transform: translateX(-50%); border-radius: 50%; background: rgba(255,189,24,.14); filter: blur(90px); }
.final-cta-inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 42px; align-items: center; padding: 46px 54px; border: 1px solid rgba(255,189,24,.22); border-radius: 28px; background: linear-gradient(125deg, rgba(255,189,24,.12), rgba(20,20,28,.9) 40%, rgba(143,92,255,.08)); box-shadow: var(--shadow); }
.final-cta img { width: 190px; filter: drop-shadow(0 30px 32px rgba(0,0,0,.45)); }
.final-cta h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 4rem); }
.final-cta .hero-actions { margin-top: 20px; }

.site-footer { padding: 36px 0 22px; border-top: 1px solid var(--line); background: #060608; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 52px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: .88rem; letter-spacing: .06em; }
.footer-brand span { color: var(--gold); font-size: .76rem; font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .87rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { display: flex; justify-content: space-between; gap: 40px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); color: #777782; font-size: .73rem; }
.footer-legal p { margin: 0; max-width: 760px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 999; transform: translate(-50%, 30px); padding: 11px 16px; border: 1px solid rgba(94,242,161,.25); border-radius: 12px; background: #122219; color: #cbffe0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
    .hero { padding-top: 130px; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-visual { min-height: 520px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .game-layout { grid-template-columns: 1fr; }
    .game-copy { max-width: 760px; text-align: center; margin-inline: auto; }
    .game-copy h2, .game-disclaimer { margin-inline: auto; }
    .instruction-list { grid-template-columns: repeat(3, auto); justify-content: center; }
    .ecosystem-grid { grid-template-columns: 1fr 1fr; }
    .token-card { grid-column: 1 / -1; min-height: 260px; }
}

@media (max-width: 780px) {
    :root { --shell: min(100% - 28px, 1180px); --radius: 18px; }
    .trade-wide-shell { width: var(--shell); }
    html { scroll-padding-top: 90px; }
    section[id] { scroll-margin-top: 90px; }
    .site-header { background: rgba(7,7,10,.72); backdrop-filter: blur(14px); }
    .header-inner { min-height: 72px; }
    .brand img { width: 44px; }
    .menu-toggle { display: block; position: relative; z-index: 102; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 26px; background: rgba(7,7,10,.97); font-size: 1.25rem; transform: translateX(100%); transition: transform .25s ease; }
    .site-nav.open { transform: translateX(0); }
    .nav-cta { padding: 12px 24px; }
    .hero { min-height: auto; padding: 118px 0 45px; }
    .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
    .hero-lede { font-size: 1rem; }
    .contract-card { width: 100%; text-align: left; }
    .contract-card code { font-size: .74rem; }
    .hero-visual { min-height: 430px; }
    .hero-coin { width: min(460px, 92vw); }
    .orbit-one { width: 420px; height: 320px; }
    .orbit-two { width: 500px; height: 390px; }
    .tag-top { right: 2%; top: 11%; }
    .tag-bottom { left: 0; bottom: 17%; }
    .stats-strip { margin-top: 35px; }
    .section { padding: 82px 0; }
    .split-heading { grid-template-columns: 1fr; align-items: start; }
    .trade-open-button { justify-self: start; }
    .trade-shell { aspect-ratio: auto; grid-template-rows: auto; }
    .trade-frame-wrap { aspect-ratio: 16 / 9; min-height: 0; }
    .arena-steps { grid-template-columns: 1fr; }
    .arena-guide { padding: 20px; }
    .instruction-list { grid-template-columns: 1fr; justify-content: stretch; max-width: 280px; margin-inline: auto; }
    .instruction-list > div { justify-content: center; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .token-card { grid-column: auto; }
    .about-card { grid-template-columns: 1fr; gap: 12px; padding: 32px 26px; }
    .final-cta-inner { grid-template-columns: 1fr; padding: 34px 26px; text-align: center; }
    .final-cta img { margin-inline: auto; }
    .final-cta .hero-actions { justify-content: center; }
    .footer-grid, .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .brand strong { font-size: .78rem; }
    .brand small { font-size: .67rem; }
    .hero h1 { letter-spacing: -.055em; }
    .hero-actions { width: 100%; }
    .hero-actions .button { width: 100%; }
    .contract-card { align-items: flex-start; }
    .contract-card .copy-button span { display: none; }
    .stats-strip { grid-template-columns: 1fr; }
    .hero-visual { min-height: 350px; }
    .floating-tag { padding: 8px 10px; font-size: .7rem; }
    .tag-top { top: 3%; }
    .tag-bottom { bottom: 9%; }
    .section-heading h2, .game-copy h2 { font-size: 2.65rem; }
    .trade-toolbar { align-items: flex-start; flex-direction: column; }
    .arena-guide-heading { align-items: flex-start; }
    .arena-guide-alert { width: 38px; height: 38px; border-radius: 12px; }
    .arena-steps li { padding: 14px; }
    .game-topbar { gap: 14px; padding-inline: 12px; }
    .game-topbar span { font-size: .56rem; }
    .game-topbar strong { font-size: 1rem; }
    .sound-toggle { width: 38px; height: 38px; }
    .game-overlay p { font-size: .82rem; }
    .ecosystem-card { min-height: 300px; padding: 24px; }
    .footer-links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
