/* ==========================================================================
   Ornate Square — ornatesquare.com
   ========================================================================== */

/* Fonts, self-hosted (no request to Google: visitors' IP addresses stay with us). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-stretch: 125%;
  font-display: swap;
  src: url("../fonts/archivo-expanded-800-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: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-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: #0b0c0e;
  --surface: #101215;
  --ink: #f4f5f5;
  --muted: rgba(244, 245, 245, 0.58);
  --faint: rgba(244, 245, 245, 0.4);
  --rule: rgba(255, 255, 255, 0.11);
  --rule-soft: rgba(255, 255, 255, 0.065);
  --amber: #f5a90c;
  --amber-hi: #f5b908;
  --amber-lo: #ec8a0f;
  --amber-grad: linear-gradient(180deg, var(--amber-hi), var(--amber-lo));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wide: "Archivo", "Arial Black", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(calc(100% - 56px), 1280px);
  margin-inline: auto;
}

/* Brand ------------------------------------------------------------------ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.wordmark {
  display: grid;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--amber);
  -webkit-text-fill-color: transparent;
  font-family: var(--font-wide);
  font-size: 10.5px;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.42em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Buttons ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid #f5f6f6;
  border-radius: 8px;
  background: #f5f6f6;
  color: #0c0d0f;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  border-color: var(--amber);
  background: var(--amber);
}

.button:active {
  border-color: #fff;
  background: #fff;
}

.button svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 12px;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-ghost:active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Links to Stake: outlined in the theme colour, filled with it on hover. */
.button-stake {
  border-color: var(--amber);
  background: rgba(245, 169, 12, 0.06);
  color: #fff;
}

.button-stake:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: #111;
}

.button-stake:active {
  border-color: var(--amber-hi);
  background: var(--amber-hi);
  color: #111;
}

.kicker {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 14px;
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 30px;
  padding: 0 10px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(13, 15, 18, 0.74);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 560;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  place-items: center;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.icon-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.icon-link svg {
  width: 15px;
  height: 15px;
}

/* Visible only in the mobile menu; elsewhere it names the icon for screen readers. */
.icon-link-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 10vh, 120px) 0 clamp(72px, 12vh, 140px);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(
      112deg,
      transparent 4%,
      rgba(245, 169, 12, 0.02) 30%,
      rgba(245, 169, 12, 0.07) 64%,
      rgba(245, 169, 12, 0.02) 84%,
      transparent 100%
    ),
    radial-gradient(50% 40% at 50% 34%, rgba(245, 169, 12, 0.08), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%);
  pointer-events: none;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.22s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.28s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2.6vh, 28px);
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12.5px;
  font-weight: 560;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-badge[hidden] {
  display: none;
}

.hero-badge:hover {
  border-color: rgba(245, 169, 12, 0.5);
  background: rgba(245, 169, 12, 0.06);
}

.hero-badge b {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--amber);
  color: #111;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, min(7vw, 10vh), 96px);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 1;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

/* Slot-reel digits: each column is a strip of 0-9 that spins and lands. */
.reel {
  display: inline-flex;
  height: 1em;
  vertical-align: top;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  filter: drop-shadow(0 0 0.25em rgba(245, 169, 12, 0.22));
  white-space: nowrap;
}

.reel-col,
.reel-sep {
  display: block;
  height: 1em;
  max-width: 0.75em;
  overflow: hidden;
  transition: max-width 0.55s var(--ease), opacity 0.35s ease;
}

.reel-col {
  margin-right: -0.02em;
}

.reel-sep {
  margin-right: 0.01em;
}

.reel-col.is-off,
.reel-sep.is-off {
  max-width: 0;
  margin-right: 0;
  opacity: 0;
}

.reel-strip {
  display: block;
  will-change: transform;
}

.reel-strip span,
.reel-sep,
.reel-x {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.reel-x {
  margin-left: 0.04em;
}

.hero-caption {
  margin: clamp(12px, 2vh, 18px) 0 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-caption strong {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.hero-caption strong.is-swapping {
  opacity: 0;
  transform: translateY(4px);
}

.hero-description {
  max-width: 600px;
  margin: clamp(12px, 2.2vh, 20px) auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 28px);
}

/* Cover river: two lines of game covers scrolling in opposite directions behind the hero copy. */
.river {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  pointer-events: none;
  animation: fade 1.4s 0.2s ease both;
}

/* Dims the covers so the copy stays readable: darkest behind the text,
   fading into the page on every edge, with the amber glow on top. */
.river::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 48% at 50% 56%, rgba(245, 169, 12, 0.12), transparent 70%),
    linear-gradient(to bottom, var(--bg), transparent 24%, transparent 76%, var(--bg)),
    linear-gradient(to right, var(--bg), transparent 12%, transparent 88%, var(--bg)),
    radial-gradient(50% 60% at 50% 50%, rgba(11, 12, 14, 0.88), rgba(11, 12, 14, 0.7) 62%, rgba(11, 12, 14, 0.5));
  content: "";
}

.river-row {
  display: flex;
  width: max-content;
  gap: 18px;
  /* A light blur keeps the cover titles from competing with the copy. */
  filter: blur(1.5px);
  animation: river var(--river-duration, 60s) linear infinite;
}

.river-row.is-reverse {
  animation-direction: reverse;
  animation-delay: calc(var(--river-duration, 60s) * -0.37);
}

.river-item {
  width: clamp(140px, min(15vw, 24vh), 230px);
  flex: none;
  aspect-ratio: 408 / 546;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.river-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes river {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* Stats ------------------------------------------------------------------ */

.stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-block: 0;
  list-style: none;
}

.stats-grid li {
  padding: 36px 28px 34px;
  border-left: 1px solid var(--rule-soft);
}

.stats-grid li:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-value {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 37px);
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.stat-value em {
  color: var(--amber);
  font-style: normal;
}

.stat-reel {
  display: inline-flex;
  height: 1em;
  vertical-align: top;
}

.stat-label {
  display: block;
  margin-top: 13px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections --------------------------------------------------------------- */

.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
  border-top: 1px solid var(--rule-soft);
}

.stats + .section {
  border-top: 0;
}

.section-heading {
  max-width: 640px;
}

.section-heading h2 {
  margin: 0;
  color: #f5f6f6;
  font-size: clamp(40px, 4.7vw, 62px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.03;
  text-wrap: balance;
}

.section-heading .lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Games ------------------------------------------------------------------ */

.games-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.segmented button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  transition: background 0.15s ease, color 0.15s ease;
}

.segmented button:hover {
  color: #fff;
}

.segmented button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.segmented .icon-button {
  display: grid;
  width: 38px;
  padding: 0;
  place-items: center;
}

.icon-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.game-list {
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}

.game {
  position: relative;
}

.game-trailer {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.game-trailer:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: #111;
}

.game-trailer svg {
  width: 10px;
  height: 10px;
}

.game-list[data-view="grid"] .game:hover .game-trailer {
  transform: translateY(-4px);
}

.game-list[data-view="list"] .game-trailer {
  display: none;
}

.game-link {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.game-index,
.game-tag {
  display: none;
}

.game-cover {
  position: relative;
  display: block;
  aspect-ratio: 408 / 546;
  overflow: hidden;
  background: #15181c;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.game-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-badge,
.game-tag {
  padding: 4px 8px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber);
  color: #111;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.game-badge {
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}

.game-badge.is-featured,
.game-tag.is-featured {
  border-color: rgba(245, 169, 12, 0.6);
  background: rgba(11, 12, 14, 0.8);
  color: var(--amber);
}

.game-badge.is-featured {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.game-info {
  display: block;
  min-width: 0;
}

.game-name {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.game-meta {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.4;
}

.game-stat small {
  display: block;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.game-stat strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.game-max strong {
  color: var(--amber);
}

.game-stat.is-empty strong {
  color: rgba(255, 255, 255, 0.28);
}

.game-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.game-cta svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.game-link:hover .game-cta svg {
  transform: translate(2px, -2px);
}

/* Grid view */
.game-list[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-list[data-view="grid"] .game-link {
  display: grid;
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  background: var(--surface);
  grid-template-areas:
    "cover cover"
    "info info"
    "rtp max"
    "cta cta";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto;
  transition: transform 0.35s var(--ease), border-color 0.2s ease, box-shadow 0.35s var(--ease);
}

.game-list[data-view="grid"] .game-link.is-featured {
  border-color: rgba(245, 169, 12, 0.3);
}

.game-list[data-view="grid"] .game:hover .game-link {
  border-color: rgba(245, 169, 12, 0.5);
  box-shadow: 0 26px 50px -26px rgba(245, 169, 12, 0.4);
  transform: translateY(-4px);
}

.game-list[data-view="grid"] .game-link:hover .game-cover img {
  transform: scale(1.045);
}

.game-list[data-view="grid"] .game-cover {
  grid-area: cover;
}

.game-list[data-view="grid"] .game-info {
  padding: 16px 16px 15px;
  grid-area: info;
}

.game-list[data-view="grid"] .game-stat {
  padding: 12px 16px 13px;
  border-top: 1px solid var(--rule-soft);
}

.game-list[data-view="grid"] .game-rtp {
  grid-area: rtp;
}

.game-list[data-view="grid"] .game-max {
  border-left: 1px solid var(--rule-soft);
  grid-area: max;
}

.game-list[data-view="grid"] .game-cta {
  padding: 13px 16px;
  border-top: 1px solid var(--rule-soft);
  grid-area: cta;
}

.game-list[data-view="grid"] .game-link:hover .game-cta {
  background: var(--amber);
  color: #111;
}

/* List view */
.game-list[data-view="list"] {
  border-top: 1px solid var(--rule);
}

.game-list[data-view="list"] .game-link {
  display: grid;
  align-items: center;
  padding: 16px 10px;
  border-bottom: 1px solid var(--rule);
  gap: 28px;
  grid-template-columns: 34px 60px minmax(0, 1fr) 120px 140px 176px;
  transition: background 0.2s ease;
}

.game-list[data-view="list"] .game-link:hover {
  background: rgba(255, 255, 255, 0.025);
}

.game-list[data-view="list"] .game-index {
  display: block;
  color: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.game-list[data-view="list"] .game-cover {
  border-radius: 9px;
}

.game-list[data-view="list"] .game-badges {
  display: none;
}

.game-list[data-view="list"] .game-name {
  display: inline;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.game-list[data-view="list"] .game-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 7px;
  font-size: 9px;
  vertical-align: 0.45em;
}

.game-list[data-view="list"] .game-stat strong {
  font-size: 19px;
}

.game-list[data-view="list"] .game-cta {
  min-height: 42px;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--amber);
  border-radius: 8px;
  background: rgba(245, 169, 12, 0.06);
  color: #fff;
}

.game-list[data-view="list"] .game-link:hover .game-cta {
  border-color: var(--amber);
  background: var(--amber);
  color: #111;
}

.noscript {
  margin: 40px 0 0;
  color: var(--muted);
}

.noscript a {
  color: var(--amber);
}

/* Featured game ---------------------------------------------------------- */

.spotlight[hidden] {
  display: none;
}

.spotlight-layout {
  display: grid;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.spotlight-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.spotlight-tagline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.spotlight-stats {
  display: flex;
  gap: 44px;
  padding-top: 22px;
  margin: 30px 0 0;
  border-top: 1px solid var(--rule);
}

.spotlight-stats dt {
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spotlight-stats dd {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(26px, 2.6vw, 36px);
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1;
}

.spotlight-stats dd.is-accent {
  color: var(--amber);
}

.spotlight-features {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.spotlight-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 560;
}

.spotlight-features svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: rgba(245, 169, 12, 0.14);
  color: var(--amber);
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.spotlight-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(245, 169, 12, 0.1), 0 40px 90px -40px rgba(245, 169, 12, 0.5);
}

.spotlight-media.is-cover {
  max-width: 360px;
  aspect-ratio: 408 / 546;
  justify-self: center;
}

.spotlight-video,
.spotlight-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-video {
  cursor: pointer;
}

.spotlight-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.spotlight-control {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.spotlight-control:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: #111;
}

.spotlight-control svg {
  width: 16px;
  height: 16px;
}

/* Trailer lightbox -------------------------------------------------------- */

.trailer-dialog {
  width: min(1200px, calc(100vw - 32px), calc((100vh - 140px) * 16 / 9));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}

.trailer-dialog[open] {
  animation: rise 0.45s var(--ease) both;
}

.trailer-dialog::backdrop {
  background: rgba(5, 6, 7, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.trailer-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
}

.trailer-close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.8);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.trailer-close:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: #111;
}

.trailer-close svg {
  width: 14px;
  height: 14px;
}

/* Contact page ----------------------------------------------------------- */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 9vh, 104px) 0 clamp(72px, 11vh, 120px);
}

.contact::before {
  position: absolute;
  z-index: -1;
  top: -260px;
  left: 50%;
  width: min(1100px, 150vw);
  height: 640px;
  background: radial-gradient(closest-side, rgba(245, 169, 12, 0.12), transparent);
  content: "";
  transform: translateX(-50%);
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.contact-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.contact-intro .lead {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-channels {
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.contact-channels li {
  display: grid;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  column-gap: 20px;
  grid-template-columns: 80px minmax(0, 1fr);
}

.contact-channels span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-channels li > a {
  justify-self: start;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: color 0.15s ease;
}

.contact-channels li > a:hover {
  color: var(--amber);
}

.contact-channels p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.6;
}

.contact-channels p a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-channels p a:hover {
  color: var(--amber);
}

.contact-card {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form[hidden],
.form-success[hidden] {
  display: none;
}

.field-row {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  gap: 8px;
}

.field label,
.field legend {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  font-weight: 620;
}

.field legend {
  margin-bottom: 8px;
}

.field small {
  margin-left: 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0b0d10;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 169, 12, 0.18);
  outline: none;
}

.field .is-invalid,
.field .is-invalid:hover {
  border-color: #ff7a6b;
}

.field .is-invalid:focus {
  border-color: #ff7a6b;
  box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.2);
}

.field-error {
  display: none;
  margin: 0;
  color: #ff8f80;
  font-size: 12px;
}

.field.has-error > .field-error {
  display: block;
}

.field .consent {
  display: grid;
  align-items: start;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--amber);
  cursor: pointer;
}

.field-consent.has-error .consent input {
  outline: 2px solid #ff7a6b;
  outline-offset: 2px;
}

.consent a,
.form-note a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent a:hover,
.form-note a:hover {
  color: var(--amber);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chip:hover span {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.chip input:checked + span {
  border-color: var(--amber);
  background: rgba(245, 169, 12, 0.1);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Spam trap: kept out of sight but still in the form for bots to fill. */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 4px;
}

.form-note {
  flex: 1 1 300px;
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.button.is-loading {
  cursor: progress;
  opacity: 0.7;
}

.form-status {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #ff8f80;
}

.form-status a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 8px;
  outline: none;
}

.form-success-icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 169, 12, 0.14);
  color: var(--amber);
  place-items: center;
}

.form-success-icon svg {
  width: 24px;
  height: 24px;
}

.form-success h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 620;
  letter-spacing: -0.045em;
}

.form-success p {
  max-width: 440px;
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Legal pages ------------------------------------------------------------ */

.legal {
  padding: clamp(56px, 9vh, 104px) 0 clamp(72px, 11vh, 120px);
}

.legal-inner {
  max-width: 760px;
}

.legal h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 640;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.legal .legal-intro {
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
}

.legal h2 {
  padding-top: 28px;
  margin: 48px 0 0;
  border-top: 1px solid var(--rule);
  color: #fff;
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.75;
}

.legal p {
  margin: 14px 0 0;
}

.legal ul {
  padding-left: 20px;
  margin: 14px 0 0;
}

.legal li + li {
  margin-top: 8px;
}

.legal strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--amber);
}

/* Studio ----------------------------------------------------------------- */

.studio {
  background: var(--surface);
}

.studio-layout {
  display: grid;
  align-items: start;
  gap: clamp(56px, 9vw, 140px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.studio-heading {
  position: sticky;
  top: 120px;
}

.features {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.features li {
  display: grid;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--rule);
  column-gap: 28px;
  grid-template-columns: 100px minmax(0, 1fr);
}

.features span {
  padding-top: 6px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.features h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.features p {
  max-width: 560px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  grid-column: 2;
  line-height: 1.68;
}

/* Final CTA -------------------------------------------------------------- */

.final {
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 96px;
  text-align: center;
}

.final::before {
  position: absolute;
  z-index: -1;
  bottom: -320px;
  left: 50%;
  width: min(1000px, 140vw);
  height: 640px;
  background: radial-gradient(closest-side, rgba(245, 169, 12, 0.2), transparent);
  content: "";
  transform: translateX(-50%);
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-mark {
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 22px rgba(245, 169, 12, 0.35));
}

.final h2 {
  max-width: 940px;
  margin: 0;
  color: #f5f6f6;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.final h2 em {
  color: var(--amber);
  font-style: normal;
}

.final .lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule-soft);
  background: #08090a;
}

.footer-inner {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 36px 0;
}

.footer-brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  gap: 6px;
  margin: 12px 0 0 -8px;
}

.footer-social {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  place-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 26px;
}

.footer-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 570;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--rule-soft);
  color: rgba(255, 255, 255, 0.36);
  font-size: 11.5px;
  line-height: 1.6;
}

.footer-legal p {
  margin: 0;
}

.footer-age {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.56);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: #fff;
}

.age {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: none;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9.5px;
  font-weight: 800;
  place-items: center;
}

/* Scroll reveal (only when JS is running) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1180px) {
  .game-list[data-view="list"] .game-link {
    gap: 22px;
    grid-template-columns: 30px 56px minmax(0, 1fr) 100px 120px 150px;
  }
}

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stats-grid li:nth-child(n + 3) {
    border-top: 1px solid var(--rule-soft);
  }
}

@media (max-width: 960px) {
  .contact-layout {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .spotlight-layout {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .spotlight-media {
    order: -1;
  }

  .game-list[data-view="grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-list[data-view="list"] .game-link {
    grid-template-columns: 56px minmax(0, 1fr) 96px 116px;
  }

  .game-list[data-view="list"] .game-index,
  .game-list[data-view="list"] .game-cta {
    display: none;
  }

  .studio-layout {
    gap: 56px;
    grid-template-columns: 1fr;
  }

  .studio-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), 1280px);
  }

  .site-header {
    padding-top: 10px;
  }

  .header-inner {
    min-height: 58px;
    gap: 16px;
    padding: 0 7px 0 14px;
    border-radius: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: #0d0f12;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    padding: 13px 12px;
    font-size: 15px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .button,
  .site-nav .icon-link {
    min-height: 48px;
  }

  .site-nav .icon-link {
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 650;
  }

  .site-nav .icon-link-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 360px);
  }

  .river {
    gap: 12px;
  }

  .river-row {
    gap: 12px;
    animation-name: river-sm;
  }

  .section {
    padding: 56px 0;
  }

  .games-top {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    justify-content: space-between;
  }

  .game-list {
    margin-top: 28px;
  }

  .game-list[data-view="grid"] {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-list[data-view="grid"] .game-info {
    padding: 12px 12px 11px;
  }

  .game-list[data-view="grid"] .game-name {
    font-size: 15px;
  }

  .game-list[data-view="grid"] .game-stat {
    padding: 10px 12px 11px;
  }

  .game-list[data-view="grid"] .game-stat small {
    font-size: 9px;
  }

  .game-list[data-view="grid"] .game-stat strong {
    font-size: 15px;
  }

  .game-list[data-view="grid"] .game-cta {
    padding: 11px 12px;
  }

  .game-list[data-view="list"] .game-link {
    padding: 14px 4px;
    column-gap: 14px;
    row-gap: 8px;
    grid-template-areas:
      "cover info info"
      "cover rtp max";
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr);
  }

  .game-list[data-view="list"] .game-cover {
    grid-area: cover;
  }

  .game-list[data-view="list"] .game-info {
    grid-area: info;
  }

  .game-list[data-view="list"] .game-rtp {
    grid-area: rtp;
  }

  .game-list[data-view="list"] .game-max {
    grid-area: max;
  }

  .game-list[data-view="list"] .game-name {
    font-size: 18px;
  }

  .game-list[data-view="list"] .game-stat strong {
    font-size: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-footer .button {
    width: 100%;
  }

  .features li {
    grid-template-columns: 1fr;
  }

  .features span {
    margin-bottom: 10px;
    padding-top: 0;
  }

  .features p {
    grid-column: 1;
  }

  .final {
    padding: 64px 0 72px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .stats-grid li {
    padding: 28px 16px 26px;
  }

  .stat-value {
    font-size: 21px;
  }

  .stat-label {
    font-size: 10px;
  }
}

@keyframes river-sm {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .river-row {
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
