:root {
    --paper: #F3EEE0;
    --paper-line: #E1D8BF;
    --ink: #16181D;
    --card: #FFFDF7;
    --muted: #6B6656;
    --red: #E8483B;
    --yellow: #FFC53D;
    --blue: #3E8EEA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--paper);
    background-image:
        linear-gradient(var(--paper-line) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--paper-line) 1.5px, transparent 1.5px);
    background-size: 44px 44px;
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* ===== Shared brick primitives ===== */
.brick-border { border: 2.5px solid var(--ink); }
.brick-press { transition: transform .1s ease, box-shadow .1s ease; }
.brick-press:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.brick-press:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.icon { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ===== Nav ===== */
nav {
    position: sticky; top: 0; z-index: 50;
    background: var(--card);
    border-bottom: 2.5px solid var(--ink);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1120px; margin: 0 auto; padding: 18px 24px;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo-blocks { display: flex; gap: 4px; }
.logo-block {
    width: 24px; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; color: var(--ink);
    border: 2px solid var(--ink);
}
.logo-block.a { background: var(--red); transform: rotate(-6deg); }
.logo-block.b { background: var(--yellow); transform: rotate(3deg); }
.logo-block.c { background: var(--blue); transform: rotate(-3deg); }
.logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; }

.tabs {
    display: flex; gap: 3px;
    background: var(--card);
    border-radius: 12px; padding: 4px;
}
.tab-btn {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
    color: var(--muted); background: transparent; border: none;
    padding: 8px 16px; border-radius: 9px; cursor: pointer;
}
.tab-btn.active { background: var(--yellow); color: var(--ink); }
.tab-btn:not(.active):hover { color: var(--ink); }
.tab-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
    font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px;
    padding: 11px 24px; border-radius: 10px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    border: 2.5px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { color: var(--ink); background: var(--yellow); }
.btn-secondary { color: var(--ink); background: var(--card); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px 110px; }

/* ===== Hero ===== */
.hero {
    padding: 60px 0 30px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 30px;
    align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
    color: var(--ink); background: var(--card);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
    letter-spacing: 0.5px;
    border: 2px solid var(--ink);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 50px; line-height: 1.08;
    margin: 0 0 18px; letter-spacing: -0.5px;
}
.hero h1 .hl {
    color: var(--ink); background: var(--yellow);
    padding: 0 8px; border-radius: 6px; display: inline-block; transform: rotate(-1.5deg);
}

.hero p { font-size: 16.5px; color: var(--muted); max-width: 460px; line-height: 1.65; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--muted); }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }

/* Signature element: isometric brick stack on a baseplate */
.brickyard { position: relative; height: 380px; display: flex; align-items: flex-end; justify-content: center; }
.baseplate {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 90px;
    background: var(--card);
    border: 2.5px solid var(--ink);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--ink);
}
.baseplate-grid {
    position: absolute; inset: 10px;
    background-image: linear-gradient(var(--paper-line) 1px, transparent 1px), linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
    background-size: 18px 18px;
    border-radius: 8px;
}
.stack {
    position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
    margin-bottom: 78px;
}
.brick {
    width: 150px; height: 56px; border-radius: 10px;
    border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px;
    box-shadow: 5px 5px 0 var(--ink);
    animation: float-brick 3.6s ease-in-out infinite;
}
.brick .stud { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255,255,255,0.5); }
.brick.brick-a { background: var(--red); color: var(--paper); transform: rotate(-3deg); animation-delay: 0s; }
.brick.brick-b { background: var(--yellow); color: var(--ink); transform: rotate(2deg); animation-delay: .3s; width: 168px; }
.brick.brick-c { background: var(--blue); color: var(--paper); transform: rotate(-1.5deg); animation-delay: .6s; width: 140px; }
@keyframes float-brick { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.key-tag {
    position: absolute; top: 6px; right: -10px; z-index: 3;
    background: var(--card); border: 2px solid var(--ink); border-radius: 8px;
    padding: 7px 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
    box-shadow: 4px 4px 0 var(--ink);
    transform: rotate(5deg);
}
.key-tag::before { content: "KEY · "; color: var(--muted); font-weight: 500; }

/* ===== Stats — control panel readout ===== */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 54px 0; }
.stat-card {
    position: relative;
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 12px;
    padding: 18px 16px 16px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.stat-card:nth-child(1)::before { background: var(--red); }
.stat-card:nth-child(2)::before { background: var(--yellow); }
.stat-card:nth-child(3)::before { background: var(--blue); }
.stat-card:nth-child(4)::before { background: var(--ink); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.stat-icon { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--paper); }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-number { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; margin-bottom: 6px; }
.stat-card:nth-child(1) .stat-number { color: var(--red); }
.stat-card:nth-child(2) .stat-number { color: #C99A20; }
.stat-card:nth-child(3) .stat-number { color: var(--blue); }
.stat-card:nth-child(4) .stat-number { color: var(--ink); }
.stat-caption { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* ===== Section framing ===== */
.section { padding: 50px 0; }
.section-head { text-align: center; max-width: 520px; margin: 0 auto 40px; }
.section-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-family: 'Baloo 2', sans-serif; font-size: 32px; margin: 0; }
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 10px 0 0; }

/* ===== How to use — blueprint path with 3 real ordered steps ===== */
.path-wrap { position: relative; }
.path-line {
    position: absolute; top: 24px; left: 8%; right: 8%; height: 2px;
    background-image: linear-gradient(90deg, var(--ink) 60%, transparent 40%);
    background-size: 14px 2px;
    z-index: 0;
}
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; position: relative; z-index: 1; }
.step-card { background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px; padding: 26px 20px 22px; box-shadow: 5px 5px 0 var(--ink); }
.step-num {
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 14px; color: var(--ink);
    width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; background: var(--paper);
}
.step-card:nth-child(1) .step-num { background: var(--red); color: var(--paper); }
.step-card:nth-child(2) .step-num { background: var(--yellow); }
.step-card:nth-child(3) .step-num { background: var(--blue); color: var(--paper); }
.step-card h3 { font-family: 'Baloo 2', sans-serif; font-size: 17px; margin: 0 0 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px; padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
.feature-tag {
    width: 34px; height: 34px; border-radius: 9px; border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 14px;
}
.feature-card:nth-child(1) .feature-tag { background: var(--red); color: var(--paper); }
.feature-card:nth-child(2) .feature-tag { background: var(--yellow); }
.feature-card:nth-child(3) .feature-tag { background: var(--blue); color: var(--paper); }
.feature-card h3 { font-family: 'Baloo 2', sans-serif; font-size: 17px; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ===== Games teaser (full grid lives on /games) ===== */
.games-teaser {
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 16px;
    box-shadow: 6px 6px 0 var(--ink);
    padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.games-teaser-text h3 { font-family: 'Baloo 2', sans-serif; font-size: 19px; margin: 0 0 6px; }
.games-teaser-text p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 420px; line-height: 1.5; }
.games-teaser-blocks { display: flex; gap: 8px; }
.games-teaser-blocks span {
    width: 38px; height: 38px; border-radius: 9px; border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 14px;
    box-shadow: 3px 3px 0 var(--ink);
}
.games-teaser-blocks span:nth-child(1) { background: var(--red); color: var(--paper); transform: rotate(-6deg); }
.games-teaser-blocks span:nth-child(2) { background: var(--yellow); color: var(--ink); transform: rotate(4deg); }
.games-teaser-blocks span:nth-child(3) { background: var(--blue); color: var(--paper); transform: rotate(-3deg); }

/* ===== Final CTA — stamped brick panel ===== */
.cta-banner {
    position: relative;
    margin-top: 10px;
    background: var(--red);
    background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,0.06) 0 14px, transparent 14px 28px);
    border: 2.5px solid var(--ink);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--ink);
    padding: 54px 40px;
    text-align: center;
    color: var(--paper);
    overflow: hidden;
}
.cta-stamp {
    position: absolute; top: 22px; right: 34px;
    border: 2.5px dashed var(--paper);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px;
    color: var(--paper);
    transform: rotate(9deg);
    letter-spacing: 1px;
}
.cta-banner h2 { font-family: 'Baloo 2', sans-serif; font-size: 32px; margin: 0 0 10px; }
.cta-banner p { color: rgba(243,238,224,0.9); font-size: 15px; margin: 0 0 28px; }
.cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--yellow); }
.cta-banner .btn-secondary { background: transparent; color: var(--paper); border-color: var(--paper) !important; }

/* ===== Footer ===== */
footer { text-align: center; padding: 30px 24px 40px; color: var(--muted); font-size: 13px; }
footer .sep { margin: 0 6px; }
footer a { text-decoration: underline; }
footer a:hover { color: var(--ink); }

/* ===== Game detail hero ===== */
.game-hero {
    text-align: center;
    padding: 54px 0 40px;
    max-width: 640px;
    margin: 0 auto;
}
.game-hero-tile {
    width: 64px; height: 64px; margin: 0 auto 22px;
    border-radius: 16px; border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 28px;
    color: var(--paper);
    box-shadow: 5px 5px 0 var(--ink);
    transform: rotate(-4deg);
}
.game-hero h1 {
    font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 38px;
    margin: 0 0 14px; letter-spacing: -0.5px;
}
.game-hero p {
    color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 28px;
}
.game-hero .hero-ctas { justify-content: center; }

/* ===== Mock app window ===== */
.mock-window {
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 18px;
    box-shadow: 8px 8px 0 var(--ink);
    max-width: 920px; margin: 0 auto 60px; overflow: hidden;
}
.mock-header {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 24px; border-bottom: 2.5px solid var(--ink);
    background: var(--paper);
    background-image:
        linear-gradient(var(--paper-line) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--paper-line) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}
.mock-logo-blocks { display: flex; gap: 4px; }
.mock-logo-tile {
    width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 11px; color: var(--ink);
}
.mock-header-text h3 { font-family: 'Baloo 2', sans-serif; font-size: 15px; margin: 0; }
.mock-header-text p { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); margin: 2px 0 0; }

.mock-body { display: flex; min-height: 420px; }

.mock-sidebar {
    width: 190px; flex-shrink: 0;
    border-right: 2.5px solid var(--ink);
    background: var(--paper);
    padding: 14px;
    display: flex; flex-direction: column; gap: 4px;
}
.mock-tab-btn {
    text-align: left; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13.5px;
    color: var(--muted); background: transparent; border: 2px solid transparent;
    padding: 10px 12px; border-radius: 9px; cursor: pointer;
}
.mock-tab-btn:hover { color: var(--ink); }
.mock-tab-btn.active {
    background: var(--card); border-color: var(--ink); color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

.mock-content-wrap { flex: 1; min-width: 0; }
.mock-content { padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.mock-content.hidden { display: none; }

/* ===== Live stat pills (hero) ===== */
.hero-stats-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 0 26px; min-height: 0; }
.hero-stat-pill {
    font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
    color: var(--ink); background: var(--card); border: 2px solid var(--ink);
    padding: 6px 12px; border-radius: 999px;
}

/* ===== Script loader card ===== */
.loader-card {
    max-width: 640px; margin: 0 auto 40px;
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 16px;
    padding: 20px 22px; box-shadow: 6px 6px 0 var(--ink);
}
.loader-card h4 { font-family: 'Baloo 2', sans-serif; font-size: 15px; margin: 0 0 10px; }
.loader-code {
    display: flex; align-items: center; gap: 10px;
    background: var(--paper); border: 2px solid var(--ink); border-radius: 10px;
    padding: 12px 14px;
}
.loader-code code {
    flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink);
    overflow-x: auto; white-space: nowrap;
}
.loader-code .copy-btn { flex-shrink: 0; margin-top: 0; }

.mock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--paper); border: 2px solid var(--ink); border-radius: 12px;
    padding: 16px 18px;
}
.mock-row-text h4 { font-family: 'Baloo 2', sans-serif; font-size: 14.5px; margin: 0 0 5px; }
.mock-row-text p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; max-width: 480px; }

.mock-switch {
    flex-shrink: 0; width: 42px; height: 24px; border-radius: 999px;
    border: 2px solid var(--ink); background: var(--yellow); position: relative;
}
.mock-switch::after {
    content: ""; position: absolute; top: 1px; right: 1px;
    width: 18px; height: 18px; border-radius: 50%; background: var(--ink);
}
.mock-switch.off { background: var(--card); }
.mock-switch.off::after { right: auto; left: 1px; background: var(--muted); }

/* ===== Games page ===== */
.games-header { padding: 54px 0 32px; text-align: center; }
.games-header h1 { font-family: 'Baloo 2', sans-serif; font-size: 38px; margin: 0 0 10px; }
.games-header p { color: var(--muted); font-size: 15px; margin: 0; }

.games-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }

.games-search {
    font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink);
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 10px;
    padding: 10px 14px; width: 230px;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .1s ease, box-shadow .1s ease;
}
.games-search::placeholder { color: var(--muted); }
.games-search:focus {
    outline: none;
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 var(--ink);
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

.game-card {
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px;
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
}
.game-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }

.game-tile {
    width: 100%; aspect-ratio: 1 / 1; border-bottom: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 40px; color: var(--ink);
}

.game-info { padding: 14px 16px 16px; }
.game-info h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; margin: 0 0 6px; color: var(--ink); }

.badge {
    display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
    color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink);
    padding: 3px 8px; border-radius: 6px;
}
.badge.coming-soon { background: var(--yellow); }

.hidden { display: none; }

/* ===== Pricing page ===== */
.pricing-header { padding: 54px 0 34px; text-align: center; }
.pricing-header h1 { font-family: 'Baloo 2', sans-serif; font-size: 38px; margin: 0 0 10px; }
.pricing-header p { color: var(--muted); font-size: 15px; margin: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.price-card {
    position: relative;
    background: var(--card); border: 2.5px solid var(--ink); border-radius: 16px;
    padding: 30px 24px 26px; text-align: center;
    box-shadow: 5px 5px 0 var(--ink);
}
.price-card.popular { box-shadow: 7px 7px 0 var(--ink); }

.price-popular-tag {
    position: absolute; top: -14px; right: 18px;
    background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px;
    padding: 4px 10px; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11px;
    transform: rotate(4deg); box-shadow: 3px 3px 0 var(--ink);
}

.price-tag {
    display: inline-block; font-family: 'Baloo 2', sans-serif; font-size: 12px; font-weight: 800;
    color: var(--ink); border: 2px solid var(--ink); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.pricing-grid .price-card:nth-child(1) .price-tag { background: var(--red); color: var(--paper); }
.pricing-grid .price-card:nth-child(2) .price-tag { background: var(--yellow); color: var(--ink); }
.pricing-grid .price-card:nth-child(3) .price-tag { background: var(--blue); color: var(--paper); }

.price-amount { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 40px; margin-bottom: 4px; }
.price-duration { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; }
.price-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; min-height: 44px; }
.price-cta { width: fit-content; margin: 0 auto; padding: 12px 28px; font-size: 14.5px; }

/* ===== Claim / verify pages — standalone centered card ===== */
.page-center {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
    background-color: var(--paper);
    background-image:
        linear-gradient(var(--paper-line) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--paper-line) 1.5px, transparent 1.5px);
    background-size: 44px 44px;
}

.claim-card {
    width: 100%; max-width: 440px; background: var(--card); border: 2.5px solid var(--ink);
    border-radius: 20px; padding: 38px 34px; text-align: center; box-shadow: 8px 8px 0 var(--ink);
}

.claim-blocks { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.claim-block {
    width: 42px; height: 42px; border-radius: 11px; border: 2.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 20px;
    box-shadow: 3px 3px 0 var(--ink);
}
.claim-block.a { background: var(--red); color: var(--paper); transform: rotate(-6deg); }
.claim-block.b { background: var(--yellow); color: var(--ink); transform: rotate(3deg); }
.claim-block.c { background: var(--blue); color: var(--paper); transform: rotate(-3deg); }

.claim-blocks.bounce .claim-block.a { animation: claim-bounce 1.1s ease-in-out infinite; }
.claim-blocks.bounce .claim-block.b { animation: claim-bounce 1.1s ease-in-out infinite 0.15s; }
.claim-blocks.bounce .claim-block.c { animation: claim-bounce 1.1s ease-in-out infinite 0.3s; }
@keyframes claim-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.claim-wordmark {
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: inline-block;
}
a.claim-wordmark:hover { color: var(--ink); }

.claim-card h1 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 26px; margin: 0 0 8px; line-height: 1.25; color: var(--ink); }
.claim-subtext { font-size: 15px; color: var(--muted); margin: 0 0 26px; line-height: 1.55; }

.claim-btn {
    font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink);
    background: var(--yellow); border: 2.5px solid var(--ink); padding: 13px 28px; border-radius: 12px;
    cursor: pointer; box-shadow: 4px 4px 0 var(--ink); width: 100%;
    transition: transform .1s ease, box-shadow .1s ease;
}
.claim-btn:hover:not(:disabled) { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.claim-btn:active:not(:disabled) { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.claim-btn:disabled { background: var(--paper-line); color: var(--muted); box-shadow: none; cursor: not-allowed; opacity: 0.75; }
.claim-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.key-box { display: none; margin-top: 24px; padding: 18px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; }
.key-value { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; color: var(--ink); word-break: break-all; }

.copy-btn {
    margin-top: 14px; background: var(--card); border: 2px solid var(--ink); color: var(--ink); box-shadow: none;
    font-size: 13px; padding: 8px 16px; border-radius: 10px; font-family: 'Inter', sans-serif; font-weight: 600; cursor: pointer;
    transition: transform .1s ease, box-shadow .1s ease;
}
.copy-btn:hover:not(:disabled) { transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--ink); }

.claim-status { margin-top: 18px; font-size: 13px; color: var(--muted); min-height: 16px; font-family: 'JetBrains Mono', monospace; }

.provider-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
    font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink);
    background: var(--yellow); border: 2.5px solid var(--ink); padding: 14px; border-radius: 12px;
    cursor: pointer; text-decoration: none; margin-bottom: 12px; box-shadow: 4px 4px 0 var(--ink);
    transition: transform .1s ease, box-shadow .1s ease;
}
.provider-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.provider-btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.provider-btn.secondary { background: var(--blue); color: var(--paper); }
.provider-btn.tertiary { background: var(--red); color: var(--paper); }

.claim-note { font-size: 12.5px; color: var(--muted); margin-top: 22px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) { .claim-blocks.bounce .claim-block { animation: none; } }

/* ===== Terms page ===== */
main.narrow { max-width: 760px; }
.terms-title { font-family: 'Baloo 2', sans-serif; font-size: 34px; margin: 24px 0 6px; color: var(--ink); }
.terms-updated { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; font-family: 'JetBrains Mono', monospace; }

.terms-notice {
    background: rgba(232,72,59,0.08); border: 2px solid var(--red); border-radius: 12px;
    padding: 14px 18px; font-size: 14px; margin-bottom: 36px; color: var(--ink); line-height: 1.55;
}
.terms-notice strong { color: var(--red); }

.terms-section { margin-bottom: 34px; }
.terms-section h2 { font-family: 'Baloo 2', sans-serif; font-size: 20px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.terms-h2-tag {
    width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; color: var(--ink); flex-shrink: 0;
}
.terms-section:nth-of-type(1) .terms-h2-tag { background: var(--red); color: var(--paper); }
.terms-section:nth-of-type(2) .terms-h2-tag { background: var(--yellow); }
.terms-section:nth-of-type(3) .terms-h2-tag { background: var(--blue); color: var(--paper); }
.terms-section:nth-of-type(4) .terms-h2-tag { background: var(--red); color: var(--paper); }
.terms-section:nth-of-type(5) .terms-h2-tag { background: var(--yellow); }
.terms-section:nth-of-type(6) .terms-h2-tag { background: var(--blue); color: var(--paper); }

.terms-section h3 { font-size: 15px; font-weight: 700; margin: 18px 0 6px; color: var(--ink); font-family: 'Inter', sans-serif; }
.terms-section p, .terms-section li { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.terms-section ul { padding-left: 20px; margin: 8px 0; }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .hero h1 { font-size: 36px; }
    .brickyard { height: 300px; margin-top: 10px; }
    .path-line { display: none; }
    .steps, .features { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2,1fr); }
    .games-teaser { flex-direction: column; align-items: flex-start; }
    .cta-stamp { position: static; display: inline-block; margin-bottom: 16px; transform: rotate(-3deg); }
    .nav-inner { flex-wrap: wrap; row-gap: 12px; }
    .tabs { order: 3; width: 100%; justify-content: center; }
    .mock-body { flex-direction: column; }
    .mock-sidebar { width: 100%; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 2.5px solid var(--ink); }
    .mock-tab-btn { white-space: nowrap; }
    .mock-content-wrap { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 500px; /* Change to 8px, 16px, 20px, etc. */
}