:root {
    --ink: #10201c;
    --muted: #5e706b;
    --deep: #07251f;
    --green: #0d6c51;
    --green-soft: #dff6e8;
    --gold: #f3c653;
    --gold-deep: #9f6b08;
    --coral: #ff7f50;
    --teal: #57c4b4;
    --paper: #fffaf0;
    --white: #ffffff;
    --line: rgba(16, 32, 28, .14);
    --shadow: 0 18px 45px rgba(8, 37, 31, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

body:has(.age-layer:not([hidden])) {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: var(--deep);
    color: #f8f1d4;
    padding: 8px 16px;
    font-size: .82rem;
    text-align: center;
}

.site-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 240, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-shell,
.hero-layout,
.contact-layout,
.split-layout,
.play-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-shell {
    min-height: 72px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: max-content;
}

.brand-link b,
.brand-link small {
    display: block;
    line-height: 1.05;
}

.brand-link b {
    font-size: 1.03rem;
}

.brand-link small {
    color: var(--green);
    font-weight: 800;
    letter-spacing: 0;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
    font-size: .95rem;
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
    color: var(--deep);
    background: #edf7ef;
}

.nav-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.nav-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--deep);
}

.hero-band {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 127, 80, .18), transparent 28%),
        linear-gradient(135deg, #07362c 0%, #0a5a44 50%, #f4cf69 160%);
    color: var(--white);
    padding: 54px 0 44px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    color: var(--gold);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 6vw, 4.85rem);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    line-height: 1.15;
}

.hero-copy p,
.page-hero p,
.section-title p {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.06rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--gold);
    color: #1d2616;
    box-shadow: 0 10px 24px rgba(76, 49, 0, .18);
}

.button-muted {
    background: rgba(255, 255, 255, .16);
    color: inherit;
    border-color: rgba(255, 255, 255, .32);
}

.button-quiet {
    background: var(--green-soft);
    color: var(--green);
}

.action-row,
.pill-row,
.tag-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meter {
    width: min(330px, 100%);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(5, 29, 23, .52);
    box-shadow: var(--shadow);
}

.hero-meter span,
.frame-status span {
    display: block;
    font-size: .82rem;
    font-weight: 900;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-meter strong {
    display: block;
    margin: 4px 0;
    font-size: 4rem;
    line-height: 1;
}

.hero-meter small {
    color: rgba(255, 255, 255, .78);
}

.proof-band,
.split-band,
.contact-strip {
    padding: 34px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.proof-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.proof-grid article,
.steps-list article {
    padding: 18px;
    border-left: 5px solid var(--coral);
    background: #f7fbf4;
    border-radius: 8px;
}

.proof-grid p,
.steps-list p,
.game-body p,
.legal-copy p {
    color: var(--muted);
}

.content-band,
.legal-band,
.play-band {
    padding: 54px 0;
}

.section-title {
    margin-bottom: 24px;
}

.section-title p,
.page-hero p {
    color: var(--muted);
}

.page-hero p {
    color: rgba(255, 255, 255, .76);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.all-games-grid {
    grid-template-columns: repeat(2, 1fr);
}

.game-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(16, 32, 28, .08);
}

.game-tile img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
}

.game-body {
    padding: 16px;
}

.game-body h2 {
    font-size: 1.3rem;
}

.tag-line {
    margin-bottom: 10px;
}

.tag-line span,
.pill-row span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: .78rem;
    font-weight: 900;
}

.play-band {
    background: #08251f;
    color: var(--white);
}

.play-shell {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
}

.frame-status {
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    text-align: right;
}

.frame-status strong {
    font-size: 2rem;
}

.game-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 22px 0;
}

.game-picker button {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    cursor: pointer;
}

.game-picker button.is-active {
    background: var(--gold);
    color: var(--deep);
    font-weight: 900;
}

.frame-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 22px;
    align-items: start;
}

.frame-shell {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: #020806;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
    scroll-margin-top: 112px;
}

.frame-shell iframe {
    display: block;
    width: 100%;
    height: min(72vh, 720px);
    min-height: 560px;
    border: 0;
}

.frame-copy {
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.frame-copy p {
    color: rgba(255, 255, 255, .8);
}

.frame-note {
    min-height: 48px;
    margin: 14px 0 0;
    font-size: .92rem;
}

.page-hero {
    padding: 58px 0 44px;
    background:
        linear-gradient(135deg, rgba(8, 37, 31, .92), rgba(13, 108, 81, .86)),
        #0d6c51;
    color: var(--white);
}

.legal-copy {
    max-width: 850px;
}

.legal-copy h2 {
    margin-top: 28px;
    font-size: 1.38rem;
}

.legal-copy a {
    color: var(--green);
    font-weight: 900;
}

.steps-list {
    display: grid;
    gap: 14px;
    width: min(540px, 100%);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 16px 18px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.contact-strip {
    background: #e7f7ee;
}

.site-footer {
    padding: 44px 0 24px;
    background: #061914;
    color: #eaf6ef;
}

.footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
}

.site-footer h2 {
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #eaf6ef;
    text-decoration: none;
}

.site-footer p {
    color: rgba(234, 246, 239, .72);
}

.footer-note {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

.cookie-bar,
.age-layer {
    position: fixed;
}

.cookie-bar {
    z-index: 50;
    right: 16px;
    bottom: 16px;
    width: min(410px, calc(100% - 32px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-bar p {
    margin-bottom: 10px;
    color: var(--muted);
}

.age-layer {
    z-index: 60;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 18, 14, .82);
}

.age-box {
    width: min(520px, 100%);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 28px;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.age-box p {
    color: var(--muted);
}

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .hero-layout,
    .split-layout,
    .frame-panel {
        display: grid;
    }

    .frame-panel {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .all-games-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 24px, 1120px);
    }

    .nav-button {
        display: block;
    }

    .site-menu {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 100%;
        display: none;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-menu.is-open {
        display: grid;
    }

    .site-menu a {
        padding: 12px;
    }

    .hero-band {
        padding: 38px 0 30px;
    }

    .proof-grid,
    .card-grid,
    .all-games-grid,
    .footer-grid,
    .game-picker {
        grid-template-columns: 1fr;
    }

    .play-topline,
    .contact-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .frame-status {
        text-align: left;
    }

    .frame-shell iframe {
        height: 560px;
        min-height: 560px;
    }

    .button {
        width: 100%;
    }

    .age-layer {
        padding: 12px;
        align-items: center;
    }

    .age-box {
        width: min(100%, 420px);
        max-height: calc(100dvh - 24px);
        padding: 18px;
    }

    .age-box h2 {
        margin-bottom: 10px;
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .age-box p {
        margin-bottom: 14px;
        font-size: .98rem;
        line-height: 1.45;
    }

    .age-box .eyebrow {
        font-size: .72rem;
    }

    .age-box .action-row {
        gap: 8px;
    }

    .age-box .button {
        min-height: 42px;
        padding: 9px 12px;
    }

    .cookie-bar {
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: auto;
        padding: 10px;
    }

    .cookie-bar p {
        margin-bottom: 8px;
        font-size: .88rem;
        line-height: 1.35;
    }

    .cookie-bar .button {
        min-height: 40px;
        padding: 8px 12px;
    }
}

@media (max-width: 390px) {
    .brand-link b {
        font-size: .94rem;
    }

    .hero-meter strong {
        font-size: 3.1rem;
    }

    .game-body,
    .play-shell,
    .age-box {
        padding: 14px;
    }

    .age-box h2 {
        font-size: 1.42rem;
    }

    .age-box p {
        font-size: .94rem;
    }
}
