@layer tokens, reset, composition, blocks, utilities, states;

/* CUBE CSS: design tokens */
@layer tokens {
  :root {
    color-scheme: dark;
    --ink-950: #07090d;
    --ink-900: #0d1118;
    --ink-850: #121824;
    --ink-800: #182131;
    --paper: #f7f9fc;
    --paper-soft: #d9e0eb;
    --muted: #9da9bb;
    --canada: #d8062f;
    --canada-deep: #9d001f;
    --canada-bright: #ff3156;
    --ice: #66d9ef;
    --ice-soft: #bcefff;
    --gold: #f2c56b;
    --good: #35d59d;
    --warning: #ffb454;
    --line: rgb(255 255 255 / 0.11);
    --line-strong: rgb(255 255 255 / 0.2);
    --glass: rgb(17 23 34 / 0.78);
    --shadow-1: 0 14px 34px rgb(0 0 0 / 0.3);
    --shadow-2: 0 28px 70px rgb(0 0 0 / 0.44);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --content: 97.5rem;
    --reading: 100%;
    --header-h: 4.75rem;
    --ease-out: cubic-bezier(0.2, 0.72, 0.2, 1);
  }
}

/* CUBE CSS: reset and global rules */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
  body {
    margin: 0;
    min-width: 20rem;
    min-height: 100vh;
    background:
      radial-gradient(circle at 84% 8%, rgb(216 6 47 / 0.15), transparent 27rem),
      radial-gradient(circle at 14% 24%, rgb(102 217 239 / 0.09), transparent 32rem),
      linear-gradient(180deg, #090c12 0%, #0d121b 45%, #080b10 100%);
    color: var(--paper-soft);
    font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
  }
  body.bonus-toast-open { overflow: hidden; }
  .go-link { cursor: pointer; }
  body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(115deg, transparent 0 46%, rgb(255 255 255 / 0.018) 46% 47%, transparent 47% 100%),
      linear-gradient(65deg, transparent 0 74%, rgb(216 6 47 / 0.02) 74% 75%, transparent 75% 100%);
    background-size: 5rem 5rem, 7rem 7rem;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    pointer-events: none;
  }
  img, svg { display: block; max-width: 100%; }
  button, input, select, textarea { color: inherit; font: inherit; }
  button, a, .go-link { -webkit-tap-highlight-color: transparent; }
  a, .go-link { color: var(--ice-soft); text-decoration-line: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
  h1, h2, h3, p, ul, ol, dl { margin-block-start: 0; }
  h1, h2, h3 {
    color: var(--paper);
    font-family: "Segoe UI Variable Display", Aptos Display, "Segoe UI", sans-serif;
    font-weight: 780;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-wrap: balance;
  }
  h1 { font-size: clamp(2.15rem, 4.2vw, 4.6rem); }
  h2 { font-size: clamp(1.65rem, 2.5vw, 2.7rem); }
  h3 { font-size: clamp(1.16rem, 1.5vw, 1.45rem); }
  :focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }
  ::selection { background: rgb(216 6 47 / 0.75); color: white; }
}

/* CUBE CSS: composition */
@layer composition {
  .page-grid {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr) 15rem;
    gap: 1.25rem;
    width: min(calc(100% - 2.5rem), var(--content));
    margin-inline: auto;
    padding-block: 1.5rem 5rem;
  }
  .content-column { display: grid; min-width: 0; gap: clamp(1.25rem, 2.7vw, 2.2rem); }
  .sidebar {
    position: sticky; top: calc(var(--header-h) + 1.25rem); align-self: start; min-width: 0;
    max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; scrollbar-width: thin;
    scrollbar-color: var(--canada) transparent;
  }
  .sidebar > * { position: static; }
  .sidebar-left { display: grid; align-content: start; gap: 1rem; }
  .sidebar-right { align-self: start; }
  .section-body { width: 100%; max-width: var(--reading); }
  .section-body > * + * { margin-block-start: 1rem; }
  .pros-cons-grid, .game-card-grid, .bonus-finder-facts, .footer-inner { display: grid; gap: 1rem; }
  .pros-cons-grid, .game-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-pair { display: flex; flex-wrap: wrap; gap: 0.75rem; }
}

/* CUBE CSS: blocks */
@layer blocks {
  .skip-link {
    position: fixed; top: 0.6rem; left: 0.6rem; z-index: 300; translate: 0 -180%;
    border-radius: 999px; background: var(--paper); color: var(--ink-950); padding: 0.7rem 1rem;
    font-weight: 750; transition: translate 180ms ease;
  }
  .skip-link:focus { translate: 0; }
  .site-header {
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line);
    background: rgb(7 9 13 / 0.78); backdrop-filter: blur(22px) saturate(145%);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: min(calc(100% - 2rem), var(--content)); min-height: var(--header-h);
    margin-inline: auto; gap: 1.25rem;
  }
  .brand { flex: 0 0 auto; width: 11rem; }
  .brand img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 0.28)); }
  .header-panel, .header-panel nav, .header-actions, .local-clock { display: flex; align-items: center; }
  .header-panel { flex: 1; justify-content: flex-end; gap: clamp(0.8rem, 2vw, 1.75rem); }
  .header-panel nav { gap: 0.35rem; }
  .header-panel nav a {
    position: relative; border-radius: 999px; color: var(--paper-soft); padding: 0.55rem 0.86rem;
    font-size: 0.93rem; font-weight: 680; text-decoration: none;
  }
  .header-panel nav a::after {
    position: absolute; right: 0.85rem; bottom: 0.35rem; left: 0.85rem; height: 2px;
    scale: 0 1; transform-origin: left; background: linear-gradient(90deg, var(--canada-bright), var(--ice));
    content: ""; transition: scale 240ms var(--ease-out);
  }
  .header-panel nav a[aria-current="page"] { background: rgb(255 255 255 / 0.07); color: white; }
  .header-panel nav a[aria-current="page"]::after { scale: 1; }
  .local-clock { gap: 0.45rem; color: var(--paper); font-variant-numeric: tabular-nums; }
  .local-clock small { color: var(--muted); font-size: 0.72rem; line-height: 1; }
  .local-clock-dot {
    width: 0.5rem; aspect-ratio: 1; border-radius: 50%; background: var(--canada-bright);
    box-shadow: 0 0 0 5px rgb(216 6 47 / 0.12), 0 0 16px var(--canada);
  }
  .header-actions { gap: 0.55rem; }
  .cta, .internal-button, .fortune-spin {
    position: relative; isolation: isolate; display: inline-flex; min-height: 2.85rem;
    align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px; background: linear-gradient(135deg, var(--canada-bright), var(--canada-deep));
    box-shadow: 0 12px 26px rgb(157 0 31 / 0.26); color: white; padding: 0.68rem 1.08rem;
    font-weight: 780; line-height: 1.1; text-decoration: none;
    transition: translate 180ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease;
  }
  .cta::before, .internal-button::before, .fortune-spin::before {
    position: absolute; inset: -40% auto -40% -55%; z-index: -1; width: 42%; rotate: 18deg;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55), transparent);
    content: ""; transition: left 480ms var(--ease-out);
  }
  .cta-outline { background: rgb(255 255 255 / 0.035); box-shadow: none; color: var(--paper); }
  .reading-progress { position: relative; height: 0.26rem; background: rgb(255 255 255 / 0.055); }
  .reading-progress-fill {
    display: block; width: var(--reading-progress, 0%); height: 100%;
    background: linear-gradient(90deg, var(--canada), var(--canada-bright) 55%, var(--ice));
    box-shadow: 0 0 18px rgb(255 49 86 / 0.6);
  }
  .reading-progress-offer-shell {
    position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; visibility: hidden;
    background: rgb(3 5 9 / 0.58); opacity: 0; padding: 1rem; pointer-events: none;
    backdrop-filter: blur(6px); transition: opacity 220ms ease, visibility 220ms ease;
  }
  .reading-progress-offer-card { position: relative; width: min(24rem, calc(100vw - 2rem)); translate: 0 -1rem; transition: translate 260ms var(--ease-out); }
  .reading-progress-offer {
    position: relative; display: grid; width: 100%;
    border: 1px solid rgb(255 49 86 / 0.55); border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgb(24 33 49 / 0.98), rgb(9 13 20 / 0.98)); color: var(--paper-soft);
    padding: 1rem 3.35rem 1rem 1.15rem; font-size: 0.9rem; line-height: 1.35; text-decoration: none;
    box-shadow: var(--shadow-2), 0 0 42px rgb(216 6 47 / 0.18);
  }
  .reading-progress-offer-close {
    position: absolute; top: 0.65rem; right: 0.65rem; z-index: 2; display: grid; width: 2.2rem; aspect-ratio: 1;
    place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: rgb(255 255 255 / 0.07);
    color: white; cursor: pointer; font-size: 1.25rem; line-height: 1; transition: background 180ms ease, border-color 180ms ease;
  }
  .reading-progress-offer-close:is(:hover, :focus-visible) { border-color: var(--canada-bright); background: rgb(216 6 47 / 0.28); }
  .reading-progress-offer-cta {
    justify-self: start; min-height: 2.35rem; margin-top: 0.85rem; border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px; background: linear-gradient(135deg, var(--canada-bright), var(--canada-deep));
    box-shadow: 0 9px 22px rgb(157 0 31 / 0.28); color: white; padding: 0.48rem 0.9rem;
    font-size: 0.82rem; font-weight: 800; line-height: 1.1;
  }
  .reading-progress-offer:is(:hover, :focus-visible) .reading-progress-offer-cta { filter: brightness(1.1); }
  .reading-progress-offer-shell.is-toast-visible { visibility: visible; opacity: 1; pointer-events: auto; }
  .reading-progress-offer-shell.is-toast-visible .reading-progress-offer-card { translate: 0; }
  .reading-progress-kicker { color: var(--canada-bright); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
  .reading-progress-value { position: absolute; right: 0.35rem; bottom: 0.38rem; color: var(--muted); font-size: 0.62rem; }
  .menu-toggle {
    position: relative; display: none; width: 2.9rem; aspect-ratio: 1; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: var(--glass);
  }
  .menu-toggle > span:not(.sr-only) { position: absolute; top: 50%; left: 50%; display: block; width: 1.15rem; height: 2px; background: white; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle > span:nth-child(1) { transform: translate(-50%, -0.42rem); }
  .menu-toggle > span:nth-child(2) { transform: translate(-50%, -50%); }
  .menu-toggle > span:nth-child(3) { transform: translate(-50%, 0.3rem); }
  .hero {
    position: relative; isolation: isolate; display: grid; min-height: clamp(25rem, 46vw, 33rem);
    align-items: end; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-xl);
    background: var(--ink-900); box-shadow: var(--shadow-2), inset 0 0 0 1px rgb(255 255 255 / 0.03);
  }
  .hero::after {
    position: absolute; inset: auto 0 0; z-index: -1; height: 0.32rem;
    background: linear-gradient(90deg, var(--canada), white 48% 52%, var(--canada)); content: "";
  }
  .hero-art, .promo-art {
    position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover;
    object-position: var(--hero-focus, var(--focus, 78% 50%));
  }
  .hero-overlay, .promo-overlay {
    position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(90deg, rgb(5 8 13 / 0.96) 0%, rgb(5 8 13 / 0.8) 42%, rgb(5 8 13 / 0.1) 78%), linear-gradient(0deg, rgb(5 8 13 / 0.78), transparent 60%);
  }
  .hero-copy { width: min(71%, 46rem); padding: clamp(1.5rem, 4vw, 3.5rem); }
  .hero-copy h1 { margin-bottom: 1rem; text-shadow: 0 4px 30px rgb(0 0 0 / 0.65); }
  .hero-copy p { max-width: 62ch; margin-bottom: 1.5rem; color: #e7edf7; font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.65; }
  .sidebar-card, .content-section, .game-slider, .bonus-finder, .service-block, .not-found-card {
    border: 1px solid var(--line); background: linear-gradient(145deg, rgb(24 33 49 / 0.88), rgb(11 15 22 / 0.9)); box-shadow: var(--shadow-1);
  }
  .sidebar-card { overflow: hidden; border-radius: var(--radius-md); padding: 0.75rem; }
  .sidebar-title, .component-kicker, .eyebrow { margin-bottom: 0.7rem; color: var(--canada-bright); font-size: 0.72rem; font-weight: 820; letter-spacing: 0.13em; text-transform: uppercase; }
  .shortcut-list :is(a, .go-link), .article-nav-links a {
    display: flex; align-items: center; gap: 0.7rem; border-radius: 0.65rem; color: var(--paper-soft);
    padding: 0.55rem 0.62rem; font-size: 0.86rem; line-height: 1.3; text-decoration: none;
    transition: background 180ms ease, color 180ms ease, translate 180ms var(--ease-out);
  }
  .shortcut-list svg {
    width: 1.2rem; flex: 0 0 auto; fill: none; stroke: var(--ice); stroke-linecap: round;
    stroke-linejoin: round; stroke-width: 1.7; transition: rotate 260ms var(--ease-out), stroke 180ms ease;
  }
  .article-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
  .article-nav-toggle { width: 1.9rem; aspect-ratio: 1; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.06); }
  .article-nav-toggle span {
    display: block; width: 0.55rem; height: 0.55rem; margin: auto; rotate: 45deg;
    border-right: 2px solid white; border-bottom: 2px solid white; transition: rotate 180ms ease;
  }
  .article-nav-links { max-height: 25rem; overflow: auto; scrollbar-color: var(--canada) transparent; }
  .article-nav-links a { align-items: flex-start; border-left: 2px solid transparent; border-radius: 0; padding-block: 0.42rem; color: var(--muted); }
  .article-nav-links a.is-active { border-left-color: var(--canada-bright); color: white; }
  .game-shortcuts { display: grid; gap: 0.8rem; }
  .game-shortcuts :is(a, .go-link) {
    position: relative; isolation: isolate; display: grid; min-height: 9rem; align-items: end; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius-md);
    background-image: linear-gradient(0deg, rgb(4 7 11 / 0.94), transparent 70%), var(--thumb);
    background-position: center; background-size: cover; color: white; padding: 0.75rem;
    font-weight: 800; line-height: 1.1; text-decoration: none;
    transition: background-size 480ms var(--ease-out), border-color 220ms ease, translate 220ms var(--ease-out);
  }
  .game-shortcuts :is(a, .go-link) { background-image: linear-gradient(0deg, rgb(4 7 11 / 0.94), transparent 70%), var(--generated-thumb, var(--thumb)); }
  .content-section {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.2rem, 2vw, 2rem);
    transition: border-color 260ms ease, box-shadow 260ms ease, translate 260ms var(--ease-out);
  }
  .content-section::before {
    position: absolute; top: 0; left: 0; width: 0.32rem; height: 100%; scale: 1 0.16;
    transform-origin: top; background: linear-gradient(var(--canada-bright), white 46%, var(--ice));
    content: ""; transition: scale 420ms var(--ease-out);
  }
  .content-section > h2 { max-width: none; margin-bottom: 1.35rem; }
  .content-section h3 { margin-block: 1.45rem 0.65rem; color: #fff; }
  .content-section p:last-child, .content-section ul:last-child, .content-section ol:last-child { margin-bottom: 0; }
  .section-responsible { border-color: rgb(255 180 84 / 0.36); background: linear-gradient(145deg, rgb(54 34 19 / 0.45), rgb(13 17 24 / 0.94)); }
  .section-conclusion { border-color: rgb(102 217 239 / 0.3); background: linear-gradient(145deg, rgb(16 46 58 / 0.48), rgb(13 17 24 / 0.96)); }
  .section-cta { margin-top: 1rem; }
  .source-list { display: grid; gap: 0.65rem; padding-left: 1.3rem; }
  .source-list li::marker { color: var(--canada-bright); font-weight: 800; }
  .steps-thread { list-style: none; counter-reset: step; padding-left: 0; }
  .steps-thread li { position: relative; min-height: 2.6rem; padding-left: 3.1rem; counter-increment: step; }
  .steps-thread li::before {
    position: absolute; top: 0; left: 0; display: grid; width: 2.25rem; aspect-ratio: 1; place-items: center;
    border: 1px solid rgb(255 255 255 / 0.16); border-radius: 50%; background: linear-gradient(135deg, var(--canada), var(--ink-800));
    color: white; content: counter(step); font-weight: 850;
  }
  .table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgb(4 7 11 / 0.42); scrollbar-color: var(--canada) transparent; }
  table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; }
  th, td { min-width: 9.5rem; border-bottom: 1px solid var(--line); padding: 0.95rem 1.15rem; text-align: left; vertical-align: top; }
  th { position: sticky; top: 0; z-index: 2; background: #95122a; color: white; font-size: 0.78rem; letter-spacing: 0.045em; text-transform: uppercase; }
  th:first-child { left: auto; }
  td:first-child { position: static; left: auto; }
  tbody tr { transition: background 180ms ease, color 180ms ease; }
  tbody tr:nth-child(even) { background: rgb(255 255 255 / 0.025); }
  .pros-cons-grid { margin-top: 1.5rem; }
  .compare-card, .game-info-card {
    position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md);
    background: rgb(7 10 15 / 0.54); padding: 1.15rem;
    transition: translate 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
  }
  .compare-card::after, .game-info-card::after {
    position: absolute; inset: auto -30% 0; height: 2px; translate: -65% 0;
    background: linear-gradient(90deg, transparent, var(--ice), transparent); content: ""; transition: translate 420ms var(--ease-out);
  }
  .compare-card.is-positive { border-top-color: rgb(53 213 157 / 0.7); }
  .compare-card.is-caution { border-top-color: rgb(255 180 84 / 0.72); }
  .compare-card h3, .game-info-card h3 { margin-top: 0; }
  .game-card-grid { margin-block: 1.2rem; }
  .section-rng .game-info-card:nth-child(1) { background: radial-gradient(circle at 88% 12%, rgb(242 197 107 / 0.2), transparent 36%), linear-gradient(145deg, #17120d, #080c13 72%); }
  .section-rng .game-info-card:nth-child(2) { background: radial-gradient(circle at 88% 12%, rgb(216 6 47 / 0.22), transparent 38%), linear-gradient(145deg, #1c0d14, #080c13 72%); }
  .section-rng .game-info-card:nth-child(3) { background: radial-gradient(circle at 88% 12%, rgb(102 217 239 / 0.18), transparent 38%), linear-gradient(145deg, #0b1820, #080c13 72%); }
  .section-rng .game-info-card:nth-child(4) { background: radial-gradient(circle at 88% 12%, rgb(155 91 255 / 0.18), transparent 38%), linear-gradient(145deg, #151025, #080c13 72%); }
  .section-rng .game-info-card:nth-child(5) { background: radial-gradient(circle at 88% 12%, rgb(53 213 157 / 0.18), transparent 38%), linear-gradient(145deg, #0b1a18, #080c13 72%); }

  .promotion-detail-cards .section-body > h3,
  .promotion-detail-cards .section-body > h3 + p,
  .promotion-detail-cards .section-body > h3 + p + ul,
  .promotion-detail-cards .section-body > h3 + ul {
    margin-block: 0; border-inline: 1px solid var(--line); background: linear-gradient(145deg, rgb(24 33 49 / 0.76), rgb(7 10 15 / 0.82));
    padding-inline: 1rem;
  }
  .promotion-detail-cards .section-body > h3 { margin-top: 1rem; border-top: 1px solid var(--line); border-radius: var(--radius-md) var(--radius-md) 0 0; padding-top: 1rem; }
  .promotion-detail-cards .section-body > h3 + p { padding-block: 0.15rem 0.75rem; }
  .promotion-detail-cards .section-body > h3 + p + ul,
  .promotion-detail-cards .section-body > h3 + ul { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 0 1.15rem 1rem 2.2rem; }
  .promotion-detail-cards .section-body > h3:nth-of-type(1) { border-top-color: var(--canada-bright); background-image: radial-gradient(circle at 90% 0, rgb(255 49 86 / 0.18), transparent 38%); }
  .promotion-detail-cards .section-body > h3:nth-of-type(2) { border-top-color: var(--gold); background-image: radial-gradient(circle at 90% 0, rgb(242 197 107 / 0.18), transparent 38%); }
  .promotion-detail-cards .section-body > h3:nth-of-type(3) { border-top-color: var(--ice); background-image: radial-gradient(circle at 90% 0, rgb(102 217 239 / 0.16), transparent 38%); }
  .promotion-detail-cards .section-body > h3:nth-of-type(4) { border-top-color: #9b5bff; background-image: radial-gradient(circle at 90% 0, rgb(155 91 255 / 0.16), transparent 38%); }
  .promotion-detail-cards .section-body > h3:nth-of-type(5) { border-top-color: var(--good); background-image: radial-gradient(circle at 90% 0, rgb(53 213 157 / 0.16), transparent 38%); }
  .promotion-detail-cards .section-body > h3:nth-of-type(6) { border-top-color: var(--warning); background-image: radial-gradient(circle at 90% 0, rgb(255 180 84 / 0.16), transparent 38%); }

  .vip-level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0; list-style: none; }
  .vip-level-grid li { min-height: 5.2rem; border: 1px solid var(--line); border-top-color: var(--canada-bright); border-radius: var(--radius-sm); background: linear-gradient(145deg, rgb(216 6 47 / 0.11), rgb(7 10 15 / 0.72)); padding: 0.8rem 0.9rem; }

  .editorial-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
  .editorial-review-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.15rem; box-shadow: 0 16px 34px rgb(0 0 0 / 0.22); }
  .editorial-review-card:nth-child(1) { background: radial-gradient(circle at 100% 0, rgb(216 6 47 / 0.2), transparent 42%), #0a0e16; }
  .editorial-review-card:nth-child(2) { background: radial-gradient(circle at 100% 0, rgb(102 217 239 / 0.18), transparent 42%), #0a0e16; }
  .editorial-review-card:nth-child(3) { background: radial-gradient(circle at 100% 0, rgb(242 197 107 / 0.18), transparent 42%), #0a0e16; }
  .editorial-review-card:nth-child(4) { background: radial-gradient(circle at 100% 0, rgb(155 91 255 / 0.18), transparent 42%), #0a0e16; }
  .editorial-review-card:nth-child(5) { background: radial-gradient(circle at 100% 0, rgb(53 213 157 / 0.17), transparent 42%), #0a0e16; }
  .editorial-review-card h3 { margin: 0 0 0.4rem; }
  .editorial-review-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.8rem; color: var(--gold); font-size: 0.78rem; font-weight: 760; letter-spacing: 0.035em; }
  .editorial-review-card p { margin-bottom: 0; }
  .review-summary { border-left: 3px solid var(--ice); background: rgb(102 217 239 / 0.06); padding: 0.85rem 1rem; }
  .expert-byline { display: inline-flex; max-width: 100%; border: 1px solid rgb(242 197 107 / 0.36); border-radius: 0.8rem; background: rgb(242 197 107 / 0.09); color: var(--gold); padding: 0.55rem 0.85rem; font-weight: 800; line-height: 1.45; }
  .expert-meta { display: block; max-width: 48rem; margin-bottom: 0; border-left: 3px solid rgb(242 197 107 / 0.66); background: rgb(242 197 107 / 0.055); color: var(--gold); padding: 0.58rem 0.8rem; font-weight: 720; line-height: 1.55; }
  .promo-banner {
    position: relative; isolation: isolate; display: grid; min-height: 22rem; align-items: center; overflow: hidden;
    border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  }
  .promo-art { transition: scale 700ms var(--ease-out), filter 400ms ease; }
  .promo-overlay { background: linear-gradient(90deg, rgb(5 8 13 / 0.95), rgb(5 8 13 / 0.68) 48%, rgb(5 8 13 / 0.08)); }
  .promo-copy { width: min(62%, 36rem); padding: clamp(1.4rem, 3vw, 2.6rem); }
  .promo-copy h2 { margin-bottom: 0.75rem; }
  .promo-copy p { color: var(--paper-soft); }
  .promo-copy p { max-width: 24ch; font-weight: 680; }
  .store-button {
    display: inline-flex; min-width: 12.5rem; align-items: center; gap: 0.75rem;
    border: 1px solid rgb(255 255 255 / 0.19); border-radius: 0.9rem;
    background: linear-gradient(145deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.035));
    color: white; padding: 0.72rem 0.9rem; text-decoration: none; backdrop-filter: blur(10px);
    transition: translate 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  }
  .store-logo { width: 1.8rem; height: 1.8rem; }
  .store-action { display: block; color: var(--muted); font-size: 0.7rem; line-height: 1.1; }
  .store-button strong { font-size: 0.9rem; line-height: 1.2; }
  .game-slider { overflow: hidden; border-radius: var(--radius-lg); padding: 1.15rem; }
  .game-slider-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
  .game-slider-header .component-kicker { display: block; margin-bottom: 0.2rem; }
  .game-slider-controls { display: flex; align-items: center; gap: 0.6rem; }
  .game-slider-status { max-width: 14rem; color: var(--muted); font-size: 0.75rem; text-align: right; }
  .game-slider-control, .review-control {
    display: grid; width: 2.35rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--line);
    border-radius: 50%; background: rgb(255 255 255 / 0.05); color: white; cursor: pointer;
  }
  .game-slider-viewport { overflow: hidden; }
  .game-slider-track { display: flex; width: max-content; animation: game-marquee 72s linear infinite; }
  .game-slider-group { display: flex; gap: 0.8rem; margin: 0; padding: 0 0.8rem 0 0; list-style: none; }
  .game-slider-card { width: clamp(11rem, 18vw, 14rem); flex: 0 0 auto; perspective: 50rem; }
  .game-slider-link {
    position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md);
    background: var(--ink-850); color: white; text-decoration: none; transform-origin: center bottom;
    transition: transform 260ms var(--ease-out), border-color 220ms ease, box-shadow 260ms ease;
  }
  .game-slider-link img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: scale 420ms var(--ease-out), filter 320ms ease; }
  .game-slider-card-copy { display: grid; min-height: 4.8rem; align-content: center; padding: 0.75rem; }
  .game-slider-card-copy strong { overflow: hidden; font-size: 0.82rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .game-slider-action { color: var(--canada-bright); font-size: 0.72rem; }
  .bonus-finder { overflow: hidden; margin-top: 1.5rem; border-radius: var(--radius-lg); padding: clamp(1rem, 2.4vw, 1.6rem); }
  .bonus-finder-heading h3 { margin: 0 0 0.5rem; }
  .bonus-finder-tabs { display: flex; gap: 0.5rem; overflow-x: auto; margin-block: 1rem; padding-bottom: 0.35rem; }
  .bonus-finder-tab {
    flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / 0.045);
    padding: 0.58rem 0.85rem; color: var(--paper-soft); cursor: pointer; font-size: 0.82rem; font-weight: 720;
    transition: translate 180ms var(--ease-out), background 180ms ease, border-color 180ms ease;
  }
  .bonus-finder-tab[aria-selected="true"] { border-color: var(--canada-bright); background: var(--canada); color: white; }
  .bonus-finder-result { border: 1px solid var(--line); border-radius: var(--radius-md); background: rgb(5 8 13 / 0.5); padding: 1rem; }
  .bonus-finder-result-head > span { color: var(--muted); font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .bonus-finder-result-head strong { display: block; color: white; font-size: 1.35rem; }
  .bonus-finder-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 1rem; }
  .bonus-finder-facts > div { border-left: 2px solid var(--canada); background: rgb(255 255 255 / 0.035); padding: 0.75rem; }
  .bonus-finder-facts dt { color: var(--muted); font-size: 0.75rem; }
  .bonus-finder-facts dd { margin: 0; color: white; font-weight: 740; }
  .bonus-finder-note { color: var(--muted); font-size: 0.85rem; }
  .faq-list { display: grid; gap: 0.65rem; }
  .faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgb(5 8 13 / 0.42); transition: border-color 180ms ease, background 180ms ease; }
  .faq-list summary { display: flex; align-items: center; gap: 0.85rem; padding: 1rem; color: white; cursor: pointer; font-weight: 720; line-height: 1.45; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list details p { margin: 0; border-top: 1px solid var(--line); padding: 1rem 1rem 1rem 3.35rem; }
  .faq-marker { position: relative; width: 1.45rem; aspect-ratio: 1; flex: 0 0 auto; border: 1px solid var(--canada-bright); border-radius: 50%; transition: rotate 220ms var(--ease-out), background 180ms ease; }
  .faq-marker::before, .faq-marker::after { position: absolute; top: 50%; left: 50%; width: 0.62rem; height: 2px; translate: -50% -50%; background: white; content: ""; }
  .faq-marker::after { rotate: 90deg; }
  details[open] .faq-marker { rotate: 45deg; background: var(--canada); }
  .glossary-term { border-bottom: 1px dashed var(--ice); color: var(--ice-soft); cursor: help; }
  .glossary-popover {
    position: fixed; z-index: 240; display: grid; max-width: min(20rem, calc(100vw - 2rem)); gap: 0.35rem;
    border: 1px solid rgb(102 217 239 / 0.4); border-radius: var(--radius-sm); background: #101824;
    box-shadow: var(--shadow-2); padding: 0.85rem; color: var(--paper-soft); font-size: 0.84rem; line-height: 1.45;
  }
  .glossary-popover strong { color: var(--ice-soft); }
  .site-footer { border-top: 1px solid var(--line); background: rgb(4 6 10 / 0.82); }
  .footer-inner { grid-template-columns: 1.6fr 0.7fr 0.9fr 1.4fr; width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; padding-block: 3rem; }
  .footer-brand img { width: 10rem; height: auto; }
  .footer-brand p, .footer-responsible p { max-width: 32ch; color: var(--muted); font-size: 0.85rem; }
  .footer-inner nav { display: grid; align-content: start; gap: 0.55rem; }
  .footer-inner nav a { color: var(--paper-soft); font-size: 0.87rem; text-decoration: none; }
  .footer-responsible { display: flex; align-items: flex-start; gap: 0.8rem; }
  .age-mark { display: grid; width: 3.25rem; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border: 2px solid var(--canada-bright); border-radius: 50%; color: white; font-weight: 850; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 1rem; width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: 0.78rem; }
  .back-to-top {
    position: fixed; right: 1.2rem; bottom: 5.4rem; z-index: 85; display: grid; width: 3rem; aspect-ratio: 1;
    place-items: center; translate: 0 6rem; border: 1px solid var(--line-strong); border-radius: 50%;
    background: conic-gradient(var(--canada) var(--page-progress, 0%), var(--ink-800) 0);
    box-shadow: var(--shadow-1); color: white; cursor: pointer; opacity: 0; transition: translate 260ms var(--ease-out), opacity 220ms ease;
  }
  .back-to-top::before { position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: var(--ink-900); content: ""; }
  .chat-shell { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 86; }
  .chat-launcher { display: flex; align-items: center; gap: 0.55rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px; background: linear-gradient(135deg, var(--canada), var(--canada-deep)); box-shadow: 0 15px 34px rgb(157 0 31 / 0.35); color: white; padding: 0.75rem 1rem; font-weight: 780; text-decoration: none; }
  .chat-launcher svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .chat-pulse { width: 0.52rem; aspect-ratio: 1; border-radius: 50%; background: white; box-shadow: 0 0 0 0 rgb(255 255 255 / 0.45); animation: chat-pulse 2.2s ease-out infinite; }
  .promo-launcher {
    position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 86; display: grid; width: 5.1rem; aspect-ratio: 1;
    place-items: center; border: 0.4rem solid #263044; border-radius: 50%;
    background: conic-gradient(from -45deg, #f11c48 0 25%, #f2f6fc 0 50%, #253249 0 75%, #d8062f 0 100%);
    box-shadow: var(--shadow-1), inset 0 0 0 2px rgb(255 255 255 / 0.18), inset 0 0 20px rgb(0 0 0 / 0.24);
    padding: 0; color: white; cursor: pointer; transition: scale 180ms var(--ease-out), filter 180ms ease;
  }
  .promo-launcher::before {
    position: absolute; top: -0.82rem; left: 50%; z-index: 3; translate: -50% 0;
    border-top: 0.72rem solid var(--gold); border-right: 0.43rem solid transparent; border-left: 0.43rem solid transparent;
    filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.5)); content: "";
  }
  .promo-launcher::after {
    position: absolute; inset: 50% auto auto 50%; z-index: 2; display: grid; width: 2.25rem; aspect-ratio: 1;
    translate: -50% -50%; place-items: center; border: 0.22rem solid rgb(255 255 255 / 0.3); border-radius: 50%;
    background: #080b11; box-shadow: 0 4px 12px rgb(0 0 0 / 0.46); color: white; content: "N"; font-size: 1.22rem; font-weight: 850;
  }
  .promo-launcher > span, .promo-launcher strong, .promo-launcher small { display: none; }
  .promo-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
  .promo-modal[hidden] { display: none; }
  .promo-backdrop { position: absolute; inset: 0; background: rgb(3 5 8 / 0.76); backdrop-filter: blur(12px); }
  .promo-dialog {
    position: relative; width: min(44rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; translate: 0 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--radius-xl); background: linear-gradient(145deg, #182236, #090d14 68%);
    box-shadow: var(--shadow-2); padding: clamp(1rem, 3vw, 2rem); transition: translate 260ms var(--ease-out);
  }
  .promo-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
  .promo-dialog h2, .promo-dialog h3 { margin-bottom: 0.5rem; }
  .promo-dialog-close { display: grid; width: 2.6rem; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgb(255 255 255 / 0.06); color: white; cursor: pointer; font-size: 1.45rem; }
  .fortune-card { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(14rem, 18rem); align-items: center; gap: 1.5rem; }
  .fortune-wheel-shell { position: relative; aspect-ratio: 1; }
  .fortune-wheel {
    position: absolute; inset: 8%; display: grid; rotate: var(--wheel-rotation, 0deg); place-items: center;
    border: 0.65rem solid #292f3d; border-radius: 50%; background: conic-gradient(from -45deg, #cb0b31 0 25%, #eef6ff 0 50%, #202c3f 0 75%, #ef274c 0);
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.24), 0 18px 40px rgb(0 0 0 / 0.45);
    transition: rotate 2.9s cubic-bezier(0.12, 0.65, 0.08, 1);
  }
  .fortune-wheel > span {
    position: absolute; z-index: 1; display: grid; width: 46%; place-items: center; color: white;
    font-size: clamp(0.42rem, 0.75vw, 0.56rem); font-weight: 780; letter-spacing: 0; line-height: 1.12; text-align: center;
    text-shadow: 0 2px 5px rgb(0 0 0 / 0.78);
  }
  .fortune-wheel > span b, .fortune-wheel > span small { display: block; font-size: inherit; line-height: inherit; white-space: nowrap; }
  .fortune-wheel > span:nth-child(2) { color: var(--ink-950); text-shadow: 0 1px 3px rgb(255 255 255 / 0.5); }
  .fortune-wheel > span:nth-child(1) { top: 17%; left: 50%; translate: -50% -50%; }
  .fortune-wheel > span:nth-child(2) { top: 50%; left: 83%; translate: -50% -50%; rotate: 90deg; }
  .fortune-wheel > span:nth-child(3) { top: 83%; left: 50%; translate: -50% -50%; rotate: 180deg; }
  .fortune-wheel > span:nth-child(4) { top: 50%; left: 17%; translate: -50% -50%; rotate: 270deg; }
  .fortune-wheel > strong { position: relative; z-index: 2; display: grid; width: 34%; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--ink-950); box-shadow: 0 0 0 5px rgb(255 255 255 / 0.22); color: white; font-size: 2rem; }
  .fortune-marker { position: absolute; top: 0; left: 50%; z-index: 2; width: 0; height: 0; translate: -50% 0; border-right: 0.75rem solid transparent; border-left: 0.75rem solid transparent; border-top: 1.5rem solid var(--gold); }
  .fortune-result { display: grid; margin-top: 1rem; border-left: 3px solid var(--canada-bright); padding-left: 0.8rem; }
  .fortune-result span, .promo-dialog footer { color: var(--muted); font-size: 0.86rem; }
  .promo-dialog footer { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .service-main, .not-found-main { width: min(calc(100% - 2rem), 62rem); min-height: calc(100vh - 20rem); margin-inline: auto; padding-block: 3rem 5rem; }
  .service-block, .not-found-card { border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 3rem); }
  .service-pair { border-top: 1px solid var(--line); padding-block: 1.35rem; transition: padding-left 220ms var(--ease-out), border-color 220ms ease; }
  .service-pair h2 { margin-bottom: 0.55rem; font-size: 1.3rem; }
  .service-pair p { margin-bottom: 0; }
  .not-found-card { text-align: center; }
  .not-found-code { display: block; color: var(--canada-bright); font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; letter-spacing: -0.09em; line-height: 0.9; }
  .site-loader { position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 1.2rem; background: #070a10; transition: opacity 420ms ease, visibility 420ms ease; }
  .site-loader[hidden] { display: none; }
  .loader-orbit { position: relative; display: grid; width: 6rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
  .loader-orbit span { position: absolute; inset: 0.35rem; border: 2px solid transparent; border-top-color: var(--canada-bright); border-radius: 50%; animation: loader-spin 1.2s linear infinite; }
  .loader-orbit span:nth-child(2) { inset: 0.8rem; border-top-color: white; animation-duration: 1.7s; animation-direction: reverse; }
  .loader-orbit span:nth-child(3) { inset: 1.3rem; border-top-color: var(--ice); animation-duration: 0.9s; }
  .loader-orbit strong { color: white; font-size: 1.25rem; }
  .loader-copy { display: grid; justify-items: center; }
  .loader-copy span { color: var(--muted); font-size: 0.78rem; }
  .loader-track { width: 10rem; height: 0.2rem; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / 0.08); }
  .loader-track span { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, var(--canada-bright), var(--ice), transparent); animation: loader-track 1.1s ease-in-out infinite; }
}

/* CUBE CSS: utilities */
@layer utilities {
  .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
  .promo-modal-cta[hidden], .fortune-spin[hidden] { display: none !important; }
}

/* CUBE CSS: state and interaction variants */
@layer states {
  @media (hover: hover) and (pointer: fine) {
    .header-panel nav a:hover::after { scale: 1; }
    .header-panel nav a:hover { color: white; }
    .cta:hover, .internal-button:hover, .fortune-spin:hover { translate: 0 -2px; border-color: rgb(255 255 255 / 0.42); box-shadow: 0 16px 36px rgb(216 6 47 / 0.35), 0 0 24px rgb(102 217 239 / 0.1); }
    .cta:hover::before, .internal-button:hover::before, .fortune-spin:hover::before { left: 125%; }
    .shortcut-list :is(a, .go-link):hover { translate: 0.25rem 0; background: linear-gradient(90deg, rgb(216 6 47 / 0.2), rgb(102 217 239 / 0.055)); color: white; }
    .shortcut-list :is(a, .go-link):hover svg { rotate: -8deg; stroke: white; }
    .article-nav-links a:hover { border-left-color: var(--ice); background: rgb(102 217 239 / 0.055); color: white; }
    .game-shortcuts :is(a, .go-link):hover { translate: 0 -3px; border-color: rgb(255 49 86 / 0.72); background-size: 112%; }
    .content-section:hover { translate: 0 -3px; border-color: rgb(255 49 86 / 0.34); box-shadow: var(--shadow-2), 0 0 44px rgb(216 6 47 / 0.07); }
    .content-section:hover::before { scale: 1; }
    tbody tr:hover { background: rgb(216 6 47 / 0.13); color: white; }
    .compare-card:hover, .game-info-card:hover { translate: 0 -4px; border-color: rgb(102 217 239 / 0.42); box-shadow: 0 15px 34px rgb(0 0 0 / 0.3); }
    .compare-card:hover::after, .game-info-card:hover::after { translate: 65% 0; }
    .promo-banner:hover .promo-art { scale: 1.035; filter: saturate(1.08) contrast(1.03); }
    .store-button:hover { translate: 0 -3px; border-color: var(--ice); background: linear-gradient(145deg, rgb(102 217 239 / 0.18), rgb(216 6 47 / 0.1)); box-shadow: 0 14px 34px rgb(102 217 239 / 0.15); }
    .game-slider-link:hover { transform: translateY(-6px) rotateX(3deg) rotateY(-2deg); border-color: var(--canada-bright); box-shadow: 0 20px 38px rgb(0 0 0 / 0.46), 0 0 22px rgb(216 6 47 / 0.16); }
    .game-slider-link:hover img { scale: 1.07; filter: saturate(1.14) contrast(1.04); }
    .bonus-finder-tab:hover { translate: 0 -2px; border-color: var(--ice); }
    .faq-list details:hover { border-color: rgb(255 49 86 / 0.42); background: rgb(216 6 47 / 0.05); }
    .footer-inner nav a:hover { color: var(--canada-bright); }
    .service-pair:hover { border-color: var(--canada-bright); padding-left: 0.75rem; }
  }
  .cta.is-pressed, .store-button.is-pressed { translate: 0 1px; scale: 0.985; }
  .site-header.is-scrolled { box-shadow: 0 12px 34px rgb(0 0 0 / 0.28); }
  .article-nav.is-collapsed .article-nav-links { display: none; }
  .article-nav.is-collapsed .article-nav-toggle span { rotate: 225deg; }
  .bonus-finder-result.is-switching { animation: result-in 300ms var(--ease-out); }
  .game-slider:is(:hover, :focus-within) .game-slider-track,
  .game-slider.is-user-paused .game-slider-track,
  .game-slider.is-visibility-paused .game-slider-track,
  .game-slider.is-reduced-motion .game-slider-track { animation-play-state: paused; }
  .game-slider.is-reduced-motion .game-slider-viewport { overflow-x: auto; }
  .back-to-top.is-visible { translate: 0; opacity: 1; }
  .promo-open { overflow: hidden; }
  .promo-modal.is-visible { opacity: 1; pointer-events: auto; }
  .promo-modal.is-visible .promo-dialog { translate: 0; }
  .promo-launcher.is-nudging { animation: promo-nudge 1.2s var(--ease-out) 2; }
  .promo-launcher:is(:hover, :focus-visible) { scale: 1.06; filter: saturate(1.12) brightness(1.05); }
  .fortune-result.is-selecting { opacity: 0.55; }
  .fortune-result.is-result-ready, .promo-modal-cta.is-result-ready { animation: result-in 320ms var(--ease-out); }
  .site-loader.is-leaving { visibility: hidden; opacity: 0; }

  @media (min-width: 56.01rem) {
    .hero { align-items: center; }
    .hero-copy {
      width: min(49%, 34rem); margin: clamp(1.4rem, 3vw, 2.4rem); padding: 0;
    }
    .hero-copy h1 { white-space: normal; text-wrap: balance; font-size: clamp(1.7rem, 2.5vw, 2.55rem); }
    .content-section > h2, .promo-copy h2 { white-space: nowrap; text-wrap: nowrap; font-size: clamp(1.15rem, 2vw, 2.15rem); }
  }

  @media (max-width: 84.99rem) {
    .page-grid { grid-template-columns: minmax(0, 1fr); width: min(calc(100% - 2rem), 72rem); }
    .sidebar-left, .sidebar-right, .local-clock { display: none; }
  }
  @media (max-width: 56rem) {
    :root { --header-h: 4.75rem; }
    .page-grid { display: block; width: min(calc(100% - 1rem), 48rem); padding-top: 0.7rem; }
    .sidebar-left { display: none; }
    .content-column { gap: 1rem; }
    .header-inner { position: relative; flex-wrap: nowrap; align-content: center; padding-block: 0.45rem; }
    .menu-toggle { position: relative; z-index: 112; display: grid; flex: 0 0 auto; cursor: pointer; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }
    .header-panel {
      position: absolute; top: calc(100% + 0.45rem); right: 0; z-index: 111; display: grid; width: min(22rem, calc(100vw - 1rem));
      max-height: calc(100vh - var(--header-h) - 1rem); overflow: auto; visibility: hidden; align-items: stretch;
      grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: stretch;
      gap: 0.65rem; translate: 0 -0.7rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
      background: linear-gradient(145deg, rgb(24 33 49 / 0.98), rgb(7 10 16 / 0.99)); box-shadow: var(--shadow-2);
      padding: 0.8rem; opacity: 0; pointer-events: none; transition: opacity 180ms ease, translate 220ms var(--ease-out), visibility 180ms ease;
    }
    .header-panel.is-open { visibility: visible; translate: 0; opacity: 1; pointer-events: auto; }
    .header-panel nav, .header-actions { display: grid; width: 100%; min-width: 0; align-items: stretch; justify-content: stretch; justify-items: stretch; gap: 0.35rem; }
    .header-panel nav a, .header-actions .cta { width: 100%; justify-content: center; text-align: center; }
    .header-panel nav a { display: flex; min-height: 2.65rem; align-items: center; justify-content: center; padding: 0.55rem 0.75rem; font-size: 0.9rem; }
    .header-actions .cta { min-height: 2.65rem; padding: 0.55rem 0.8rem; font-size: 0.86rem; }
    .reading-progress-value { display: none !important; }
    .hero { min-height: 34rem; }
    .hero-copy { width: 88%; }
    .pros-cons-grid, .game-card-grid, .footer-inner, .editorial-review-grid { grid-template-columns: 1fr; }
    .footer-inner { gap: 1.75rem; }
  }
  @media (max-width: 40rem) {
    :root { --header-h: 4.5rem; }
    .header-inner { width: calc(100% - 1rem); }
    .brand { width: 8.75rem; }
    .header-panel { width: min(20rem, calc(100vw - 1rem)); gap: 0.5rem; }
    .header-panel nav, .header-actions { display: grid; width: 100%; }
    .header-panel nav, .header-actions { grid-template-columns: 1fr; }
    .header-panel nav a, .header-actions .cta { width: 100%; justify-content: center; text-align: center; }
    .hero, .content-section, .promo-banner, .game-slider, .bonus-finder, .service-block, .not-found-card { border-radius: var(--radius-md); }
    .hero { min-height: 36rem; align-items: end; }
    .hero-art { object-position: 70% 50%; }
    .hero-overlay { background: linear-gradient(0deg, rgb(5 8 13 / 0.98) 0%, rgb(5 8 13 / 0.82) 48%, rgb(5 8 13 / 0.16) 100%); }
    .hero-copy, .promo-copy { width: 100%; padding: 1.25rem; }
    .hero-copy h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .promo-banner { min-height: 27rem; align-items: end; }
    .promo-overlay { background: linear-gradient(0deg, rgb(5 8 13 / 0.98), rgb(5 8 13 / 0.74) 50%, transparent); }
    .bonus-finder-facts { grid-template-columns: 1fr; }
    .vip-level-grid { grid-template-columns: 1fr; }
    .game-slider-header { align-items: flex-start; }
    .game-slider-status { display: none; }
    .store-button { width: 100%; }
    .fortune-card { grid-template-columns: 1fr; }
    .fortune-wheel-shell { width: min(17rem, 80vw); margin-inline: auto; }
    .footer-bottom { display: grid; }
    .promo-launcher { left: 0.65rem; bottom: 0.65rem; width: 3.8rem; border-width: 0.3rem; }
    .promo-launcher strong, .promo-launcher small, .chat-launcher > span:last-child { display: none; }
    .promo-launcher, .chat-launcher { display: grid; aspect-ratio: 1; place-items: center; padding: 0; }
    .chat-launcher { width: 3.2rem; }
    .promo-launcher { position: fixed; grid-template-columns: 1fr; text-align: center; }
    .promo-launcher::before { top: -0.65rem; border-top-width: 0.58rem; border-right-width: 0.34rem; border-left-width: 0.34rem; }
    .promo-launcher::after { width: 1.65rem; border-width: 0.16rem; font-size: 0.96rem; }
    .chat-launcher { position: relative; }
    .chat-launcher svg { width: 1.35rem; }
    .chat-launcher .chat-pulse { position: absolute; top: 0.42rem; right: 0.42rem; width: 0.38rem; }
    .chat-shell { right: 0.65rem; bottom: 0.65rem; }
    .back-to-top { right: 0.65rem; bottom: 4.4rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  }
  @keyframes game-marquee { to { translate: -50% 0; } }
  @keyframes chat-pulse { 70%, 100% { box-shadow: 0 0 0 0.7rem rgb(255 255 255 / 0); } }
  @keyframes promo-nudge { 45% { translate: 0 -0.45rem; } }
  @keyframes result-in { from { translate: 0 0.4rem; opacity: 0; } }
  @keyframes loader-spin { to { rotate: 1turn; } }
  @keyframes loader-track { from { translate: -120% 0; } to { translate: 240% 0; } }
}
