:root {
    color-scheme: dark;
    --bg: #180e28;
    --panel: #261a38;
    --panel-soft: #211530;
    --raised: #352446;
    --text: #faf7ff;
    --muted: #c7bdd4;
    --subtle: #a99abf;
    --border: #422e56;
    --green: #1de18b;
    --green-hover: #51edaa;
    --purple: #b77bff;
    --radius: 20px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
}
svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, textarea, select {
    font: inherit;
}
button, a, input, textarea, select, summary {
    -webkit-tap-highlight-color: transparent;
}
button, summary {
    cursor: pointer;
}
button {
    color: inherit;
}
h1, h2, h3, p, figure {
    margin: 0;
}
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.16;
    text-wrap: balance;
}
h2 {
    font-size: clamp(25px, 2.5vw, 36px);
}
h3 {
    font-size: 24px;
}
p + p {
    margin-top: 16px;
}
p {
    color: var(--muted);
    overflow-wrap: anywhere;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 5px;
}
.wrap {
    width: min(1320px, calc(100% - 72px));
    margin-inline: auto;
}
.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.skip:focus {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 14px 20px;
    color: #071f15;
    background: var(--green);
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    max-width: 100%;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--green);
    color: #062817;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    transition: background-color 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.btn:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}
.btn.secondary {
    background: var(--raised);
    border-color: #473257;
    color: var(--text);
}
.btn.secondary:hover {
    background: #49315f;
    border-color: #80619d;
}
.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #180e28f5;
    border-bottom: 1px solid #312040;
    backdrop-filter: blur(16px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 82px;
}
.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}
.brand img {
    width: 190px;
    height: 36px;
    object-fit: contain;
}
.main-nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}
.nav-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}
.nav-link:hover {
    color: var(--green);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-actions .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13px;
}
.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
}
.hero {
    display: grid;
    grid-template-columns: 53% 47%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 26px;
    min-height: 588px;
    border: 1px solid #432858;
    border-radius: 28px;
    background: radial-gradient(ellipse at 85% 30%, #532287 0%, #2b173f 32%, #20142f 67%);
}
.hero-copy {
    z-index: 2;
    padding: 46px 0 42px 42px;
    align-self: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ccb7e7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}
.hero h1 {
    margin-top: 22px;
    font-size: clamp(38px, 3.9vw, 57px);
    line-height: 1.07;
    letter-spacing: -0.035em;
}
.hero-intro {
    max-width: 510px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.65;
}
.hero-offer {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-offer strong {
    font-size: 30px;
    letter-spacing: -0.03em;
}
.hero-offer strong span {
    color: var(--green);
}
.hero-offer > span {
    color: #ccbddc;
    font-size: 12px;
}
.hero-actions {
    gap: 10px;
}
.promo-inline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    text-align: left;
}
.promo-inline span {
    font-size: 12px;
    color: var(--subtle);
}
.promo-inline strong {
    color: #d9b7ff;
    letter-spacing: 0.1em;
    font-size: 14px;
}
.promo-inline svg {
    width: 16px;
    height: 16px;
    color: var(--subtle);
}
.hero-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}
.quiet-link {
    font-size: 12px;
    color: #c1afd5;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #715188;
}
.quiet-link:hover {
    color: white;
}
.hero-art {
    position: relative;
    align-self: stretch;
    min-width: 0;
}
.hero-art::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    right: -15%;
    top: 6%;
    border: 1px solid #8250ae50;
    border-radius: 50%;
    z-index: -1;
}
.hero-art picture {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 121%;
    max-width: none;
}
.hero-art img {
    width: 100%;
    height: auto;
}
.section-space {
    margin-top: 44px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 20px;
}
.section-heading h2 {
    margin-top: 9px;
}
.catalog-intro {
    max-width: 800px;
    font-size: 15px;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 320px;
    padding: 2px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel);
    color: var(--subtle);
}
.search-field input {
    min-width: 0;
    width: 100%;
    padding: 12px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}
.search-field:focus-within {
    border-color: var(--purple);
}
.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}
.filter-button {
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 18px;
    color: var(--muted);
    background: var(--panel-soft);
    font-size: 13px;
    font-weight: 700;
}
.filter-button[aria-pressed="true"] {
    color: #fff;
    background: #683bb6;
    border-color: #9f6ddd;
}
.game-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--subtle);
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 16px;
}
.game-card {
    min-width: 0;
}
.game-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 238 / 319;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid #59406f;
}
.game-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}
.game-launch {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #180e28bb;
    opacity: 0;
    transition: opacity 180ms ease;
    font-weight: 700;
}
.game-launch svg {
    width: 46px;
    height: 46px;
    padding: 12px;
    border-radius: 50%;
    background: var(--green);
    color: #072315;
}
.game-cover:hover .game-launch, .game-cover:focus .game-launch {
    opacity: 1;
}
.game-cover:hover > img {
    transform: scale(1.035);
}
.game-caption {
    margin-top: 11px;
}
.game-caption h3 {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    text-wrap: initial;
}
.game-caption p {
    margin-top: 3px;
    font-size: 11px;
}
.game-caption small {
    display: block;
    font-size: 10px;
    color: var(--subtle);
}
.catalog-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 25px 0 8px;
}
.text-button {
    border: 0;
    background: transparent;
    color: #d9baff;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.empty-state {
    padding: 32px;
    text-align: center;
    background: var(--panel);
    border-radius: 14px;
}
.offer-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}
.offer-card {
    min-height: 212px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #52366b;
    background: var(--raised);
    isolation: isolate;
}
.offer-card > img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}
.offer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #201331f0, #20133190 48%, transparent 90%);
    z-index: -1;
}
.offer-card > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    min-height: 212px;
}
.offer-card small {
    color: #ddd0ee;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.offer-card h3 {
    font-size: 25px;
    margin-top: 10px;
    max-width: 230px;
}
.offer-arrow {
    display: flex;
    margin-top: auto;
    padding-top: 20px;
    color: var(--green);
}
.offer-card:hover {
    border-color: var(--purple);
}
.reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 52px;
    align-items: start;
}
.article-content, .sidebar {
    min-width: 0;
}
.content-block {
    padding: 34px 0;
    border-bottom: 1px solid #392647;
    scroll-margin-top: 105px;
}
.content-block:first-child {
    padding-top: 0;
}
.content-block h2, .content-block > h3 {
    margin-bottom: 20px;
}
.content-block p {
    line-height: 1.85;
}
.text-link {
    color: #d2acff;
    text-decoration: underline;
    text-decoration-color: #73519b;
    text-underline-offset: 5px;
    overflow-wrap: anywhere;
}
.text-link:hover {
    color: var(--green);
    text-decoration-color: var(--green);
}
.text-link svg {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-left: 3px;
}
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 22px;
    font-size: 14px;
}
.related-pages > a {
    display: inline-block;
    margin: 0 20px 14px 0;
}
.section-media {
    margin: 0 0 24px;
    max-width: 735px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #52306d;
}
.section-media img {
    width: 100%;
    height: auto;
}
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 22px 0;
    display: grid;
    gap: 12px;
}
.steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    counter-increment: step;
    color: var(--muted);
}
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #3c2455;
    color: #dbb9ff;
    font-size: 13px;
    font-weight: 700;
}
.table-scroll {
    overflow: auto;
    max-width: 100%;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--panel-soft);
}
th, td {
    padding: 15px 17px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #422e56;
}
thead th {
    background: #342145;
    color: #f2e9ff;
    font-size: 12px;
    line-height: 1.55;
}
tbody th {
    font-weight: 700;
    color: #f8f2ff;
}
td {
    color: #d5c9e1;
}
tbody tr:last-child th, tbody tr:last-child td {
    border-bottom: 0;
}
.note {
    border-left: 3px solid var(--purple);
    padding: 10px 16px;
    margin-top: 18px;
    background: #291b3a;
}
.sidebar-sticky {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-height: calc(100dvh - 134px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.sidebar {
    align-self: stretch;
}
.toc {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid #56396b;
    padding-left: 18px;
}
.toc .eyebrow {
    margin-bottom: 12px;
}
.toc a {
    padding: 9px 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.toc a:hover {
    color: var(--green);
}
.sidebar-card {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
    flex-shrink: 0;
    font-size: 12px;
}
.sidebar-card p {
    margin: 13px 0;
}
.inner-hero {
    padding: 26px 0 44px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--subtle);
    font-size: 12px;
    margin-bottom: 36px;
}
.breadcrumbs a:hover {
    color: var(--green);
}
.inner-hero h1 {
    overflow-wrap: anywhere;
    max-width: 1050px;
    font-size: clamp(32px, 4vw, 56px);
    margin: 18px 0;
}
.lead {
    max-width: 890px;
    font-size: 18px;
    line-height: 1.8;
}
.promo-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    border: 1px solid #8856b8;
    border-radius: 17px;
    padding: 25px;
    margin-top: 24px;
    background: #31203f;
}
.promo-card > div {
    flex: 1 1 100%;
}
.promo-card strong {
    display: block;
    margin: 8px 0;
    font-size: 34px;
    letter-spacing: 0.1em;
}
.promo-card p {
    font-size: 14px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.review-card header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    align-items: start;
    font-size: 14px;
}
.review-card header > span {
    color: #dab3ff;
    white-space: nowrap;
}
.review-card p {
    font-size: 14px;
    line-height: 1.75;
}
.review-card small {
    display: block;
    margin-top: auto;
    font-size: 11px;
    color: var(--subtle);
}
#reviews .reviews-grid {
    grid-template-columns: 1fr;
}
.faq-list, .rules-details {
    margin-top: 20px;
}
details {
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--panel-soft);
    margin-bottom: 11px;
}
summary {
    padding: 19px 22px;
    font-weight: 700;
    line-height: 1.5;
}
details p, details > div {
    padding: 0 22px 20px;
    font-size: 14px;
}
details > div p {
    padding: 0;
}
summary::marker {
    color: var(--purple);
}
.calculator {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin-top: 24px;
}
.calculator h3 {
    margin-bottom: 14px;
}
.calculator > p {
    font-size: 14px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    color: var(--muted);
}
.field.full {
    grid-column: 1 / -1;
}
.field input, .field select, .field textarea {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    background: #1d132a;
    color: #fff;
    border: 1px solid #674b7e;
    border-radius: 10px;
    padding: 12px 14px;
}
.field textarea {
    resize: vertical;
    line-height: 1.65;
}
.field small {
    color: var(--subtle);
}
.field.compact {
    min-width: 160px;
}
.result {
    display: block;
    margin-top: 20px;
    padding: 17px;
    border-left: 3px solid var(--green);
    background: #1c1427;
    font-size: 15px;
    overflow-wrap: anywhere;
}
.result[data-error="true"] {
    border-left-color: #ffb784;
}
.support-output {
    margin: 22px 0 14px;
}
.footer {
    margin-top: 70px;
    padding: 45px 0 24px;
    border-top: 1px solid var(--border);
    background: #130b21;
}
.footer-top {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
}
.footer-brand p {
    margin-top: 15px;
    color: var(--subtle);
    font-size: 12px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
.footer-links strong {
    margin-bottom: 4px;
    font-size: 13px;
}
.footer-link {
    color: var(--subtle);
    font-size: 12px;
    overflow-wrap: anywhere;
}
.footer-link:hover {
    color: white;
}
.footer-disclosure {
    display: flex;
    gap: 22px;
    margin-top: 35px;
    padding-top: 26px;
    border-top: 1px solid #33233f;
}
.age-badge {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: 1px solid #735388;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}
.footer-disclosure p {
    font-size: 11px;
    color: #aa9eb7;
    line-height: 1.8;
}
.footer-disclosure p + p {
    margin-top: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    font-size: 10px;
    color: var(--subtle);
}
.mobile-bottom {
    display: none;
}
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
    max-width: calc(100% - 32px);
    padding: 13px 23px;
    border-radius: 12px;
    background: #edfff6;
    color: #0f2d20;
    box-shadow: 0 8px 40px #0006;
    font-size: 14px;
}
/* Owner dashboard. No front-end build step or external UI library. */
.admin-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 36px auto 90px;
}
.admin-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
}
.auth-card {
    max-width: 540px;
    margin: 8vh auto;
}
.auth-card h1 {
    font-size: 30px;
    margin: 28px 0 14px;
}
.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.admin-head h1 {
    font-size: 34px;
    margin-bottom: 10px;
}
.admin-nav, .admin-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0;
}
.admin-nav [aria-current="page"] {
    border-color: var(--green);
}
.admin-form {
    display: grid;
    gap: 19px;
    margin-top: 24px;
}
.admin-form .btn {
    justify-self: start;
}
.admin-form fieldset {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: 24px;
    border: 1px solid #5c416f;
    border-radius: 12px;
}
.admin-form legend {
    font-size: 16px;
    font-weight: 700;
    padding: 0 10px;
}
.admin-card h2 {
    font-size: 27px;
    margin-bottom: 20px;
}
.admin-card p {
    font-size: 13px;
}
.admin-status {
    border: 1px solid #1ecb8c;
    background: #163c30;
    padding: 16px;
    margin: 20px 0;
    border-radius: 10px;
    color: white;
}
.admin-status.error {
    border-color: #e39b7a;
    background: #502c29;
}
.admin-card .toc {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
    border: 0;
    padding: 0;
    margin: 20px 0;
}
.code-tip {
    margin-top: 18px;
    overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
    .main-nav {
        gap: 16px;
    }
    .nav-link {
        font-size: 12px;
    }
    .header-inner {
        gap: 18px;
    }
    .hero-copy {
        padding-left: 30px;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero-art picture {
        width: 132%;
        right: -12%;
    }
    .reading-layout {
        grid-template-columns: minmax(0, 1fr) 215px;
        gap: 32px;
    }
    .games-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 1020px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 30px;
        background: #261638;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 24px 40px #0d081b66;
    }
    .main-nav.is-open {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .main-nav a {
        padding: 10px;
        font-size: 14px;
    }
    .menu-button {
        display: flex;
    }
    .hero {
        min-height: 580px;
        grid-template-columns: 54% 46%;
    }
    .hero h1 {
        font-size: 39px;
    }
    .hero-intro {
        font-size: 14px;
    }
    .hero-art picture {
        width: 145%;
        right: -24%;
    }
    .hero-offer strong {
        font-size: 28px;
    }
    .hero-actions .btn {
        padding-inline: 17px;
    }
    .offer-cards {
        gap: 12px;
    }
    .offer-card > div {
        padding: 18px;
    }
    .offer-card h3 {
        font-size: 21px;
    }
    .reading-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .sidebar {
        order: -1;
    }
    .sidebar-sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .sidebar .toc {
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        padding: 12px 0;
        border-left: 0;
        border-block: 1px solid var(--border);
        gap: 20px;
        overscroll-behavior-inline: contain;
    }
    .sidebar .toc .eyebrow {
        flex: 0 0 110px;
        margin: 0;
    }
    .sidebar .toc a {
        flex: 0 0 190px;
        min-width: 0;
        padding: 0;
    }
    .sidebar-card {
        display: none;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .reviews-grid, #reviews .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 85px;
    }
    .wrap {
        width: calc(100% - 32px);
    }
    .header-inner {
        min-height: 66px;
        gap: 10px;
    }
    .brand img {
        width: 154px;
        height: auto;
    }
    .header-actions {
        gap: 7px;
    }
    .header-actions .btn {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 9px;
    }
    .header-actions .btn.secondary {
        display: none;
    }
    .menu-button {
        width: 38px;
        height: 38px;
    }
    .hero {
        display: flex;
        flex-direction: column;
        margin-top: 16px;
        min-height: 0;
        border-radius: 22px;
        background: radial-gradient(ellipse at 80% 75%, #5e2599 0%, #28163b 43%, #211431 75%);
    }
    .hero-copy {
        padding: 28px 24px 0;
        align-self: auto;
    }
    .hero h1 {
        font-size: clamp(31px, 7.8vw, 48px);
        margin-top: 17px;
        line-height: 1.09;
    }
    .hero-intro {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.7;
    }
    .hero-offer {
        margin-top: 18px;
    }
    .hero-offer strong {
        font-size: 28px;
    }
    .hero-offer > span {
        font-size: 11px;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .hero-actions .btn {
        min-height: 49px;
        padding: 11px 10px;
        font-size: 13px;
    }
    .hero-actions svg {
        display: none;
    }
    .promo-inline {
        margin-top: 12px;
        gap: 10px;
    }
    .hero-shortcuts {
        margin-top: 5px;
        gap: 17px;
    }
    /* Keep the mobile artwork in flow: its height follows the full image. */
    .hero-art {
        min-height: 0;
        width: 100%;
        aspect-ratio: auto;
        flex: 0 0 auto;
        margin-top: 14px;
        overflow: hidden;
    }
    .hero-art picture {
        position: relative;
        display: block;
        width: 107%;
        max-width: none;
        margin-left: -2%;
        right: auto;
        bottom: auto;
    }
    .hero-art::before {
        width: 70%;
        height: 80%;
        right: 5%;
        top: 5%;
    }
    .section-space {
        margin-top: 34px;
    }
    .section-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .search-field {
        width: 100%;
    }
    .catalog-intro {
        font-size: 14px;
    }
    .filter-row {
        gap: 7px;
    }
    .filter-button {
        padding: 9px 12px;
        font-size: 11px;
        min-height: 40px;
    }
    .game-count {
        margin-left: 0;
        flex: 1 1 100%;
        margin-top: 2px;
    }
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 12px;
    }
    .game-cover {
        border-radius: 12px;
    }
    .offer-cards {
        grid-template-columns: 1fr;
    }
    .offer-card, .offer-card > div {
        min-height: 190px;
    }
    .offer-card h3 {
        font-size: 27px;
    }
    .offer-card > div {
        padding: 25px;
    }
    .offer-card > img {
        object-position: center 42%;
    }
    .reading-layout {
        gap: 28px;
    }
    .content-block {
        padding: 28px 0;
        scroll-margin-top: 82px;
    }
    .content-block p {
        font-size: 15px;
        line-height: 1.85;
    }
    .section-media {
        border-radius: 12px;
    }
    .table-scroll table {
        min-width: 540px;
    }
    th, td {
        padding: 14px 15px;
    }
    .inner-hero {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    .inner-hero h1 {
    overflow-wrap: anywhere;
        font-size: clamp(31px, 8vw, 44px);
    }
    .lead {
        font-size: 16px;
    }
    .breadcrumbs {
        margin-bottom: 25px;
    }
    .reviews-grid, #reviews .reviews-grid {
        grid-template-columns: 1fr;
    }
    .calculator {
        padding: 20px;
    }
    .form-grid {
        gap: 16px 12px;
    }
    .promo-card {
        padding: 21px;
    }
    .promo-card .btn {
        width: 100%;
    }
    summary {
        padding: 17px;
        font-size: 14px;
    }
    details p, details > div {
        padding: 0 17px 18px;
    }
    .footer {
        margin-top: 42px;
        padding-bottom: 96px;
    }
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
    .footer-disclosure {
        gap: 14px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .mobile-bottom {
        position: fixed;
        z-index: 35;
        bottom: 0;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        gap: 10px;
        padding: 11px 16px max(11px, env(safe-area-inset-bottom));
        background: #1a1029f7;
        border-top: 1px solid #49305d;
        backdrop-filter: blur(18px);
    }
    .mobile-bottom .btn {
        min-height: 46px;
        padding: 10px 14px;
        font-size: 13px;
    }
    .toast {
        bottom: 88px;
    }
    .admin-wrap {
        width: calc(100% - 24px);
        margin-top: 20px;
    }
    .admin-card {
        padding: 20px;
    }
    .admin-head h1 {
        font-size: 26px;
    }
    .admin-form fieldset {
        padding: 15px;
    }
    .admin-nav .btn {
        font-size: 12px;
        padding-inline: 12px;
    }
}
@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        padding-inline: 20px;
    }
    .hero-offer strong {
        font-size: 26px;
    }
    .eyebrow {
        font-size: 10px;
    }
}
@media (max-width: 359px) {
    .brand img {
        width: 133px;
    }
    .header-actions .btn {
        padding-inline: 9px;
        font-size: 11px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero-actions .btn {
        font-size: 12px;
    }
    .hero-offer strong {
        font-size: 24px;
    }
    .promo-inline {
        gap: 8px;
    }
    .promo-inline span {
        font-size: 11px;
    }
    .hero-shortcuts {
        gap: 13px;
    }
    .quiet-link {
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
