/* MAD Studios — shared visual system */
:root {
    --ink: #071a18;
    --ink-2: #0a2421;
    --ink-3: #0e302a;
    --panel: rgba(12, 47, 41, 0.74);
    --panel-solid: #0d302a;
    --game-section-top: #092421;
    --line: rgba(190, 193, 63, 0.26);
    --line-strong: rgba(205, 207, 72, 0.58);
    --accent: #c8cf3c;
    --accent-soft: #e1df85;
    --text: #f1f0df;
    --muted: #b8c6bc;
    --muted-2: #91a89e;
    --serif: Georgia, 'Times New Roman', Times, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    --radius: 12px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow { width: min(calc(100% - 40px), 820px); }
.section { position: relative; padding: 100px 0; overflow: hidden; }
.section-compact { padding: 72px 0; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--ink);
    background: var(--accent);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--serif); font-weight: 400; line-height: 1.16; }
h1 { font-size: clamp(2.65rem, 6vw, 5.3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.25em; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading p:last-child { margin-bottom: 0; }
.accent-text { color: var(--accent-soft); }
.text-link { color: var(--accent-soft); font-weight: 700; }
.text-link::after { content: '  →'; }
.text-link:hover { color: var(--accent); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    background: linear-gradient(135deg, rgba(201, 208, 57, 0.2), rgba(23, 73, 55, 0.6));
    font-weight: 650;
    line-height: 1.2;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::before { content: '◈'; color: var(--accent); font-size: 0.9em; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); background-color: rgba(201, 208, 57, 0.14); }
.button-secondary { background: rgba(7, 26, 24, 0.5); }
.button-secondary::before { content: '✉'; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    min-height: 84px;
    border-bottom: 1px solid transparent;
    transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled,
.inner-page .site-header {
    border-bottom-color: rgba(195, 199, 76, 0.14);
    background: rgba(5, 23, 21, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 30px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.brand img { width: 174px; height: auto; }
.brand span { margin-top: -4px; padding-left: 66px; color: #e8eee8; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.42em; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; display: block; padding: 29px 0 23px; color: #d9e0da; font-size: 0.9rem; }
.primary-nav a::after { content: ''; position: absolute; right: 0; bottom: 18px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 180ms ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: rgba(9, 34, 31, 0.8); }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

/* Hero */
.hero {
    position: relative;
    min-height: clamp(650px, 49vw, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061b19;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 17, 15, 0.76) 0%, rgba(3, 20, 17, 0.42) 37%, rgba(3, 20, 17, 0.05) 65%, transparent 100%),
        linear-gradient(0deg, rgba(3, 18, 16, 0.72) 0%, transparent 27%),
        var(--hero-background-image) 52% center / cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background:
        radial-gradient(circle at 75% 22%, rgba(183, 219, 104, 0.17) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 50%, rgba(222, 206, 65, 0.25) 0 1px, transparent 3px),
        radial-gradient(circle at 58% 34%, rgba(222, 206, 65, 0.2) 0 1px, transparent 3px);
}

.hero-content { position: relative; z-index: 2; padding: 150px 0 108px; }
.hero-copy { max-width: 680px; }
.hero h1 { margin-bottom: 26px; font-size: clamp(3rem, 5.6vw, 5rem); text-wrap: balance; }
.hero .lead { max-width: 590px; margin-bottom: 32px; color: #d0d9d1; }
.hero-note { display: flex; gap: 28px; margin-top: 34px; color: var(--muted-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-note span::before { content: '✓'; margin-right: 8px; color: var(--accent); }

.hero-divider {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 3;
    height: 74px;
    overflow: hidden;
    pointer-events: none;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    clip-path: shape(
        from 0% 54%,
        curve to 25% 22% with 8% 54% / 17% 22%,
        curve to 75% 78% with 38% 22% / 62% 78%,
        curve to 100% 46% with 83% 78% / 92% 46%,
        line to 100% 100%,
        line to 0% 100%,
        close
    );
}

.hero-divider::before {
    background: var(--line-strong);
    filter: drop-shadow(0 -8px 20px rgba(2, 13, 12, 0.26));
}

.hero-divider::after {
    background: var(--game-section-top);
    transform: translateY(1.25px);
}

/* Home sections */
.game-section {
    background:
        radial-gradient(circle at 88% 20%, rgba(53, 112, 84, 0.22), transparent 32%),
        linear-gradient(180deg, var(--game-section-top), #071d1b 86%);
}
.game-section::before,
.about-section::after,
.trust-section::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(4px);
    background: repeating-radial-gradient(ellipse at center, transparent 0 18px, rgba(170, 181, 77, 0.36) 19px 20px, transparent 21px 36px);
    pointer-events: none;
}
.game-section::before { right: -170px; bottom: -150px; }
.feature-grid { display: grid; grid-template-columns: minmax(300px, 0.82fr) minmax(470px, 1.45fr); align-items: center; gap: 62px; }
.game-copy h2 { margin-bottom: 18px; }
.game-copy > p:not(.eyebrow) { color: var(--muted); }
.game-longevity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 14px; margin: 24px 0 4px; padding-left: 16px; border-left: 2px solid var(--accent); }
.game-longevity strong { color: var(--accent-soft); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.game-longevity span { color: var(--muted-2); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; margin: 35px 0; }
.stat { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 1.15rem; }
.stat strong { display: block; color: var(--text); font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.stat small { color: var(--muted-2); font-size: 0.78rem; }
.store-label { margin-bottom: 10px; color: var(--muted-2); font-size: 0.78rem; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.store-badges a { display: block; transition: opacity 180ms ease, transform 180ms ease; }
.store-badges a:hover { opacity: 0.88; transform: translateY(-2px); }
.store-badges img { height: 42px; width: auto; }
.store-badges .facebook-store img { height: 40px; }

.device-stage { position: relative; min-height: 495px; }
.device { position: absolute; overflow: hidden; border: 5px solid #1b2928; background: #071514; box-shadow: var(--shadow); }
.device img { width: 100%; height: 100%; object-fit: cover; }
.device-desktop { top: 30px; left: 0; width: 84%; aspect-ratio: 16 / 9; border-width: 12px 12px 24px; border-radius: 16px 16px 7px 7px; }
.device-desktop::after { content: ''; position: absolute; left: 35%; right: 35%; bottom: -17px; height: 5px; border-radius: 50%; background: #374846; }
.device-tablet { right: 4%; bottom: 25px; width: 32%; aspect-ratio: 9 / 16; border-radius: 17px; transform: rotate(3deg); }
.device-phone { right: -5%; bottom: 0; width: 20%; aspect-ratio: 9 / 18; border-radius: 20px; transform: rotate(6deg); border-width: 6px; }
.device-spark { position: absolute; top: 4px; right: 4%; z-index: 4; color: #efa4c4; font-size: 3rem; text-shadow: 0 0 18px rgba(255, 117, 184, 0.55); transform: rotate(18deg); }

.about-section {
    border-block: 1px solid var(--line);
    background:
        radial-gradient(circle at 16% 32%, rgba(90, 123, 63, 0.22), transparent 30%),
        linear-gradient(135deg, #0b2925, #08201e 62%, #0b2b26);
}
.about-section::after { left: -170px; top: -100px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr); gap: 64px; align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--muted); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 31px; border-bottom: 1px solid rgba(194, 200, 80, 0.1); color: #d1dcd3; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }

.trust-section {
    background:
        radial-gradient(circle at 80% 10%, rgba(54, 103, 73, 0.18), transparent 32%),
        linear-gradient(180deg, #071d1b, #0a2722);
}
.trust-section::before { left: -210px; bottom: -80px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card, .policy-card {
    position: relative;
    min-height: 240px;
    padding: 28px 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(17, 62, 53, 0.7), rgba(7, 31, 28, 0.86));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.info-card:hover, .policy-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background-color: rgba(20, 73, 60, 0.5); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border: 1px solid rgba(204, 207, 66, 0.5); border-radius: 50%; color: var(--accent); font-size: 1.5rem; }
.info-card h3, .policy-card h3 { margin-bottom: 15px; }
.info-card p, .policy-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.policy-section { border-top: 1px solid var(--line); background: linear-gradient(160deg, #0c2a25, #071c1a 70%); }
.policy-card { display: flex; flex-direction: column; min-height: 220px; }
.policy-card .card-icon { margin-bottom: 16px; }
.policy-card a { margin-top: auto; padding-top: 24px; color: var(--accent-soft); font-weight: 700; }
.policy-card a::after { content: '  →'; }

/* Inner pages */
.page-hero {
    position: relative;
    padding: 180px 0 92px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 80% 40%, rgba(72, 131, 91, 0.32), transparent 30%),
        linear-gradient(135deg, #061b19, #0b2d28 60%, #081f1c);
}
.page-hero::after { content: ''; position: absolute; right: -6%; bottom: -110px; width: 420px; height: 280px; border: 1px solid rgba(201, 203, 69, 0.13); border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 0 0 35px rgba(201, 203, 69, 0.025), 0 0 0 70px rgba(201, 203, 69, 0.018); }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted-2); font-size: 0.82rem; }
.breadcrumb a { color: var(--accent-soft); }

.game-page-hero {
    min-height: 720px;
    padding: 172px 0 118px;
    background: #061b19;
}

.game-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(2, 16, 14, 0.94) 0%, rgba(3, 19, 16, 0.82) 43%, rgba(3, 18, 16, 0.64) 100%),
        linear-gradient(0deg, rgba(3, 18, 16, 0.9) 0%, transparent 44%),
        var(--game-hero-background-image) center 48% / cover no-repeat;
    transform: scale(1.01);
}

.game-page-hero::after {
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 16% 31%, rgba(215, 224, 94, 0.18) 0 1px, transparent 3px),
        radial-gradient(circle at 72% 22%, rgba(180, 237, 117, 0.15) 0 1px, transparent 3px),
        radial-gradient(ellipse at center, transparent 48%, rgba(2, 14, 13, 0.34) 100%);
    box-shadow: none;
    opacity: 0.8;
    transform: none;
    pointer-events: none;
}

.game-page-hero .game-hero-inner {
    position: relative;
    z-index: 2;
}

.game-page-hero .game-hero-art > img:not(.game-logo-float) {
    border-color: rgba(220, 221, 133, 0.48);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.52), 0 0 0 8px rgba(4, 22, 19, 0.38);
}

.content-section { background: linear-gradient(180deg, #08221f, #071a18); }
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.content-copy h2 { margin-bottom: 24px; }
.content-copy h3 { margin: 38px 0 15px; }
.content-copy p, .content-copy li { color: var(--muted); }
.content-copy ul { padding-left: 1.2rem; }
.fact-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 48, 42, 0.62); box-shadow: var(--shadow); }
.fact-panel h2, .fact-panel h3 { margin-bottom: 20px; }
.fact-list { margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(199, 202, 72, 0.13); color: var(--muted); }
.fact-list strong { color: var(--text); font-weight: 650; text-align: right; }
.fact-list li:last-child { border-bottom: 0; }

.game-hero-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 70px; }
.game-hero-art { position: relative; }
.game-hero-art img { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.game-hero-art > img:not(.game-logo-float) { width: 100%; height: auto; object-fit: contain; }
.game-logo-float { position: absolute; left: -40px; bottom: -50px; width: 62%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5)); border: 0 !important; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-facebook { background: linear-gradient(135deg, rgba(66, 103, 178, 0.28), rgba(14, 52, 64, 0.72)); }
.button-facebook::before { content: 'f'; color: #dce7ff; font-family: Arial, sans-serif; font-weight: 800; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.gallery img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gallery .landscape { grid-column: span 2; }
.gallery .landscape img { aspect-ratio: 16 / 9; }
.gallery figcaption { padding: 14px 16px; color: var(--muted); font-size: 0.84rem; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 48, 42, 0.55); }
.support-card h2 { margin-bottom: 14px; font-size: 1.5rem; }
.support-card p { color: var(--muted); }
.support-card a { color: var(--accent-soft); font-weight: 700; }
.support-note { margin-top: 42px; padding: 26px 28px; border-left: 3px solid var(--accent); background: rgba(201, 206, 61, 0.07); }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 72px; align-items: start; }
.contact-details h2 { margin-bottom: 24px; }
.contact-details p { color: var(--muted); }
.contact-channel { padding: 20px 0; border-bottom: 1px solid rgba(200, 205, 65, 0.14); }
.contact-channel strong { display: block; margin-bottom: 4px; color: var(--text); }
.contact-channel a { color: var(--accent-soft); }
.contact-form { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 48, 42, 0.64); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 21px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 7px; color: #e1e8e2; font-size: 0.9rem; font-weight: 650; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    border: 1px solid rgba(184, 199, 104, 0.28);
    border-radius: 7px;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(4, 24, 22, 0.82);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-group textarea { min-height: 180px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201, 207, 60, 0.12); }
.form-group option { background: var(--ink); }
.form-help { margin: -8px 0 20px; color: var(--muted-2); font-size: 0.8rem; }
.form-alert { margin-bottom: 24px; padding: 14px 18px; border: 1px solid; border-radius: 7px; }
.form-alert.success { border-color: rgba(120, 205, 119, 0.5); color: #d6f0d3; background: rgba(66, 138, 81, 0.16); }
.form-alert.error { border-color: rgba(229, 137, 101, 0.45); color: #f3d6ca; background: rgba(176, 65, 51, 0.13); }
.form-alert ul { margin: 6px 0 0; padding-left: 1.2rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Legal documents */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: 112px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(9, 39, 35, 0.72); }
.legal-nav strong { display: block; margin-bottom: 12px; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-nav ol { margin: 0; padding-left: 1.15rem; }
.legal-nav li { padding: 4px 0; color: var(--muted); font-size: 0.88rem; }
.legal-nav a:hover { color: var(--accent-soft); }
.legal-document { max-width: 850px; }
.legal-document .updated { display: inline-flex; margin-bottom: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.8rem; }
.legal-document section { scroll-margin-top: 120px; margin-bottom: 48px; }
.legal-document h2 { margin-bottom: 19px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.legal-document h3 { margin: 30px 0 13px; font-size: 1.25rem; }
.legal-document p, .legal-document li { color: #bfcbc2; }
.legal-document li { margin-bottom: 10px; }
.legal-document a { color: var(--accent-soft); text-decoration: underline; text-decoration-color: rgba(204, 208, 68, 0.35); text-underline-offset: 3px; }
.legal-callout { padding: 22px 24px; border-left: 3px solid var(--accent); background: rgba(201, 205, 60, 0.065); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(145deg, #061917, #08221f); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 0.8fr; gap: 50px; padding-top: 65px; padding-bottom: 52px; }
.footer-brand .brand { align-items: flex-start; margin-bottom: 21px; }
.footer-brand .brand img { width: 168px; }
.footer-brand p, .site-footer p, .footer-links a { color: var(--muted); font-size: 0.88rem; }
.site-footer h2 { margin-bottom: 15px; font-family: var(--serif); font-size: 1.05rem; }
.site-footer a:hover { color: var(--accent-soft); }
.company-id { line-height: 1.85; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 17px; padding-bottom: 20px; border-top: 1px solid rgba(194, 199, 73, 0.13); }
.footer-bottom p { margin: 0; font-size: 0.75rem; }

@media (max-width: 1050px) {
    .primary-nav ul { gap: 15px; }
    .primary-nav a { font-size: 0.82rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .game-copy { max-width: 720px; }
    .device-stage { width: min(100%, 760px); margin-inline: auto; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .check-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .site-header { background: rgba(5, 23, 21, 0.92); }
    .menu-toggle { display: block; position: relative; z-index: 3; }
    .menu-toggle[aria-expanded='true'] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded='true'] span:nth-of-type(3) { opacity: 0; }
    .menu-toggle[aria-expanded='true'] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 84px 0 auto 0; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; background: rgba(5, 23, 21, 0.98); transition: max-height 200ms ease, opacity 160ms ease, visibility 160ms ease; }
    .primary-nav.is-open { max-height: calc(100vh - 84px); visibility: visible; opacity: 1; overflow-y: auto; border-top: 1px solid var(--line); }
    .primary-nav ul { display: block; width: min(calc(100% - 40px), var(--container)); margin-inline: auto; padding: 18px 0 28px; }
    .primary-nav a { padding: 13px 6px; font-size: 1rem; }
    .primary-nav a::after { right: auto; bottom: 8px; width: 30px; }
    .hero { min-height: 700px; }
    .hero::before { background: linear-gradient(90deg, rgba(3, 18, 16, 0.93) 0%, rgba(3, 20, 17, 0.7) 55%, rgba(3, 17, 15, 0.34)), linear-gradient(0deg, rgba(3, 18, 16, 0.82), transparent 44%), var(--hero-background-image) 64% center / cover no-repeat; }
    .hero-copy { max-width: 620px; }
    .split-content, .contact-layout, .game-hero-inner { grid-template-columns: 1fr; }
    .game-hero-art { max-width: 720px; }
    .game-page-hero::before {
        background:
            linear-gradient(180deg, rgba(2, 16, 14, 0.9) 0%, rgba(3, 19, 16, 0.78) 56%, rgba(3, 18, 16, 0.86) 100%),
            var(--game-hero-background-image) 58% center / cover no-repeat;
    }
    .game-page-hero .game-hero-art { margin-top: 16px; }
    .legal-layout { grid-template-columns: 1fr; gap: 34px; }
    .legal-nav { position: static; }
    .legal-nav ol { columns: 2; }
}

@media (max-width: 720px) {
    body { font-size: 15px; }
    .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 76px 0; }
    .header-inner { min-height: 74px; }
    .brand img { width: 145px; }
    .brand span { padding-left: 52px; font-size: 0.5rem; }
    .primary-nav { inset-block-start: 74px; }
    .hero { min-height: 700px; }
    .hero-content { padding: 128px 0 82px; }
    .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
    .hero-note { flex-direction: column; gap: 8px; }
    .hero-divider { height: 54px; }
    .stats-grid { gap: 18px 12px; }
    .stat { grid-template-columns: 34px 1fr; }
    .stat-icon { width: 34px; height: 34px; }
    .stat strong { font-size: 1.4rem; }
    .device-stage { min-height: 440px; }
    .device-desktop { top: 22px; width: 95%; }
    .device-tablet { right: 8%; width: 36%; }
    .device-phone { right: -1%; width: 22%; }
    .about-grid { grid-template-columns: 1fr; text-align: left; }
    .about-grid .check-list { grid-column: auto; grid-template-columns: 1fr; }
    .cards-grid, .support-grid { grid-template-columns: 1fr; }
    .info-card, .policy-card { min-height: 0; }
    .page-hero { padding: 145px 0 72px; }
    .game-page-hero { min-height: 0; padding-bottom: 104px; }
    .game-logo-float { left: 2%; bottom: -35px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery .landscape { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .contact-form { padding: 25px 19px; }
    .legal-nav ol { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
    .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (max-width: 470px) {
    .stats-grid { grid-template-columns: 1fr; }
    .store-badges img { height: 38px; }
    .device-stage { min-height: 330px; }
    .device-desktop { border-width: 7px 7px 16px; }
    .device-tablet { bottom: 14px; }
    .device-phone { bottom: 0; }
    .device-spark { font-size: 2rem; }
    .gallery { grid-template-columns: 1fr; }
    .gallery .landscape { grid-column: auto; }
    .page-actions .button { width: 100%; }
}

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