/* Pragmatic Demo V19 — base styles and current catalog theme. */

/* Base layout and responsive components. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0f1013;
  --panel: #191b20;
  --panel-raised: #24262d;
  --text: #f7f7f8;
  --muted: #aaaeb8;
  --line: #30323a;
  --yellow: #ff9a24;
  --cyan: #ffb454;
  --accent: #ff9a24;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Onest,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 850;
}
h3 {
  font-weight: 780;
  font-size: 1.05rem;
}
p {
  color: var(--muted);
}
::selection {
  background: var(--yellow);
  color: var(--bg);
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
.shell {
  width: min(1440px, calc(100% - 72px));
  margin-inline: auto;
}
.section {
  padding-block: 56px;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--bg);
}
.skip-link:focus {
  top: 10px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--cyan);
  box-shadow: 0 0 12px #ffb45455;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--yellow);
  color: #251706;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition:
    background 0.18s,
    transform 0.18s;
  text-align: center;
}
.button:hover {
  background: #ffb43d;
  transform: translateY(-2px);
}
.button.secondary {
  background: #24262d;
  border-color: #41434b;
  color: var(--text);
}
.button.secondary:hover {
  background: #33353e;
}
.button.small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}
.button.large {
  min-height: 58px;
  padding-inline: 32px;
  font-size: 16px;
}
.button.full-width {
  width: 100%;
}
.button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
}
.text-link:hover {
  color: var(--yellow);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: #0f1013f5;
  backdrop-filter: blur(15px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}
.brand-symbol > span {
  font-size: 16px;
  align-self: flex-end;
  margin-bottom: 5px;
  margin-left: -2px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.6;
  margin-top: 3px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}
.desktop-nav a {
  padding-block: 28px;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.language-badge {
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.language-badge span {
  color: var(--muted);
}
.menu-trigger {
  display: none;
}
.mobile-menu {
  width: min(440px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
}
.mobile-menu::backdrop {
  background: #000a;
}
.mobile-menu nav {
  display: grid;
}
.mobile-menu nav a {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

/* Hero: supplied artwork, subtle blur and a readable dark overlay. */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 350px;
  margin: 0;
  padding: 42px 28px 32px;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: #28252a;
}
.hero-visual {
  position: absolute;
  z-index: -2;
  inset: -5px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: blur(1.6px);
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #0f10135e, #0f10133d 50%, #0f10135e),
    linear-gradient(180deg, #0f10137a, #0f10138c 45%, var(--bg));
}
.hero-copy { max-width: 940px; }
.hero-kicker {
  display: inline-block;
  padding: 0;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.hero-copy h1 {
  margin: 16px auto 14px;
  max-width: 900px;
  color: white;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  text-shadow: 0 3px 22px #0f1013;
}
.hero-copy > p {
  margin: 0 auto 22px;
  color: #f2f4fc;
  font-size: 17px;
  line-height: 1.65;
  text-shadow: 0 2px 8px #0f1013;
}
.hero-copy .button-row { justify-content: center; gap: 12px; }
.hero-copy .button { min-height: 54px; padding: 14px 24px; font-size: 15px; }
.hero-note { display: block; margin-top: 17px; color: #d5d5dc; font-size: 12px; }
.random-button {
  color: #fff;
  border: 1px solid #ffbf7560;
  background: linear-gradient(120deg, #4d3421, #33271d);
  box-shadow: 0 5px 24px #ff9a2435, inset 0 1px 0 #ffffff20;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.random-button:hover {
  color: #fff;
  background: linear-gradient(120deg, #624329, #453223);
  box-shadow: 0 7px 28px #ff9a2455;
  transform: translateY(-2px);
}
.random-icon { transition: transform .25s; }
.random-button:hover .random-icon { transform: rotate(-12deg); }
.random-button.is-picking .random-icon { animation: shuffle-roll .28s ease-in-out; }
@keyframes shuffle-roll { to { transform: rotate(180deg); } }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.catalog-heading h2 { font-size: clamp(25px, 2.6vw, 34px); }
.catalog-heading p { margin-top: 9px; font-size: 14px; }
.catalog-section { padding-top: 36px; }
.category-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; scroll-margin-top: 100px; }
.category-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 10px 14px;
  border: 1px solid #ffffff18;
  border-radius: 12px;
  color: #d4d5dd;
  background: #1b1d23;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s, border-color .18s, color .18s;
}
.category-button .icon { width: 17px; height: 17px; color: #ffb967; }
.category-button small { font-size: 10px; opacity: .7; }
.category-button:hover { border-color: #ffffff4a; background: #292b32; }
.category-button[aria-pressed="true"] { background: #ff9a24; border-color: #ff9a24; color: #211b10; }
.category-button[aria-pressed="true"] .icon { color: currentColor; }
.series-directory { padding: 28px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 16px; }
.series-directory h2 { font-size: 21px; margin-bottom: 18px; }
.series-directory > div { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.series-directory a { display: inline-flex; gap: 8px; align-items: center; color: #b9bbc6; font-size: 13px; }
.series-directory a:hover { color: var(--yellow); }
.series-directory .icon { width: 15px; height: 15px; }

/* Series and slot covers. Replace the typographic covers with uploaded images. */
.series-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.series-section h2 {
  font-size: 20px;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.series-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1b1d22;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.series-chip:hover {
  background: #24262d;
  border-color: var(--accent);
}
.series-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.series-chip > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.series-chip strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.series-chip small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.series-chip > .icon {
  color: #838690;
  width: 16px;
}
.catalog-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.search-field,
.select-field {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 50px;
}
.search-field {
  flex: 1;
  min-width: 0;
  gap: 12px;
  padding: 0 16px;
  color: #aaaeb8;
}
.search-field input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  padding: 13px 0;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 13px;
}
.search-field:focus-within {
  border-color: var(--cyan);
}
input::placeholder {
  color: #92959f;
  opacity: 1;
}
.select-field select {
  max-width: 240px;
  width: 100%;
  background: transparent;
  color: #d7d8df;
  padding: 13px 32px 13px 14px;
  border: 0;
  font-size: 12px;
}
select option {
  background: #24262d;
}
.result-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}
.game-card {
  min-width: 0;
  display: flex;
}
.game-tile {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff12;
  border-radius: 17px;
  background: color-mix(in srgb, var(--accent) 7%, #191b20);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 12px 26px #0005;
}
.card-cover {
  position: relative;
  display: block;
  border: 1px solid #ffffff0c;
  border-radius: 0;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.card-cover { border: 0; }
.game-art {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background:
    radial-gradient(
      ellipse at 60% 15%,
      color-mix(in srgb, var(--accent) 38%, transparent),
      transparent 75%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--accent) 16%, #191b20),
      #1a1b21
    );
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.art-provider {
  position: relative;
  font-size: 7px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #ffffffaa;
  z-index: 2;
}
.art-title {
  position: relative;
  z-index: 2;
  padding-inline: 14px;
  width: 100%;
  text-align: center;
  font-size: clamp(16px, 1.6vw, 25px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: color-mix(in srgb, var(--accent) 50%, white);
  text-shadow: 0 3px 10px #0009;
  text-wrap: balance;
}
.art-orbit {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  top: -40%;
  right: -20%;
  box-shadow:
    0 0 0 25px #ffffff04,
    0 0 0 50px #ffffff03;
  z-index: 0;
}
.art-motif {
  position: absolute;
  color: var(--accent);
  width: 100px;
  height: 100px;
  opacity: 0.14;
  bottom: -16px;
  left: -14px;
  transform: rotate(-20deg);
  stroke-width: 1;
}
.art-line {
  width: 30px;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
  margin-top: 2px;
}
.card-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border: 1px solid #ffffff25;
  border-radius: 6px;
  background: #15161bb8;
  color: #fff;
  font-size: 10px;
}
.card-info { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.card-info h3 { margin: 0 0 15px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; text-wrap: auto; overflow-wrap: anywhere; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; }
.card-actions > span:first-child { color: #b0b2bd; font-size: 11px; }
.card-cta { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 11px; min-height: 36px; border-radius: 8px; color: #201b10; background: var(--yellow); font-size: 11px; font-weight: 750; white-space: nowrap; }
.card-cta .icon { width: 14px; height: 14px; }
.game-tile:hover .card-cta { background: #ffb947; }

.empty-state {
  padding: 50px 20px;
  text-align: center;
  background: var(--panel);
  border-radius: 16px;
}
.empty-state p {
  margin: 12px 0 24px;
}
.upcoming-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 35px 40px;
  border: 1px solid #605338;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 90% 30%, #75633644, transparent 70%), #191e26;
}
.upcoming-banner .eyebrow {
  color: var(--yellow);
}
.upcoming-banner h2 {
  margin: 10px 0;
}
.upcoming-banner p {
  font-size: 13px;
}
.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.explainer-grid h2 {
  margin: 14px 0 22px;
}
.explainer-grid p {
  font-size: 14px;
}
.explainer-grid .text-link {
  margin-top: 22px;
}
.benefit-list {
  display: grid;
  gap: 28px;
}
.benefit-list article {
  display: flex;
  gap: 18px;
}
.benefit-list article > .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  color: var(--cyan);
  background: #ffb45410;
}
.benefit-list h3 {
  margin-bottom: 8px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  border-top: 1px solid var(--line);
}
.faq-section h2 {
  margin-top: 14px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 22px;
  color: var(--yellow);
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 13px;
  padding: 0 20px 22px 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0d0e11;
  padding-top: 44px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1fr;
  gap: 60px;
  padding-bottom: 35px;
}
.footer-grid .brand {
  margin-bottom: 18px;
}
.footer-grid p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 420px;
}
.footer-grid nav {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.footer-grid nav strong {
  color: var(--text);
  margin-bottom: 6px;
}
.footer-grid nav a:hover {
  color: var(--yellow);
}
.age-badge {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 47px;
  height: 47px;
  color: #d4dce8;
  font-weight: 750;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid #2b2d34;
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #92959f;
  font-size: 10px;
}

/* Pages and demo player */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block: 28px;
  color: #aaaeb8;
  font-size: 11px;
}
.breadcrumbs a {
  color: var(--cyan);
}
.page-hero {
  padding: 32px 0 40px;
  max-width: 1000px;
}
.page-hero h1 {
  margin: 16px 0 20px;
}
.page-hero p {
  max-width: 820px;
}
.page-hero .button {
  margin-top: 26px;
}
.game-heading {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  justify-content: space-between;
  margin: 30px 0;
}
.game-heading > div:first-child {
  max-width: 960px;
}
.game-heading h1 {
  font-size: clamp(26px, 3.2vw, 44px);
  margin: 13px 0 15px;
}
.game-heading p {
  font-size: 14px;
}
.game-badges {
  display: flex;
  gap: 6px;
  white-space: nowrap;
  font-size: 10px;
  margin-bottom: 4px;
}
.game-badges span {
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 7px;
  color: #b8c4d3;
}
.demo-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #15161b;
}
.demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 760px;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      color-mix(in srgb, var(--accent) 18%, transparent),
      transparent 70%
    ),
    #101115;
  isolation: isolate;
}
.demo-stage:fullscreen,
.demo-stage.is-expanded {
  width: 100vw;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
}
.demo-stage.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.demo-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}
.demo-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.demo-cover {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(transparent, #0f101366);
}
.demo-cover .demo-motif {
  width: 60px;
  height: 60px;
  color: var(--accent);
  stroke-width: 1;
}
.demo-cover .eyebrow {
  color: #b9c1cf;
  font-size: 9px;
}
.demo-cover h2 {
  font-size: clamp(24px, 4.5vw, 58px);
  max-width: 720px;
  color: color-mix(in srgb, var(--accent) 45%, white);
}
.demo-cover p {
  font-size: 12px;
}
.release-pill {
  color: var(--yellow);
  border: 1px solid #ff9a2455;
  border-radius: 9px;
  padding: 8px 16px;
}
.demo-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 20px;
  background: var(--panel);
}
.demo-toolbar > span {
  font-size: 11px;
  color: var(--muted);
}
.demo-toolbar > span .status-dot {
  margin-right: 6px;
}
.demo-toolbar > div {
  display: flex;
  gap: 10px;
}
.toolbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  min-height: 38px;
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #c8d2df;
}
.toolbar-button:hover {
  color: var(--yellow);
}
.toolbar-button .icon {
  width: 17px;
  height: 17px;
}
.demo-help {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.demo-help a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.exit-expanded {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}
.game-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 60px;
}
.prose {
  max-width: 100%;
}
.prose h2 {
  margin: 18px 0;
  font-size: 26px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.prose p {
  margin-bottom: 18px;
}
.prose ol,
.prose ul {
  padding-left: 22px;
  margin-bottom: 28px;
}
.prose li {
  margin-block: 12px;
}
.prose a:not(.button) {
  color: var(--cyan);
}
.prose .source-note {
  font-size: 11px;
}
.facts-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 26px;
}
.facts-panel h2 {
  font-size: 20px;
}
.facts-panel dl {
  margin: 24px 0;
}
.facts-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts-panel dt {
  color: var(--muted);
}
.facts-panel dd {
  margin: 0;
  text-align: right;
}
.facts-panel dd a {
  color: var(--cyan);
}
.facts-panel p {
  font-size: 11px;
  margin-bottom: 22px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 26px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
th,
td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-weight: 650;
}
thead {
  background: var(--panel);
}
td {
  color: var(--muted);
  min-width: 130px;
}
tbody th {
  min-width: 180px;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.article-page .prose > section {
  margin-bottom: 38px;
}



@media (max-width: 1150px) {
  .shell {
    width: calc(100% - 48px);
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-cta {
    display: none;
  }




  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-detail-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
  }
  .explainer-grid {
    gap: 45px;
  }
  .series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-heading {
    display: block;
  }
  .game-badges {
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }
  html {
    scroll-padding-top: 84px;
  }
  .header-inner {
    min-height: 72px;
    gap: 15px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand-symbol {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 22px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-actions {
    gap: 15px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-trigger {
    display: inline-grid;
  }













  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .series-chip {
    padding: 11px;
    gap: 8px;
  }
  .series-chip strong {
    font-size: 11px;
  }
  .series-chip > .icon {
    display: none;
  }
  .series-icon {
    width: 32px;
    height: 36px;
    border-radius: 9px;
  }
  .series-icon .icon {
    width: 19px;
    height: 19px;
  }
  .section {
    padding-block: 35px;
  }
  .section-heading {
    gap: 16px;
    margin-bottom: 20px;
  }
  .section-heading > .muted {
    display: none;
  }
  .catalog-controls {
    flex-wrap: wrap;
    gap: 9px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .select-field {
    flex: 1 1 0;
    min-width: 0;
  }
  .select-field select {
    max-width: 100%;
    font-size: 11px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .art-title {
    font-size: 22px;
    padding-inline: 12px;
  }
  .game-art {
    gap: 9px;
  }
  .card-info h3 {
    font-size: 15px;
  }
  .card-label {
    font-size: 10px;
    top: 7px;
    left: 7px;
  }
  .card-cover {
    border-radius: 0;
  }
  .upcoming-banner {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
  .upcoming-banner h2 {
    font-size: 27px;
  }
  .explainer-grid,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .explainer-grid h2 {
    font-size: 30px;
  }
  .faq-section {
    gap: 16px;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }
  .page-hero {
    padding-block: 16px 28px;
  }
  .breadcrumbs {
    margin-block: 20px;
  }
  .game-heading {
    margin: 26px 0 20px;
  }
  .demo-stage {
    aspect-ratio: 4/3;
    min-height: 300px;
  }
  .demo-cover {
    gap: 16px;
    padding: 20px;
  }
  .demo-cover .demo-motif {
    width: 38px;
    height: 38px;
  }
  .demo-cover h2 {
    font-size: 30px;
  }
  .demo-cover p {
    font-size: 10px;
  }
  .demo-cover .button.large {
    min-height: 49px;
    font-size: 14px;
  }
  .demo-toolbar {
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }
  .demo-toolbar > div {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }
  .toolbar-button {
    font-size: 9px;
    padding-inline: 4px;
    gap: 5px;
  }
  .demo-help {
    padding: 12px;
    font-size: 10px;
  }
  .game-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .facts-panel {
    max-width: 100%;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose p,
  .prose li {
    font-size: 14px;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 15px;
    font-size: 12px;
  }
  .section-heading > .text-link {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px 12px;
  }






  .art-title {
    font-size: 20px;
  }
  .art-provider {
    font-size: 6px;
  }
  .art-line {
    width: 22px;
  }


  .result-count {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 24px);
  }
  .language-badge {
    display: none;
  }



  .series-chip {
    padding: 9px;
  }
  .series-chip strong {
    font-size: 10px;
  }


  .art-title {
    font-size: 17px;
  }
  .game-badges {
    font-size: 9px;
  }
}

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

/* Compact controls and full-width cards keep mobile choices easy to read. */
@media (max-width: 760px) {
  .home-hero { min-height: 330px; padding: 30px 22px 24px; }
  .hero-visual img { object-position: center top; }
  .home-hero::after { background: linear-gradient(180deg, #0f10138c, #0f101399 40%, var(--bg)); }
  .hero-copy h1 { font-size: clamp(32px, 6vw, 43px); margin: 16px auto 14px; }
  .hero-copy > p { font-size: 14px; margin-bottom: 20px; }
  .hero-kicker { font-size: 8px; letter-spacing: .07em; }
  .hero-copy .button { font-size: 13px; min-height: 48px; padding: 12px 16px; }
  .hero-note { font-size: 10px; margin-top: 16px; }
  .catalog-heading { align-items: flex-start; margin-bottom: 18px; gap: 12px; }
  .catalog-heading h2 { font-size: 27px; }
  .catalog-heading p { font-size: 12px; }
  .catalog-heading .result-count { font-size: 11px; margin-top: 6px; }
  .category-list { gap: 7px; margin-bottom: 16px; }
  .category-button { font-size: 11px; min-height: 39px; padding: 8px 10px; gap: 6px; border-radius: 9px; }
  .category-button .icon { width: 15px; height: 15px; }
  .category-button small { display: none; }
  .catalog-controls { margin-bottom: 20px; }
  .random-compact { min-height: 44px; font-size: 12px; }
  .search-field input { min-height: 48px; font-size: 13px; }
  .series-directory { padding: 20px; }
}
@media (max-width: 480px) {
  .home-hero { padding: 28px 16px 22px; }
  .hero-copy h1 { font-size: clamp(31px, 8.8vw, 38px); }
  .hero-copy .button-row { gap: 9px; }
  .hero-copy .button { width: 100%; max-width: 310px; }
  .random-compact { width: 100%; }
  .card-info h3 { font-size: 17px; }
  .card-cta { min-height: 40px; padding: 9px 15px; font-size: 12px; }
  .card-actions > span:first-child { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .random-icon, .random-button, .game-tile { transition: none; animation: none !important; }
}

/* Supplied Pragmatic Demo wordmark. */
.brand .brand-logo { display: block; width: 228px; height: 76px; object-fit: contain; flex: 0 1 auto; }
@media (max-width: 600px) { .brand .brand-logo { width: 204px; height: 68px; } .header-actions .language-badge { display: none; } }

/* CURRENT CATALOG THEME */

/* Catalog theme: Pragmatic orange, compact cards and category colors. */
:root {
  --bg: #0f1013;
  --panel: #1a1c21;
  --line: #30323a;
  --text: #f7f7f8;
  --muted: #aaaeb8;
  --yellow: #ff981f;
  --cyan: #ffb454;
}
body {
  font-family: Onest, "Segoe UI", sans-serif;
}
h1, h2, h3, .brand {
  font-family: Manrope, Onest, sans-serif;
  font-weight: 750;
  letter-spacing: -.04em;
}
h1 { font-weight: 800; }
h2 { line-height: 1.2; }
.shell { width: min(1360px, calc(100% - 64px)); }
.site-header { background: #0f1013ed; border-color: #ffffff0b; }
.header-inner { min-height: 78px; }
.desktop-nav { font-weight: 500; }
.brand-symbol { color: #ff9c28; border-color: #ff9c2855; }

/* Buttons: stable color during hover, keyboard focus and press. */
.button, .card-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffc98033;
  border-radius: 12px;
  background: linear-gradient(115deg, #ff9318, #ffb23b);
  color: #251706;
  font-weight: 650;
  box-shadow: 0 5px 18px #ff951f1c, inset 0 1px #ffffff45;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.button::after, .card-cta::after {
  content: "";
  position: absolute;
  inset: -30% -80%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 38%, #ffffff55 50%, transparent 62%);
  transform: translateX(-60%);
  pointer-events: none;
}
.button:hover, .game-tile:hover .card-cta {
  background: linear-gradient(115deg, #ff9318, #ffb23b);
  color: #251706;
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 9px 28px #ff951f38;
}
.button:hover::after, .game-tile:hover .card-cta::after {
  animation: button-sheen .7s ease;
}
.button:active { transform: translateY(0) scale(.98); }
.button.secondary, .button.random-button {
  color: #fff3e4;
  background: linear-gradient(115deg, #30251c, #231e1a);
  border-color: #ffac4b45;
  box-shadow: inset 0 1px #ffffff08, 0 5px 20px #0002;
}
.button.secondary:hover, .button.random-button:hover {
  color: #fff;
  background: linear-gradient(115deg, #433021, #34281e);
  box-shadow: 0 9px 26px #ff981f20;
}
.random-button:hover .random-icon { transform: rotate(180deg); }
.random-icon { transition: transform .6s cubic-bezier(.3,.8,.3,1); }
@keyframes button-sheen {
  to { transform: translateX(60%); }
}

/* Hero: compact, full width, with one calm area reserved for the copy. */
.home-hero {
  display: flex;
  align-items: center;
  min-height: 376px;
  margin: 0;
  padding: 38px 0 34px;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  text-align: left;
}
.hero-inner { position: relative; }
.hero-copy { max-width: 650px; }
.hero-visual {
  inset: -6px;
  mask-image: linear-gradient(180deg, #000 68%, transparent 99%);
}
.hero-visual img {
  object-position: center 31%;
  filter: blur(2.1px);
  opacity: .7;
}
.home-hero::after {
  background:
    linear-gradient(90deg, #0f1013fa 8%, #0f1013ec 30%, #0f101370 64%, #0f101345),
    linear-gradient(180deg, #0f101325 45%, var(--bg));
}
.hero-kicker {
  color: #ffb353;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  padding: 0;
}
.hero-copy h1 {
  margin: 15px 0 17px;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.05em;
  text-shadow: none;
  text-wrap: auto;
}
.hero-copy h1 span { color: #ffa32e; }
.hero-copy > p {
  max-width: 435px;
  margin: 0 0 23px;
  color: #c3c4cc;
  font-size: 15px;
  line-height: 1.6;
  text-shadow: none;
}
.hero-copy .button-row { justify-content: flex-start; gap: 12px; }
.hero-copy .button { min-height: 50px; padding: 13px 21px; font-size: 14px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 11px;
  color: #9d9fa9;
}
.hero-note .icon { width: 14px; height: 14px; }
.hero-note > span { margin-inline: 5px; }

/* Three compact cards on desktop. */
.catalog-section { padding-top: 28px; }
.catalog-heading h2 { font-size: clamp(25px, 2.6vw, 33px); }
.catalog-heading p { font-size: 14px; }
.category-list { gap: 8px; }
.category-button {
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 500;
  background: #1b1d23;
  border-color: #33343d;
  transition: background .2s, border-color .2s, transform .2s;
}
.category-button:hover { background: #29262a; border-color: #80613d; transform: translateY(-1px); }
.category-button[aria-pressed="true"] { background: #ff9a24; color: #281807; border-color: #ffc67d; }
.category-button[aria-pressed="true"] .icon { color: currentColor; }
.catalog-controls { gap: 14px; }
.search-field { background: #1b1d23; border-radius: 12px; }
.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.game-tile {
  border: 1px solid #34343b;
  border-radius: 18px;
  background: linear-gradient(135deg, #202127, #191b20);
  box-shadow: 0 5px 20px #0002;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.game-tile:hover {
  border-color: #ff9a2470;
  box-shadow: 0 12px 30px #0004;
  transform: translateY(-5px);
}
.card-cover { overflow: hidden; }
.card-cover .game-art { aspect-ratio: 16 / 9; }
.card-cover img { transition: transform .45s ease; }
.game-tile:hover .card-cover img { transform: scale(1.025); }
.card-label { top: 12px; left: 12px; padding: 5px 9px; font-size: 10px; background: #101115d9; }
.card-info { padding: 14px 16px; gap: 8px; }
.card-info h3 {
  margin: 0;
  min-height: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.game-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 20px;
  padding: 12px 0;
  border-top: 1px solid #ffffff0c;
  border-bottom: 1px solid #ffffff0c;
}
.game-metrics > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.game-metrics > div + div { border-left: 1px solid #ffffff13; padding-left: 16px; }
.game-metrics dt { color: #a6a8b2; font-size: 11px; white-space: nowrap; }
.game-metrics dd { color: #f3f3f5; margin: 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.card-actions > span:first-child { color: #a8abb5; font-size: 12px; }
.card-cta { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.card-cta .icon { width: 15px; height: 15px; }

/* Category color is defined once in the PHP catalog and reused here. */
.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--category-color) 24%, transparent);
  border-radius: 5px;
  background: color-mix(in srgb, var(--category-color) 8%, transparent);
  color: var(--category-color);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.category-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.category-button .icon { color: var(--category-color); }
.category-button:hover {
  border-color: color-mix(in srgb, var(--category-color) 55%, transparent);
  background: color-mix(in srgb, var(--category-color) 10%, #1b1d23);
}
.category-button[aria-pressed="true"] {
  border-color: var(--category-color);
  background: color-mix(in srgb, var(--category-color) 17%, #1b1d23);
  color: var(--category-color);
}
.category-button[data-category="all"][aria-pressed="true"] {
  background: #ff9a24;
  color: #281807;
}
.card-info .game-metrics { margin: 0; padding: 8px 0; gap: 12px; }
.card-info .game-metrics > div + div { padding-left: 12px; }
.card-info .game-metrics dt { font-size: 10px; }
.card-info .game-metrics dd { font-size: 12px; }

/* Before the demo: a clear preview and a separate launch area. */
.demo-stage { min-height: 410px; aspect-ratio: auto; max-height: none; overflow: hidden; }
.demo-background { filter: blur(14px); transform: scale(1.06); opacity: .13; }
.demo-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
  min-height: 410px;
  text-align: left;
  background: linear-gradient(120deg, #0f101320, #0f1013b3);
}
.demo-poster { border-radius: 14px; border: 1px solid #ffffff25; overflow: hidden; box-shadow: 0 20px 50px #0005; }
.demo-poster .game-art { aspect-ratio: 16 / 9; }
.demo-cover h2 {
  margin: 13px 0 20px;
  color: #fafafa;
  font-size: clamp(25px, 2.7vw, 39px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -.035em;
  text-wrap: auto;
}
.demo-cover .eyebrow { color: #ffb76a; font-size: 9px; font-weight: 600; }
.demo-cover p { color: #b6b8c1; font-size: 13px; line-height: 1.65; max-width: 370px; }
.demo-metrics { max-width: 360px; margin-bottom: 17px; }
.demo-play { margin-top: 21px; min-width: 224px; min-height: 54px; }
.demo-options { display: flex; gap: 15px; flex-wrap: wrap; color: #a2a5b0; font-size: 10px; margin-top: 14px; }
.demo-options span::before { content: "✓"; color: #ffa32e; margin-right: 5px; }
.demo-stage.is-playing { aspect-ratio: 16 / 9; min-height: 0; background: #000; }
.demo-stage.is-playing > .demo-background { display: none; }
.demo-stage:fullscreen, .demo-stage.is-expanded { min-height: 0; aspect-ratio: auto; }
.demo-stage:fullscreen .demo-cover, .demo-stage.is-expanded .demo-cover { min-height: 100%; }
.demo-toolbar { background: #1b1d22; }

/* Random selection: a real navigation animation with a cancellable dialog. */
.random-dialog {
  --random-card-width: 180px;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  padding: 28px 0 24px;
  border: 1px solid #ff9e3543;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 0, #704a2340, transparent 70%), #191b20;
  color: var(--text);
  text-align: center;
  box-shadow: 0 30px 100px #0009;
  overflow: hidden;
}
.random-dialog::backdrop { background: #090a0dd9; backdrop-filter: blur(8px); }
.random-dialog h2 { font-size: clamp(22px, 3vw, 29px); margin: 14px 24px 9px; }
.random-dialog p { color: #b5b7c0; font-size: 13px; margin: 0 26px; }
.random-close { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; background: #ffffff08; }
.random-dialog .eyebrow { font-size: 9px; }
.random-dialog .eyebrow .icon { width: 17px; height: 17px; }
.random-window { position: relative; overflow: hidden; margin: 18px 0 16px; padding: 8px 0; }
.random-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #191b20, transparent 15%, transparent 85%, #191b20); pointer-events: none; }
.random-marker { position: absolute; top: 4px; bottom: 4px; left: 50%; width: calc(var(--random-card-width) + 8px); transform: translateX(-50%); border: 2px solid #ffa127; border-radius: 15px; box-shadow: 0 0 24px #ff9b2836; z-index: 2; pointer-events: none; }
.random-marker::before { content: ""; position: absolute; top: -9px; left: calc(50% - 6px); border: 7px solid transparent; border-top-color: #ffb55c; }
.random-reel { display: flex; align-items: stretch; gap: 12px; width: max-content; will-change: transform; }
.random-item { width: var(--random-card-width); flex: 0 0 var(--random-card-width); border-radius: 11px; overflow: hidden; background: #24262d; }
.random-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #1b1d23; }
.random-item strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 8px;
  padding: 0;
  min-height: 0;
  font-size: 12px;
  line-height: 1.3;
}
.random-caption { font-size: 11px; color: #9c9fab; }
.random-dialog.is-selected .random-marker { box-shadow: 0 0 40px #ff9b2865; }

@media (max-width: 960px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .hero-copy { max-width: 570px; }
  .home-hero::after { background: linear-gradient(90deg, #0f1013ed, #0f1013ae 70%, #0f101390), linear-gradient(180deg, transparent, var(--bg)); }
  .demo-cover { gap: 26px; padding: 28px; }
  .game-metrics > div { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .home-hero { min-height: 0; padding: 30px 0 24px; }
  .hero-copy h1 { font-size: clamp(36px, 7vw, 48px); margin: 14px 0; }
  .hero-copy > p { font-size: 14px; max-width: 375px; }
  .hero-kicker { font-size: 8px; letter-spacing: .08em; }
  .hero-copy .button { font-size: 13px; padding: 12px 16px; min-height: 48px; }
  .hero-note { font-size: 10px; margin-top: 18px; }
  .demo-stage { min-height: 0; }
  .demo-cover { grid-template-columns: 1fr; min-height: 0; padding: 22px; gap: 24px; }
  .demo-poster { max-width: 440px; width: 100%; margin: auto; }
  .demo-intro { max-width: 440px; width: 100%; margin: auto; }
  .demo-cover h2 { font-size: 27px; }
  .demo-metrics > div { flex-direction: row; align-items: center; }
  .demo-play { width: 100%; }
  .category-button { font-size: 11px; padding: 9px 11px; }
}
@media (max-width: 600px) {
  .game-grid { grid-template-columns: 1fr; }
  .card-info h3 { min-height: 0; font-size: 18px; }
  .game-metrics > div { flex-direction: row; align-items: center; }
  .game-metrics dt { font-size: 11px; }
  .game-metrics dd { font-size: 13px; }
  .hero-copy .button-row { display: grid; grid-template-columns: 1fr; max-width: 365px; gap: 10px; }
  .hero-copy .button { width: 100%; max-width: none; }
  .hero-copy > p { margin-bottom: 20px; }
  .home-hero::after { background: linear-gradient(90deg, #0f1013e8, #0f1013ae), linear-gradient(180deg, #0f101330, var(--bg)); }
  .hero-visual img { object-position: 55% top; }
  .catalog-section { padding-top: 22px; }
  .catalog-heading { flex-wrap: wrap; gap: 9px; }
  .catalog-heading h2 { font-size: 25px; }
  .catalog-heading p { font-size: 13px; }
  .card-info { padding: 13px 14px; }
  .random-compact { width: 100%; }
  .random-dialog { --random-card-width: 160px; padding-top: 36px; }
  .random-dialog h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  .game-metrics > div { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .card-cta, .game-tile, .card-cover img, .random-icon, .category-button { transition: none; animation: none; }
  .button::after, .card-cta::after { display: none; }
  .button:hover, .game-tile:hover, .game-tile:hover .card-cta, .game-tile:hover .card-cover img { transform: none; }
}

/* V7: a compact two-column hero and an undistorted game spotlight. */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero-spotlight {
  min-width: 0;
  max-width: 525px;
  width: 100%;
  justify-self: end;
  display: block;
  padding: 12px;
  border: 1px solid #ffb45435;
  border-radius: 20px;
  background: linear-gradient(145deg, #342437dd, #17171eed);
  box-shadow: 0 20px 70px #0005, 0 0 55px #c5753210;
  color: var(--text);
  transition: border-color .25s, transform .25s;
}
.hero-spotlight:hover { color: #fff; border-color: #ffb45490; transform: translateY(-3px); }
.spotlight-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 3px 12px; font-size: 9px; color: #b7afbf; }
.spotlight-heading > span:first-child { display: flex; align-items: center; gap: 5px; color: #ffc36f; font-weight: 600; letter-spacing: .06em; }
.spotlight-heading .icon { width: 14px; height: 14px; }
.spotlight-picture { aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: #241328; }
.spotlight-picture img { width: 100%; height: 100%; display: block; object-fit: contain; }
.spotlight-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px 3px; }
.spotlight-bottom strong { display: block; font: 750 clamp(17px, 1.6vw, 23px)/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.spotlight-bottom div > span { display: block; color: #b7aebe; font-size: 11px; margin-top: 5px; }
.spotlight-play { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #251706; background: #ffac3c; box-shadow: 0 0 24px #ffa32e24; }

/* One card per game, arranged in ordered category groups. */
.catalog-groups { display: grid; gap: 30px; }
.catalog-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 15px; }
.catalog-group-heading h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; letter-spacing: -.025em; }
.catalog-group-heading .icon { color: var(--category-color); width: 20px; height: 20px; }
.catalog-group-heading > span { font-size: 11px; color: var(--muted); }
.catalog-groups.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.catalog-groups.is-filtered .catalog-group:not([hidden]),
.catalog-groups.is-filtered .game-grid { display: contents; }
.catalog-groups.is-filtered .catalog-group-heading { display: none; }

.utility-page { min-height: 65vh; display: grid; place-items: center; padding-block: 45px; }
.utility-panel { max-width: 640px; width: 100%; border: 1px solid var(--line); border-radius: 22px; padding: 32px; background: var(--panel); }
.utility-panel h1 { font-size: clamp(27px, 4vw, 38px); line-height: 1.2; }
.utility-panel > p { color: var(--muted); }
.utility-panel > .text-link { display: inline-flex; margin-top: 25px; font-size: 13px; }
.bonus-page > h1 { font-size: 18px; text-align: center; }
.bonus-page > .eyebrow { display: none; }

@media (max-width: 1050px) {
  .hero-inner { gap: 28px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy .button-row { gap: 8px; }
  .hero-copy .button { padding-inline: 14px; font-size: 12px; }
}
@media (max-width: 960px) {
  .catalog-groups.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy h1 { font-size: clamp(36px, 7vw, 48px); }
  .hero-spotlight { justify-self: start; max-width: 480px; }
  .hero-copy .button-row { display: flex; flex-wrap: wrap; max-width: none; }
  .hero-copy .button { width: auto; flex: 1 0 auto; min-width: 140px; }
  .hero-copy { max-width: 100%; }
  .hero-copy > p { max-width: 460px; }
  .demo-stage.is-playing { min-height: 0; }
  .demo-stage { scroll-margin-top: 8px; }
  /* Cover the one-pixel light seam at the embedded player's edge.
     The game viewport keeps its size and all controls stay clickable. */
  .demo-stage.is-playing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid #000;
    pointer-events: none;
  }
  .utility-panel { padding: 22px; }
}
/* Narrow desktop previews keep the desktop game's landscape viewport.
   Portrait is selected by the device-aware controller or an explicit choice. */
.demo-stage.is-playing[data-demo-layout="portrait"]:not(:fullscreen):not(.is-expanded) {
  aspect-ratio: 9 / 16;
  min-height: 0;
  max-width: 480px;
  margin-inline: auto;
}
.demo-stage.is-playing[data-demo-layout="landscape"]:not(:fullscreen):not(.is-expanded) {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.demo-layout-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 18px 12px;
  background: #1b1d22;
  border-top: 1px solid #ffffff08;
}
.demo-layout-picker[hidden] { display: none; }
.demo-layout-picker > span { margin-right: 6px; color: #a8abb4; font-size: 11px; }
.demo-layout-picker button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #383a43;
  border-radius: 8px;
  background: transparent;
  color: #c9cbd2;
  font: 550 11px/1.2 Onest, sans-serif;
  cursor: pointer;
}
.demo-layout-picker button[aria-pressed="true"] { border-color: #bd8135; color: #ffcc8c; background: #ffa32e14; }
.demo-layout-picker button:hover { color: #fff; border-color: #bd8135; }
.demo-layout-picker button:focus-visible { outline: 2px solid #ffb454; outline-offset: 2px; }
@media (max-width: 380px) {
  .demo-layout-picker { padding-inline: 10px; gap: 4px; }
  .demo-layout-picker > span { flex-basis: 100%; margin-bottom: 2px; }
  .demo-layout-picker button { flex: 1; padding-inline: 6px; }
}
@media (max-width: 600px) {
  .catalog-groups.is-filtered { grid-template-columns: 1fr; }
  .catalog-group-heading h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-spotlight, .bonus-dialog[open] { transition: none; animation: none; }
  .hero-spotlight:hover { transform: none; }
}

/* V8: align the wordmark optically with the navigation and CTA, keeping the crown visible. */
.site-header .header-inner { min-height: 78px; align-items: center; gap: 20px; }
.site-header .brand { display: flex; align-items: center; }
.site-header .brand-logo { transform: translateY(-12.3%); }
.brand .brand-logo { width: 174px; height: 58px; }
.footer-grid .brand-logo { width: 174px; height: 58px; }
.header-actions { gap: 14px; flex-shrink: 0; }
.button.header-bonus { min-height: 42px; gap: 7px; padding: 10px 16px; }
.header-bonus .icon { width: 18px; height: 18px; }
.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  background: #191b21;
}
.language-switch a {
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  padding: 3px;
  border-radius: 6px;
  color: #aeb0b8;
  font-size: 10px;
  font-weight: 650;
  text-decoration: none;
}
.language-switch a[aria-current] { background: #3b2c1d; color: #ffbe6a; }
.language-switch a:hover { color: #fff; background: #ffffff0b; }
.language-switch a:focus-visible { outline: 2px solid #ffb454; outline-offset: 2px; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 18px; font-size: 12px; }
  .site-header .header-inner { gap: 14px; }
}
@media (max-width: 760px) {
  .site-header .header-inner { min-height: 72px; gap: 10px; }
  .site-header .brand-logo { width: 160px; height: 54px; }
  .header-actions { gap: 8px; }
  .button.header-bonus { min-height: 40px; padding: 9px 11px; font-size: 12px; }
  .header-actions .menu-trigger { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
  .site-header .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .button.header-bonus { width: 38px; min-height: 38px; padding: 8px; }
  .header-bonus > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-actions .menu-trigger { width: 38px; height: 38px; }
  .language-switch a { min-width: 27px; min-height: 30px; }
}
@media (max-width: 360px) {
  .site-header .brand-logo { width: 134px; height: 45px; }
  .header-actions { gap: 5px; }
  .language-switch { padding: 2px; gap: 0; }
  .language-switch a { min-width: 25px; font-size: 9px; }
  .button.header-bonus { width: 36px; min-height: 36px; }
  .header-actions .menu-trigger { width: 36px; height: 36px; }
}

/* Character artwork flanks the Gates card; the card always stays in front. */
.hero-inner {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.3vw, 46px);
}
.hero-cast {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-block: 24px 20px;
}
.hero-cast .hero-spotlight {
  position: relative;
  z-index: 2;
  width: 62%;
  max-width: 480px;
  min-width: 0;
  margin: 0;
  flex: 0 0 auto;
  box-shadow: 0 24px 60px #0008, 0 0 35px #ef9d4212;
}
.hero-character {
  position: absolute;
  z-index: 1;
  display: block;
  width: 31%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  bottom: 5px;
  filter: drop-shadow(0 15px 16px #0007);
}
.hero-character-left { left: -10px; }
.hero-character-right { right: -24px; width: 34%; max-width: 260px; }
.hero-cast .spotlight-bottom { gap: 12px; }
.hero-cast .spotlight-bottom > div { min-width: 0; }
.hero-cast .spotlight-bottom strong { font-size: clamp(17px, 1.6vw, 23px); }
.hero-cast .spotlight-heading { flex-wrap: wrap; column-gap: 10px; row-gap: 4px; }
.hero-cast .spotlight-mobile-action { display: none; }

/* Both desktop cards share one bottom edge, independent of text height. */
@media (min-width: 761px) {
  .hero-inner { align-items: end; }
  .hero-cast { align-self: end; padding-block: 0; }
  .hero-character { bottom: -15px; }
  .hero-cast .hero-spotlight:hover { transform: none; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-copy h1 { font-size: clamp(36px, 4.2vw, 44px); }
  .hero-cast .hero-spotlight { padding: 10px; }
  .hero-cast .spotlight-heading { font-size: 8px; }
  .hero-cast .spotlight-bottom { gap: 8px; }
  .hero-cast .spotlight-play { width: 32px; height: 32px; }
  .hero-cast .spotlight-bottom div > span { font-size: 10px; }
}
@media (max-width: 760px) {
  .home-hero { padding: 26px 0 24px; }
  .home-hero::after {
    background: linear-gradient(90deg, #0f1013da, #0f1013b0),
      linear-gradient(180deg, transparent 30%, var(--bg));
  }
  .hero-visual img { opacity: .42; }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .hero-kicker { font-size: 10px; line-height: 1.6; letter-spacing: .045em; }
  .hero-copy h1 { font-size: clamp(34px, 8.5vw, 44px); line-height: 1.1; margin: 13px 0; }
  .hero-copy > p { max-width: 500px; margin-bottom: 20px; font-size: 14px; line-height: 1.55; }
  .hero-copy .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .hero-copy .button { min-width: 0; width: 100%; min-height: 48px; padding: 12px 8px; gap: 8px; font-size: 12px; }
  .hero-copy .random-button { background: #202126; border-color: #ffac4b45; }
  .hero-note { display: none; }
  .hero-character { display: none; }
  .hero-cast { max-width: none; padding: 0; }
  .hero-cast .hero-spotlight {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 12px;
    gap: 14px;
    border-radius: 16px;
    background: linear-gradient(120deg, #252329, #1b1c21);
    box-shadow: 0 8px 22px #0002;
  }
  .hero-cast .spotlight-heading, .hero-cast .spotlight-play { display: none; }
  .hero-cast .spotlight-picture { width: 100%; border-radius: 10px; }
  .hero-cast .spotlight-bottom { display: block; padding: 0; }
  .hero-cast .spotlight-bottom strong { font-size: clamp(17px, 3.9vw, 21px); line-height: 1.25; }
  .hero-cast .spotlight-bottom div > span { display: none; }
  .hero-cast .spotlight-bottom div > .spotlight-mobile-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #ffb454;
    font-size: 12px;
    font-weight: 600;
  }
  .spotlight-mobile-action .icon { width: 15px; height: 15px; }
}
@media (max-width: 600px) {
  .site-header .header-inner { min-height: 72px; }
}
@media (max-width: 360px) {
  .hero-copy .button-row { grid-template-columns: 1fr; }
  .hero-cast .hero-spotlight { gap: 10px; padding: 10px; }
  .hero-cast .spotlight-bottom strong { font-size: 16px; }
}

/* Primary game actions remain grouped; the invitation has its own spacing. */
.hero-actions { width: 400px; max-width: 100%; }
.hero-actions > .button-row {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  width: 100%;
  max-width: none;
  gap: 12px;
}
.hero-actions > .button-row > .button { width: 100%; min-width: 0; padding-inline: 16px; }

/* V14: a warm metallic edge and a restrained highlight on graphite. */
.bonus-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 0 0, #c38b3924, transparent 72%) padding-box,
    linear-gradient(115deg, #242329, #191c22) padding-box,
    linear-gradient(115deg, #f8bc6899, #74563a55 52%, #e8a65377) border-box;
  color: #f7f7f8;
  box-shadow: 0 6px 20px #0003, inset 0 1px #ffe5b818;
}
.bonus-placement--hero {
  width: 360px;
  max-width: 100%;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #ffffff12;
}
.bonus-invitation {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 0;
  border-radius: 12px;
  color: #edeef2;
  text-decoration: none;
  transition: background-color .2s ease;
}
.bonus-invitation-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e6ae6255;
  border-radius: 13px;
  background: radial-gradient(circle at 30% 20%, #ffc86b2e, #ffa32e09);
  color: #ffc16b;
  box-shadow: 0 4px 16px #ffa32e0d;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bonus-invitation-icon .icon { width: 22px; height: 22px; }
.bonus-invitation-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bonus-invitation-copy strong { color: #f0d5ad; font-size: 14px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.bonus-invitation-copy > span { color: #a7a9b1; font-size: 12px; line-height: 1.3; }
.bonus-invitation-arrow { width: 18px; height: 18px; color: #bba07b; transition: transform .2s ease, color .2s ease; }
.bonus-invitation:hover { background-color: #ffffff03; }
.bonus-invitation:hover .bonus-invitation-icon { transform: rotate(-7deg); box-shadow: 0 4px 18px #ffa32e25; }
.bonus-invitation:hover .bonus-invitation-arrow { transform: translateX(3px); color: #ffc16b; }
.bonus-invitation:hover .bonus-invitation-copy > span { color: #d0d1d6; }
.bonus-invitation:focus-visible { outline: 2px solid #ffb454; outline-offset: 5px; }
@media (max-width: 760px) {
  .bonus-placement--hero { margin-top: 24px; padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bonus-invitation, .bonus-invitation-icon, .bonus-invitation-arrow { transition: none; }
  .bonus-invitation:hover .bonus-invitation-icon, .bonus-invitation:hover .bonus-invitation-arrow { transform: none; }
}
.bonus-placement--catalog { grid-column: 1 / -1; min-width: 0; }
.bonus-placement--hero > .bonus-strip { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
.bonus-strip-copy { min-width: 0; }
.bonus-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #ffc077;
}
.bonus-eyebrow .icon { width: 18px; height: 18px; flex-shrink: 0; }
.bonus-strip .bonus-eyebrow { color: #c9b89f; font-size: 9px; gap: 7px; }
.bonus-strip .bonus-eyebrow .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1px solid #ffbd6640;
  border-radius: 6px;
  color: #ffc56b;
  background: #ffa52c12;
}
.bonus-strip .bonus-age { padding: 2px 5px; font-size: 9px; }
.bonus-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}
.bonus-strip-values {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
  color: #ffbc5a;
  font-family: Manrope, sans-serif;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.bonus-strip-values strong { font-size: clamp(22px, 2vw, 26px); font-weight: 800; overflow-wrap: anywhere; text-shadow: 0 1px 12px #ff9c1918; }
.bonus-strip-values > span { font-size: 17px; font-weight: 500; color: #c9b89f; }
.bonus-strip-action { display: grid; gap: 4px; justify-items: center; }
.bonus-strip--hero .bonus-strip-action { display: block; }
.bonus-strip-action .button {
  width: auto;
  flex: 0 0 auto;
  min-width: 152px;
  min-height: 42px;
  padding: 8px 12px;
  gap: 8px;
  font-size: 12px;
  border-radius: 10px;
  border-color: #ffe1a777;
  background: linear-gradient(125deg, #ffc65b, #ffa021);
  color: #251706;
  box-shadow: 0 4px 14px #ff981f22, inset 0 1px #fff5, inset 0 -2px #bc690c22;
}
.bonus-strip-action .button .icon { width: 17px; height: 17px; }
.bonus-strip-action .button:hover { background: linear-gradient(125deg, #ffc65b, #ffa021); color: #251706; box-shadow: 0 6px 20px #ff981f38, inset 0 1px #fff6; }
.bonus-strip-stat { display: block; margin: 6px 4px 0; color: #a9a4a0; font-size: 9px; line-height: 1.3; text-align: right; }
.bonus-strip-stat b { color: #ffd18b; }
.bonus-hero-title { display: flex; align-items: center; gap: 8px; color: #ffcd81; font-size: 14px; font-weight: 650; line-height: 1.25; }
.bonus-hero-title > span { min-width: 0; overflow-wrap: anywhere; }
.bonus-hero-title .icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 4px;
  border: 1px solid #ffbd6640;
  border-radius: 7px;
  color: #ffc56b;
  background: #ffa52c12;
}
.bonus-strip--hero .bonus-strip-action .button { min-width: 104px; min-height: 42px; padding: 8px 10px; gap: 6px; font-size: 12px; }

@media (max-width: 1050px) {
  .hero-actions > .button-row { gap: 8px; }
  .hero-actions > .button-row > .button { padding-inline: 8px; font-size: 12px; gap: 8px; }
}
@media (max-width: 760px) {
  .hero-actions { width: 100%; }
  .hero-actions > .button-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 360px) {
  .hero-actions > .button-row { grid-template-columns: 1fr; }
}

/* Native dialog keeps focus inside and closes with Escape. */
body:has(.bonus-dialog[open]) { overflow: hidden; }
.bonus-dialog {
  position: fixed;
  inset: 0;
  width: min(580px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 30px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffae477a;
  border-radius: 24px;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0, #57351f75, transparent 55%), #191a20;
  box-shadow: 0 35px 100px #000a, 0 0 70px #ff981f1a, inset 0 1px #ffe1b226;
}
.bonus-dialog::backdrop { background: #08090ede; backdrop-filter: blur(6px); }
.bonus-dialog[open] { animation: bonus-reveal .24s ease-out both; }
@keyframes bonus-reveal {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bonus-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-color: #ffffff20;
  background: #ffffff09;
}
.bonus-close:hover { background: #ffffff18; color: #ffb454; }
.bonus-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-right: 28px; margin-bottom: 16px; }
.bonus-logo { display: block; width: 142px; height: 70px; object-fit: contain; object-position: left center; }
.bonus-brand-row .bonus-age { color: #b5a797; }
.bonus-modal-heading h2 { margin: 12px 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.bonus-modal-heading > p { margin: 0; font-size: 13px; line-height: 1.6; color: #c6c0bd; }
.bonus-values { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.bonus-value-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 12px;
  border: 1px solid #ffd28b;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffcc74, #ff9c25);
  box-shadow: inset 0 1px #fff7, 0 6px 18px #ff9c2510;
  color: #291a0c;
  text-align: center;
  overflow-wrap: anywhere;
}
.bonus-value-card strong { max-width: 100%; font: 800 52px/1.15 Manrope, sans-serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.bonus-value-prefix { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.bonus-value-caption { font-size: 12px; font-weight: 550; line-height: 1.3; }
.bonus-plus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid #242024;
  border-radius: 50%;
  background: #242024;
  color: #ffd082;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}
/* Draw the decorative plus from its center, independent of font metrics. */
.bonus-plus::before,
.bonus-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.bonus-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.bonus-terms { margin-bottom: 20px; padding: 16px 18px; border: 1px solid #ffffff0e; border-radius: 14px; background: #ffffff04; }
.bonus-terms h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: -.015em; }
.bonus-terms p { position: relative; padding-left: 14px; margin: 7px 0; font-size: 12px; line-height: 1.6; color: #c3c0c4; }
.bonus-terms p::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: #ffac48; }
.bonus-terms a { display: inline-block; margin-top: 8px; font-size: 12px; color: #ffc077; text-decoration: underline; text-underline-offset: 3px; }
.bonus-claim { width: 100%; min-height: 54px; gap: 14px; font-size: 16px; }
.bonus-claim:disabled { cursor: wait; opacity: .6; }
.bonus-form-status { margin: 8px 0; font-size: 12px; color: #ffc077; }
.bonus-form-status:empty { display: none; }
.bonus-click-note { display: block; margin-top: 12px; font-size: 11px; text-align: center; color: #a6a3aa; }
.bonus-click-note b { color: #ffc077; }
.geo-credit { display: block; margin-top: 16px; font-size: 10px; text-align: center; color: #8e8b93; }
.geo-credit a { color: inherit; text-decoration: underline; }
.bonus-page { background: radial-gradient(ellipse at 50% 0, #57351f75, transparent 55%), #191a20; border-color: #ffae477a; }
.bonus-page > h1 { margin: 0 0 20px; color: var(--muted); }

/* Upcoming game: artwork, release date and demo action in one compact banner. */
.upcoming-banner {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 26px;
  padding: 22px;
  border: 1px solid #e3ac5350;
  border-radius: 20px;
  background: radial-gradient(ellipse at 7% 100%, #54245b55, transparent 60%), linear-gradient(120deg, #29222a, #1b1b22);
  box-shadow: inset 0 1px #ffe2a60b;
}
.premiere-art { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid #ffffff15; border-radius: 12px; aspect-ratio: 16 / 9; background: #27162b; }
.premiere-art .game-art { display: block; height: 100%; aspect-ratio: 16 / 9; }
.premiere-art img { width: 100%; height: 100%; object-fit: contain; }
.premiere-art-label { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border: 1px solid #ffd48d66; border-radius: 6px; background: #1a1516e8; color: #ffc077; font-size: 9px; font-weight: 650; letter-spacing: .07em; }
.premiere-art-label .icon { width: 12px; height: 12px; }
.premiere-copy { min-width: 0; }
.upcoming-banner .eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 10px; color: #ffc077; }
.upcoming-banner .eyebrow .icon { width: 16px; height: 16px; }
.upcoming-banner h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 35px); line-height: 1.15; }
.premiere-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #b8b3bd; font-size: 11px; }
.premiere-meta time { padding: 7px 9px; border: 1px solid #ffba5426; border-radius: 7px; background: #ffac4812; color: #ffd28b; font-weight: 550; }
.premiere-button { min-height: 50px; white-space: nowrap; padding-inline: 18px; gap: 10px; font-size: 13px; }

@media (max-width: 960px) {
  .upcoming-banner { grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 18px; }
  .premiere-art { grid-row: span 2; }
  .premiere-button { justify-self: start; }
}
@media (max-width: 760px) {
  .bonus-strip { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
  .bonus-strip .bonus-eyebrow { font-size: 9px; gap: 5px; letter-spacing: .04em; }
  .bonus-strip-values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; margin-top: 4px; }
  .bonus-strip-values strong:first-child { white-space: nowrap; }
  .bonus-strip-values strong { font-size: 22px; }
  .bonus-strip-values > span { font-size: 15px; }
  .bonus-strip-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
  .bonus-strip-action .button { min-width: 148px; min-height: 42px; padding: 8px 10px; gap: 8px; font-size: 12px; }
  .bonus-strip-action .button .icon { width: 16px; height: 16px; }
  .bonus-strip-stat { font-size: 9px; }
  .bonus-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 24px; border-radius: 20px; }
  .bonus-modal-heading h2 { font-size: 26px; }
  .bonus-value-card { padding: 18px 10px; }
  .bonus-value-card strong { font-size: clamp(34px, 10vw, 48px); }
  .bonus-value-caption { font-size: 11px; }
  .bonus-values { margin-block: 20px; }
  .upcoming-banner { grid-template-columns: 112px minmax(0, 1fr); padding: 16px; gap: 16px; }
  .premiere-art { grid-row: auto; }
  .premiere-art-label { display: none; }
  .upcoming-banner .eyebrow { font-size: 8px; gap: 5px; margin-bottom: 9px; letter-spacing: .04em; }
  .upcoming-banner .eyebrow .icon { width: 12px; height: 12px; }
  .upcoming-banner h2 { font-size: clamp(20px, 4.6vw, 29px); margin-bottom: 10px; }
  .premiere-meta { gap: 7px; font-size: 10px; }
  .premiere-meta time { padding: 5px 7px; }
  .premiere-button { grid-column: 1 / -1; width: 100%; min-height: 48px; }
}
@media (max-width: 380px) {
  .bonus-strip { padding: 12px; }
  .bonus-placement--hero > .bonus-strip { gap: 8px; padding: 10px; }
  .bonus-hero-title { font-size: 13px; gap: 6px; }
  .bonus-hero-title .icon { width: 24px; height: 24px; flex-basis: 24px; padding: 3px; }
  .bonus-strip--hero .bonus-strip-action .button { min-width: 96px; padding-inline: 8px; }
  .bonus-dialog { padding: 20px; }
  .bonus-brand-row { padding-right: 22px; }
  .bonus-logo { width: 130px; }
  .bonus-terms { padding: 14px; }
  .bonus-values { gap: 10px; }
  .bonus-value-card strong { font-size: 34px; }
  .upcoming-banner { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .upcoming-banner .eyebrow { font-size: 7px; }
  .upcoming-banner .eyebrow .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bonus-dialog[open] { animation: none; }
}

/* ARTICLES */
/* Editorial pages share the catalog's graphite palette and Pragmatic orange. */
.editorial-index,
.editorial-article {
  max-width: 1160px;
  margin-inline: auto;
  padding: 16px 0 40px;
}
.editorial-index-heading { max-width: 780px; }
.editorial-index-heading h1,
.editorial-article-heading h1 {
  margin: 16px 0 18px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.editorial-index-heading > p,
.editorial-intro {
  margin: 0;
  color: #c0c2ca;
  font-size: 16px;
  line-height: 1.75;
}
.editorial-index-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.editorial-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #35343b;
  border-radius: 18px;
  background: linear-gradient(145deg, #212127, #191c22);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.editorial-card:hover {
  transform: translateY(-3px);
  border-color: #ffb35370;
  box-shadow: 0 14px 30px #0004;
}
.editorial-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.editorial-card-link:focus-visible {
  outline: 2px solid #ffb454;
  outline-offset: -3px;
  border-radius: inherit;
}
.editorial-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #15171d;
}
.editorial-card-image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.editorial-card-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #0c0d1494);
  pointer-events: none;
}
.editorial-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid #ffc16b5c;
  border-radius: 6px;
  background: #2b2117;
  color: #ffc477;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}
.editorial-category--comparisons { color: #a7d0ff; border-color: #8abdff58; background: #1b2637; }
.editorial-category--guides { color: #d4b5ff; border-color: #b38aff58; background: #2b203a; }
.editorial-card-image > .editorial-category { position: absolute; left: 14px; bottom: 12px; z-index: 1; }
.editorial-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 11px;
  padding: 18px;
}
.editorial-card-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.03em;
  color: #f6f6f9;
}
.editorial-card-copy > p {
  margin: 0;
  color: #b4b5c0;
  font-size: 13px;
  line-height: 1.65;
}
.editorial-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 7px;
}
.editorial-card-bottom time { color: #aaaab5; font-size: 10px; }
.editorial-read { display: inline-flex; align-items: center; gap: 6px; color: #ffbf66; font-size: 12px; font-weight: 650; }
.editorial-read .icon { width: 16px; height: 16px; }
.editorial-section-heading { gap: 18px; align-items: end; }
.editorial-section-heading .eyebrow { margin-bottom: 10px; font-size: 9px; }
.editorial-section-heading h2 { margin: 0; }
.editorial-section-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }
.editorial-article-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 36px;
  margin-bottom: 42px;
}
.editorial-article-heading h1 { font-size: clamp(30px, 3.15vw, 42px); }
.editorial-lead-image {
  overflow: hidden;
  border: 1px solid #ffb45435;
  border-radius: 18px;
  background: #191b21;
  box-shadow: 0 16px 36px #0003;
}
.editorial-lead-image img { display: block; width: 100%; height: auto; }
.editorial-lead-image:empty { display: none; }
.editorial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 19px;
  color: #a6a7b1;
  font-size: 11px;
}
.editorial-meta > a { color: #ffc477; text-decoration: underline; text-underline-offset: 3px; }
.editorial-reading-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 42px; align-items: start; }
.editorial-sidebar { position: sticky; top: 104px; min-width: 0; }
.editorial-toc { border: 1px solid #ffffff12; border-radius: 14px; background: #191b21; }
.editorial-toc > summary {
  padding: 17px 16px;
  color: #f0edf0;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.editorial-toc > summary::marker { color: #ffb454; }
.editorial-toc ol { display: grid; gap: 11px; margin: 0; padding: 0 16px 19px 33px; color: #af9f8e; }
.editorial-toc li { padding-left: 2px; font-size: 12px; line-height: 1.6; }
.editorial-toc a { color: #c9c4ca; text-decoration: none; }
.editorial-toc a:hover { color: #ffbd68; }
.editorial-body { min-width: 0; }
.editorial-body h2 {
  margin: 0 0 17px;
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.25;
  letter-spacing: -.03em;
}
.editorial-body p,
.editorial-body li { color: #c4c3cd; font-size: 15px; line-height: 1.85; }
.editorial-body p { margin: 0 0 18px; }
.editorial-body ul { padding-left: 21px; margin: 0 0 22px; }
.editorial-body li { margin: 7px 0; padding-left: 3px; }
.editorial-body ul li::marker { color: #ffb353; }
.editorial-section { margin-bottom: 38px; scroll-margin-top: 105px; }
.editorial-table-scroll {
  max-width: 100%;
  margin: 25px 0 20px;
  overflow-x: auto;
  border: 1px solid #38343a;
  border-radius: 12px;
  scrollbar-color: #8f683e #1a1c22;
}
.editorial-table-scroll:focus-visible { outline: 2px solid #ffb454; outline-offset: 3px; }
.editorial-table-scroll table { width: 100%; border-collapse: collapse; min-width: 520px; text-align: left; }
.editorial-table-scroll th,
.editorial-table-scroll td { padding: 13px 15px; border-bottom: 1px solid #343039; font-size: 12px; line-height: 1.65; vertical-align: top; }
.editorial-table-scroll thead th { background: #2b241d; color: #ffcd8e; font-weight: 650; }
.editorial-table-scroll tbody th { color: #eae4e9; font-weight: 600; }
.editorial-table-scroll tbody td { color: #c4c0ca; }
.editorial-table-scroll tbody tr:nth-child(even) { background: #ffffff03; }
.editorial-table-scroll tbody tr:last-child > * { border-bottom: 0; }
.editorial-body .editorial-citations {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 20px;
  color: #aaa4af;
  font-size: 11px;
  line-height: 1.7;
}
.editorial-citations > a { color: #d7b68d; text-decoration: underline; text-underline-offset: 3px; }
.editorial-faq .faq-list summary { font-size: 14px; line-height: 1.5; }
.editorial-faq .faq-list p { margin-bottom: 0; font-size: 14px; }
.editorial-demo-section { margin: 42px 0; padding: 24px; border: 1px solid #ffbd622b; border-radius: 16px; background: linear-gradient(120deg, #28221c, #191b22); scroll-margin-top: 105px; }
.editorial-demo-section > h2 { font-size: 23px; }
.editorial-demo-section > p { font-size: 13px; line-height: 1.7; }
.editorial-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.editorial-demo-link { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 8px; border: 1px solid #ffffff10; border-radius: 10px; background: #15171d; text-decoration: none; }
.editorial-demo-link:hover { border-color: #ffb45470; }
.editorial-demo-link > img { display: block; flex-shrink: 0; width: 88px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.editorial-demo-link > span { min-width: 0; }
.editorial-demo-link strong { display: block; color: #f3eff3; font-size: 12px; line-height: 1.4; }
.editorial-demo-link > span > span { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: #ffbe6b; font-size: 10px; }
.editorial-demo-link .icon { width: 13px; height: 13px; }
.editorial-series-links { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 18px; }
.editorial-series-links .text-link { font-size: 12px; }
.editorial-sources { padding-top: 24px; border-top: 1px solid #ffffff12; scroll-margin-top: 105px; }
.editorial-sources h2 { font-size: 22px; }
.editorial-sources ol { margin: 0; padding-left: 21px; }
.editorial-sources li { padding-left: 4px; font-size: 12px; line-height: 1.75; scroll-margin-top: 110px; }
.editorial-sources a { color: #d3b18b; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.editorial-return { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.editorial-return > .button { min-height: 44px; padding: 11px 16px; font-size: 12px; }

@media (max-width: 1000px) {
  .editorial-reading-grid { grid-template-columns: 205px minmax(0, 1fr); gap: 26px; }
  .editorial-grid { gap: 16px; }
  .editorial-card-copy { padding: 15px; }
  .editorial-card-copy h3 { font-size: 18px; }
  .editorial-demo-grid { grid-template-columns: 1fr; }
  .editorial-article-heading { gap: 26px; }
}
@media (max-width: 760px) {
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-reading-grid { grid-template-columns: 1fr; gap: 27px; }
  .editorial-sidebar { position: static; }
  .editorial-toc ol { gap: 8px; }
  .editorial-article-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 25px; }
  .editorial-lead-image { max-width: 560px; }
  .editorial-article-heading h1,
  .editorial-index-heading h1 { font-size: clamp(28px, 6.4vw, 38px); text-wrap: auto; }
  .editorial-intro,
  .editorial-index-heading > p { font-size: 15px; }
  .editorial-demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-section-heading { align-items: start; }
}
@media (max-width: 560px) {
  .editorial-index,
  .editorial-article { padding-top: 10px; }
  .editorial-grid,
  .editorial-index-grid { grid-template-columns: 1fr; gap: 18px; }
  .editorial-card-copy { padding: 17px; }
  .editorial-card-copy h3 { font-size: 20px; }
  .editorial-section-heading { flex-direction: column; gap: 12px; }
  .editorial-body p,
  .editorial-body li { font-size: 14px; line-height: 1.8; }
  .editorial-section { margin-bottom: 32px; }
  .editorial-demo-section { padding: 18px; }
  .editorial-demo-grid { grid-template-columns: 1fr; }
  .editorial-demo-link > img { width: 94px; }
  .editorial-body .editorial-citations,
  .editorial-sources li { font-size: 11px; }
  .editorial-return { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-card { transition: none; }
  .editorial-card:hover { transform: none; }
}

