:root {
    --bg: #070912;
    --bg-deep: #04050a;
    --surface: #101524;
    --surface-2: #161b2d;
    --surface-red: #391014;
    --primary: #f5c542;
    --primary-strong: #ffd86a;
    --secondary: #c62828;
    --secondary-strong: #e23b34;
    --win: #ffd54f;
    --button: #8e1b1b;
    --button-hover: #c62828;
    --text: #fff8eb;
    --muted: #c7c2b8;
    --border: rgba(245, 197, 66, .28);
    --border-soft: rgba(255, 255, 255, .09);
    --shadow: 0 20px 60px rgba(0, 0, 0, .38);
    --shadow-gold: 0 0 28px rgba(245, 197, 66, .18);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
            radial-gradient(circle at 50% 0%, rgba(198, 40, 40, .11), transparent 28rem),
            linear-gradient(180deg, #090b16 0%, #06070d 100%);
    color: var(--text);
    font-family: "Trebuchet MS", Arial, sans-serif;
    line-height: 1.65;
}
body.nav-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

:focus-visible {
    outline: 3px solid var(--primary-strong);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -70px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.notice-bar {
    position: relative;
    z-index: 90;
    border-bottom: 1px solid rgba(245,197,66,.28);
    background: #180d0d;
    color: #fff4d3;
}
.notice-bar__inner {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    font-size: .88rem;
    text-align: center;
}
.age-pill {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    min-width: 46px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid #f1cf68;
    border-radius: 999px;
    background: #9b1f1f;
    color: #fff;
    font-weight: 900;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(6, 7, 13, .92);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(14px);
}
.header-inner {
    width: min(var(--max), calc(100% - 28px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(245,197,66,.45);
    background: #11131e;
    object-fit: cover;
    box-shadow: var(--shadow-gold);
}
.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--primary-strong);
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}
.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav a {
    padding: 10px 11px;
    border-radius: 9px;
    color: #ece6db;
    font-size: .92rem;
}
.main-nav a:hover { background: rgba(245,197,66,.08); color: #fff; }
.header-cta { margin-left: 4px; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #121521;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--button);
    color: #fff9e9;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(142, 27, 27, .28), inset 0 1px 0 rgba(255,255,255,.14);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--button-hover); }
.btn--gold {
    background: linear-gradient(180deg, #ffe78e, #e5ad25);
    color: #271506;
    border-color: #fff0aa;
    box-shadow: 0 10px 30px rgba(245,197,66,.24);
}
.btn--gold:hover { background: linear-gradient(180deg, #fff0ad, #f5c542); }
.btn--ghost {
    background: rgba(8, 10, 18, .58);
    border-color: rgba(245,197,66,.35);
    color: var(--primary-strong);
    box-shadow: none;
}
.btn--ghost:hover { background: rgba(245,197,66,.09); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("../images/bg.webp") center 44% / cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
            linear-gradient(90deg, rgba(5,6,12,.88) 0%, rgba(5,6,12,.48) 48%, rgba(5,6,12,.64) 100%),
            linear-gradient(180deg, rgba(5,6,12,.18), rgba(5,6,12,.85));
}
.hero-inner {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 72px 0 78px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
    margin: 0 0 12px;
    color: #f0d174;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
}
h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    color: #fff9e5;
    text-shadow: 0 3px 0 rgba(0,0,0,.34), 0 0 22px rgba(245,197,66,.12);
}
.hero-lead {
    max-width: 58ch;
    margin: 20px 0 0;
    color: #eee8dc;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
}
.hero-facts li {
    padding: 7px 10px;
    border: 1px solid rgba(245,197,66,.22);
    border-radius: 999px;
    background: rgba(8,10,18,.6);
    color: #f1eadf;
    font-size: .84rem;
}
.hero-art {
    display: grid;
    place-items: center;
    align-self: stretch;
}
.hero-logo {
    width: min(100%, 620px);
    filter: drop-shadow(0 25px 32px rgba(0,0,0,.45));
}

.section { padding: clamp(66px, 8vw, 112px) 0; }
.section--surface {
    background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.005));
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.container { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    color: var(--primary-strong);

}
.section-subtitle { margin: 13px 0 0; color: var(--muted); }

.game-intro-grid,
.two-col {
    display: grid;

    gap: 34px;
    align-items: center;
}
.game-intro-grid .section-head {
    margin: 0 auto 34px;
    text-align: center;
}
.feature-card,
.info-card,
.faq-item,
.legal-callout {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(22,27,45,.94), rgba(10,12,22,.96));
    box-shadow: var(--shadow);
}
.feature-card {display: flex; flex-direction: column; padding: 26px; }
.feature-card h3 { margin: 0 0 9px; color: #ffe28c; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-list { display: grid; gap: 13px; margin-top: 18px; }
.feature-list div {
    display: flex;
    flex-direction: column;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}
.feature-list strong { display: block; color: #fff5d5; }
.feature-list span { color: #bdb8b0; font-size: .92rem; }
.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(245,197,66,.28);
    background: #1b1420;
    color: var(--primary);
    font-weight: 900;
}

.game-poster {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245,197,66,.27);
    background: url("../images/cell.webp") center/cover;
    box-shadow: var(--shadow), var(--shadow-gold);
}
.game-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,5,10,.1), rgba(4,5,10,.54));
}
.game-poster__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}
.game-poster__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(74%, 480px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 18px 20px rgba(0,0,0,.45));
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: #0e1220;
}
.step-no {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; background: #8e1b1b; color: #fff4cb; font-weight: 900;
    border: 1px solid rgba(255,213,79,.4);
}
.step-card h3 { margin: 16px 0 8px; font-size: 1.15rem; color: #ffe49a; }
.step-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.symbol-stage {
    overflow: hidden;
    border: 1px solid rgba(245,197,66,.24);
    border-radius: var(--radius-lg);
    background:
            radial-gradient(circle at 50% 44%, rgba(198,40,40,.12), transparent 32rem),
            #080b14;
    box-shadow: var(--shadow);
}
.symbol-stage img { width: 100%; }
.symbol-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.symbol-notes .info-card { padding: 20px; }
.symbol-notes h3 { margin: 0 0 7px; color: #ffe291; font-size: 1.05rem; }
.symbol-notes p { margin: 0; color: var(--muted); font-size: .92rem; }

.screenshot-grid {
    display: grid;
    grid-template-columns: 408px 300px;
    justify-content: center;
    align-items: start;
    gap: 24px;
    width: min(100%, 732px);
    margin: 0 auto;
}

.screenshot-card {
    margin: 0;
    min-width: 0;
}

.screenshot-desktop-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 408px;
    min-width: 0;
}

.screenshot-desktop-column .screenshot-card {
    width: 100%;
}

.screenshot-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245,197,66,.25);
    background: #080b14;
    box-shadow: var(--shadow);
}

.screenshot-desktop-column .screenshot-visual {
    aspect-ratio: 16 / 10;
}

.screenshot-card--mobile {
    width: 300px;
    margin: 0;
    justify-self: center;
}

.screenshot-card--mobile .screenshot-visual {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.screenshot-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.screenshot-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.06), transparent 70%);
}

.screenshot-card figcaption {
    padding: 11px 4px 0;
    color: #c8c2b8;
    font-size: .9rem;
    text-align: center;
}

.responsible-box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(245,197,66,.26);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1c1113, #0d101a 60%);
    box-shadow: var(--shadow);
}
.responsible-box h2 { margin: 0; color: #ffe18b; }
.responsible-box p { margin: 10px 0 0; color: var(--muted); max-width: 72ch; }

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: clip; box-shadow: none; }
.faq-question {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 0;
    background: transparent;
    color: #fff4d4;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}
.faq-question::after { content: "+"; color: var(--primary); font-size: 1.5rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.support-link {
    min-height: 92px;
    display: grid;
    place-items: center;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.support-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.support-link img { width: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.support-note { margin-top: 12px; color: #9f9a92; font-size: .84rem; }

.site-footer {
    border-top: 1px solid rgba(245,197,66,.18);
    background: #05060a;
    padding: 54px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 42px;
}
.footer-title { margin: 0 0 12px; color: #ffe18a; font-size: 1rem; font-family: inherit; }
.footer-copy { max-width: 52ch; color: #aaa59d; font-size: .9rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-links button {
    width: fit-content;
    padding: 0;
    border: 0;
    background: none;
    color: #cbc5bb;
    cursor: pointer;
}
.footer-links a:hover, .footer-links button:hover { color: var(--primary-strong); }
.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #8f8b85;
    font-size: .82rem;
}

.game-page-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 30px;
    text-align: center;
}

.game-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/bg.webp") center 46% / cover no-repeat;
    opacity: .42;
}

.game-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6,7,13,.3), rgba(6,7,13,1));
}

.game-page-logo {
    width: min(560px, 85%);
    margin: 0 auto 10px;
}

.game-disclaimer {
    max-width: 760px;
    margin: 10px auto 0;
    color: #d7d0c5;
}

.game-shell-wrap {
    width: 100%;
    padding: 28px 0 78px;
}

.game-shell {
    position: relative;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: #05070e;
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.game-shell::before {
    display: none;
}

.game-mount {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: inherit;
    background: #05070e;
}

.game-mount iframe,
.game-mount canvas,
.game-mount > div.game-build {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.game-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #05070e;
}

.game-viewport iframe,
.game-viewport canvas,
.game-viewport > div.game-build {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.game-frame-overlay,
.game-frame-bg {
    display: none;
}

.game-placeholder {
    position: relative;
    z-index: 1;
    width: min(620px, 78%);
    margin: auto;
    text-align: center;
}

.game-placeholder img {
    width: min(440px, 100%);
    margin: 0 auto 20px;
}

.game-placeholder h1 {
    font-size: clamp(1.55rem, 3.4vw, 2.8rem);
}

.game-placeholder p {
    max-width: 52ch;
    margin: 10px auto 0;
    color: #c6c0b6;
}

.game-controls {
    width: min(1180px, calc(100% - 28px));
    margin: 16px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.game-note {
    width: min(900px, calc(100% - 28px));
    margin: 24px auto 0;
    color: #a9a59e;
    text-align: center;
    font-size: .9rem;
}

.age-gate[hidden] { display: none; }
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2,3,7,.86);
    backdrop-filter: blur(12px);
}
.age-dialog {
    width: min(560px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow-y: auto;
    padding: clamp(24px, 6vw, 42px);
    border: 1px solid rgba(245,197,66,.42);
    border-radius: 24px;
    background:
            linear-gradient(rgba(8,10,17,.92), rgba(8,10,17,.98)),
            url("../images/cell.webp") center/cover;
    box-shadow: 0 36px 100px rgba(0,0,0,.62), 0 0 40px rgba(198,40,40,.13);
    text-align: center;
}
.age-dialog img { width: min(330px, 80%); margin: 0 auto 8px; }
.age-big {
    width: 86px; height: 86px; margin: 0 auto 18px; display: grid; place-items: center;
    border-radius: 50%; border: 2px solid #ffd76c; background: #8e1b1b; color: #fff6db;
    font-size: 2rem; font-weight: 900;
}
.age-dialog h2 { margin: 0; color: #ffe08a; }
.age-dialog p { color: #cfc8bd; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.age-denied-message { color: #ffe08a !important; font-weight: 800; }

.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-banner {
    position: fixed;
    z-index: 9990;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(245,197,66,.34);
    border-radius: 16px;
    background: rgba(10,12,20,.98);
    box-shadow: 0 22px 70px rgba(0,0,0,.55);
}
.cookie-banner p { margin: 0; color: #c8c2b8; font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: 8px 12px; font-size: .84rem; }
.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 9995;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2,3,7,.78);
}
.cookie-dialog {
    width: min(560px, 100%);
    padding: 28px;
    border: 1px solid rgba(245,197,66,.34);
    border-radius: 20px;
    background: #0d101b;
    box-shadow: var(--shadow);
}
.cookie-dialog h2 { margin-top: 0; color: #ffe18a; }
.cookie-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.cookie-row strong { color: #fff2d0; }
.cookie-row small { display: block; color: #9e9991; margin-top: 3px; }
.status-on { color: #f6d96e; font-weight: 900; white-space: nowrap; }
.screen-gallery .section-head {
    margin: 0 auto 34px;
    text-align: center;
}
@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 75px;
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #090b13;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .header-cta { margin-left: 0; }
    .nav-toggle { display: block; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-copy { margin: 0 auto; }
    .hero-actions, .hero-facts { justify-content: center; }
    .hero-art { order: -1; }
    .hero-logo { width: min(82%, 520px); }
    .game-intro-grid, .two-col { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    .screenshot-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: 100%;
        margin: 0 auto;
    }

    .screenshot-desktop-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: 100%;
    }

    .screenshot-desktop-column .screenshot-card {
        width: min(100%, 620px);
    }

    .screenshot-desktop-column .screenshot-visual {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .screenshot-card--mobile {
        width: min(100%, 300px);
        margin: 0 auto;
    }

    .screenshot-card--mobile .screenshot-visual {
        width: 100%;
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 720px) {
    .notice-bar__inner { align-items: flex-start; text-align: left; }
    .header-inner { min-height: 66px; }
    .brand-name { font-size: .95rem; }
    .main-nav { top: 67px; }
    .hero { min-height: auto; }
    .hero-inner { padding: 48px 0 58px; }
    .hero-art { margin-top: 4px; }
    .section { padding: 64px 0; }
    .steps, .symbol-notes, .support-grid { grid-template-columns: 1fr; }
    .responsible-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-banner { grid-template-columns: 1fr; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1 1 150px; }
    .age-actions { flex-direction: column; }
    .age-actions .btn { width: 100%; }
    .game-shell {
        width: calc(100% - 18px);
        border-radius: 12px;
    }
    .game-controls { width: calc(100% - 18px); }
}

@media (max-width: 430px) {
    .notice-bar__inner { width: min(var(--max), calc(100% - 18px)); font-size: .8rem; }
    .header-inner, .container, .hero-inner { width: min(var(--max), calc(100% - 18px)); }
    .brand-mark { width: 38px; height: 38px; }
    .brand-name { font-size: .88rem; }
    h1 { font-size: clamp(2.15rem, 13vw, 3rem); }
    .hero-lead { font-size: .96rem; }
    .hero-actions .btn { width: 100%; }
    .game-poster { min-height: 310px; }
    .step-card { min-height: 0; }
    .feature-card { padding: 20px; }
    .age-dialog { padding: 22px 18px; }
    .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 760px) {
    .game-mount {
        aspect-ratio: 9 / 16;
    }
}

main > .section {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}