:root {
  --bg: #07090d;
  --bg-elevated: #10141c;
  --bg-soft: #151b26;
  --text: #f2f4f7;
  --muted: #9aa3b2;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #e8a23a;
  --accent-hot: #ff6b3d;
  --accent-glow: rgba(232, 162, 58, 0.28);
  --radius: 18px;
  --header-h: 120px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --page-pad: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --button-radius: 0.9375rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 162, 58, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(255, 107, 61, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 13, 0.92);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: auto;
  height: 58px;
}

.site-header .brand img {
  height: 102px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 162, 58, 0.45);
  color: var(--accent) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(232, 162, 58, 0.12);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: grid;
  gap: 0.25rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.85rem 0.4rem;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.hero {
  --hero-copy-w: min(24rem, 28vw);
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: end;
  gap: 1.25rem;
  padding: 2.5rem var(--page-pad) 3.5rem;
  overflow: hidden;
  background: var(--bg);
}

.hero-stage {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: min(70vh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-veil {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: heroIn 1s var(--ease) both;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-content .hero-actions {
  margin-top: 0;
}

/* Mobile: full-bleed reel + bottom scrub under copy stack */
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: auto 0 0;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(7, 9, 13, 0.92) 0%,
    rgba(7, 9, 13, 0.55) 55%,
    transparent 100%
  );
}

@media (min-width: 960px) {
  .hero {
    align-content: start;
    gap: 0.85rem;
    padding: 1.25rem 0 2.75rem;
    /* Don't force full viewport — avoids a large empty band above the proof stats */
    min-height: 0;
  }

  .hero-stage {
    /* Same content width / gutters as the header logo row */
    display: block;
    min-height: 0;
    height: auto;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--page-pad);
    box-sizing: border-box;
  }

  .hero-stage::before {
    display: none;
  }

  /*
    Video panel: right two-thirds, intrinsic 16:9.
    Framing unchanged (contain + top); stage height follows this box.
  */
  .hero-media {
    position: relative;
    inset: auto;
    width: 66.6667%;
    margin-left: 33.3333%;
    aspect-ratio: 16 / 9;
  }

  /* Soften the hard left cut of the video panel */
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(12rem, 28%);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(7, 9, 13, 0.75) 35%,
      transparent 100%
    );
  }

  .hero-video {
    object-fit: contain;
    object-position: center top;
    transform: none;
  }

  /*
    Text box shares the stage's top/bottom (= video panel edges).
    Brand top; headline + lead middle; CTAs at bottom of the same text box.
  */
  .hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--page-pad);
    width: min(var(--hero-copy-w), calc(33.3333% - 0.5rem));
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    max-width: none;
    box-sizing: border-box;
  }

  .hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: -3rem;
    right: 0;
    width: auto;
    background: linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(7, 9, 13, 1) 38%,
      rgba(7, 9, 13, 0.92) 52%,
      rgba(7, 9, 13, 0.45) 72%,
      transparent 100%
    );
  }

  .hero .brand-mark {
    position: relative;
    z-index: 1;
    font-size: clamp(1.05rem, 1.45vw, 1.45rem);
    margin: 0;
    padding-top: 0.1em;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    min-height: 0;
  }

  .hero-copy > h1 {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: block;
    margin: 0;
    font-size: clamp(2.35rem, 4.1vw, 3.75rem);
    max-width: none;
    padding: 0;
  }

  .hero-lead {
    position: relative;
    z-index: 1;
    max-width: 22rem;
    margin: 0;
    font-size: clamp(0.88rem, 0.95vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-transform: none;
    text-align: left;
    color: #c4cad6;
  }

  .hero-content .hero-actions {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding-bottom: 0.35rem;
    gap: 0.65rem;
  }

  .hero-content .btn {
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    font-size: 0.92rem;
  }

  .mute-toggle {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 1rem;
    top: auto;
    left: auto;
  }
}

.h1-word-gap {
  display: none;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  max-width: 12ch;
}

.hero-lead {
  margin: 0;
  max-width: 38rem;
  color: #c4cad6;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Desktop type overrides must follow base hero type rules */
@media (min-width: 960px) {
  .hero-copy > h1 {
    font-size: clamp(2.35rem, 4.1vw, 3.75rem);
    max-width: none;
  }

  .hero-lead {
    max-width: 22rem;
    font-size: clamp(0.88rem, 0.95vw, 1rem);
    padding-bottom: 20px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #140f0a;
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(232, 162, 58, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.btn-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.btn-quiet[aria-pressed="true"] {
  color: var(--accent);
}

.mute-toggle {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  bottom: auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 9, 13, 0.62);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mute-toggle:hover,
.mute-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(7, 9, 13, 0.82);
  border-color: rgba(232, 162, 58, 0.55);
  color: var(--accent);
}

.mute-toggle[aria-pressed="true"] {
  color: var(--accent);
  border-color: rgba(232, 162, 58, 0.45);
}

.mute-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.mute-toggle .mute-icon[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .mute-toggle {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    width: 52px;
    height: 52px;
  }
}

/*
  Mobile-only hero stack (desktop locked above):
  header → full-width video → brand → headline → lead → CTAs
*/
@media (max-width: 959px) {
  :root {
    --header-h: 64px;
  }

  .site-header .brand img {
    height: 58px;
  }

  .site-header {
    border-bottom-color: transparent;
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    min-height: 0;
    align-content: start;
    gap: 0;
    padding: 0 0 1.75rem;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.15rem;
    min-height: 0;
    height: auto;
  }

  .hero-stage::before {
    display: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
    /* Slightly taller than true 16:9 — mild zoom without heavy crop */
    aspect-ratio: 16 / 8.35;
    overflow: hidden;
    background: #05070b;
  }

  .hero-media::after {
    display: none;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Gentle scale — reclaim a bit of height, keep most of the frame */
    transform: scale(1.06);
  }

  .hero-content {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 var(--page-pad);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
  }

  .hero-content::before {
    display: none;
  }

  .hero .brand-mark {
    margin: 0;
    padding: 0;
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  }

  .hero-copy {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 0;
  }

  .hero-copy > h1,
  .hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    max-width: none;
    padding: 0;
    line-height: 1.05;
  }

  .h1-word-gap {
    display: inline-block;
    width: 0.28em;
  }

  .br-desktop-only {
    display: none;
  }

  .br-mobile-only {
    display: revert;
  }

  .hero-lead {
    max-width: none;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-content .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.35rem;
    padding-bottom: 0;
  }

  .hero-content .btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .mute-toggle {
    top: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    width: 48px;
    height: 48px;
  }
}

.proof {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 2;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 20, 28, 0.9);
  backdrop-filter: blur(10px);
}

.proof-item {
  padding: 0.75rem 0.35rem;
  text-align: center;
}

.proof-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.proof-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: clamp(0.68rem, 2.4vw, 0.88rem);
  font-weight: 500;
  line-height: 1.25;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 1rem;
}

.section-head,
.cabinets-intro,
.contact-copy {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head--split {
  max-width: none;
}

.section-head-copy {
  max-width: 40rem;
}

.section-head-visual {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.section-head-art,
.game-reel {
  width: 100%;
  max-width: 36rem;
}

.game-reel {
  display: block;
}

.game-reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: #05070b;
  overflow: hidden;
}

.game-reel-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.game-reel-strip {
  will-change: transform;
}

.game-reel-item {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
}

.game-reel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.game-reel.is-spinning .game-reel-item img {
  filter: blur(0.55px);
}

.game-reel-rest {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: #05070b;
  display: block;
  pointer-events: none;
}

.game-reel.is-spinning .game-reel-rest {
  display: none;
}

.game-reel-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 12%;
  pointer-events: none;
  z-index: 2;
}

.game-reel-fade--top {
  top: 0;
  background: linear-gradient(to bottom, #05070b 30%, transparent);
}

.game-reel-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #05070b 30%, transparent);
}

.game-reel-sight {
  position: absolute;
  inset: 0.45rem;
  z-index: 3;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(232, 162, 58, 0.2);
  pointer-events: none;
}

.section-head-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.section-head-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
  max-width: 28rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2,
.cabinets-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
  font-weight: 400;
}

.br-mobile-only {
  display: none;
}

.h2-break--mobile {
  display: none;
}

.h2-break--desktop {
  display: inline;
}

@media (max-width: 959px) {
  .h2-break--desktop {
    display: none;
  }

  .h2-break--mobile {
    display: inline;
  }

  .h2-nobr {
    white-space: nowrap;
  }
}

.h2-stanza {
  display: block;
}

.h2-stanza + .h2-stanza {
  margin-top: 0.42em;
}

.section-lead {
  margin: 0.9rem 0 0;
  color: #c4cad6;
  font-weight: 500;
  line-height: 1.55;
}

.hero-lead strong,
.section-lead strong {
  font-weight: 700;
  color: var(--text);
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.game-card {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(232, 162, 58, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.game-art {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0b0f16;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.game-card:hover .game-art img {
  transform: scale(1.04);
}

.game-meta {
  padding: 1.1rem 1.2rem 1.35rem;
}

.game-meta h3 {
  margin: 0;
  font-size: 1.15rem;
}

.game-meta p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.community-head {
  max-width: none;
}

.community-head .section-lead {
  max-width: none;
}

.section.community h2 {
  max-width: none;
}

.community-titles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
}

.community-title {
  margin: 0;
  min-width: 0;
}

.community-title-screen {
  position: relative;
  border-radius: 10px;
  padding: 0.4rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 36px rgba(0, 0, 0, 0.38),
    0 2px 0 rgba(0, 0, 0, 0.55);
}

.community-title-screen::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  z-index: 1;
  border-radius: 4px;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.05) 18%,
    transparent 38%
  );
  mix-blend-mode: soft-light;
}

.community-title-screen::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -0.55rem;
  height: 0.85rem;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.community-title img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  background: #05070b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55) inset;
  transition: filter 0.35s ease;
}

.community-title:hover .community-title-screen {
  border-color: rgba(232, 162, 58, 0.28);
}

.community-title:hover img {
  filter: brightness(1.04);
}

.community-actions {
  margin-top: 0;
}

.community-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 0.15rem;
}

.community-cta-copy {
  margin: 0;
  flex: 1 1 14rem;
  max-width: 34rem;
  color: #c4cad6;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.community-cta-copy strong {
  font-weight: 700;
  color: var(--text);
}

.community-cta-row .btn {
  flex: 0 0 auto;
  width: auto;
  margin-left: auto;
}

@media (min-width: 720px) {
  .community-titles {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .community-title {
    opacity: 1 !important;
    position: relative !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 719px) {
  .community-titles {
    position: relative;
    display: block;
    gap: 0;
  }

  .community-title {
    transition: opacity 1.15s ease;
  }

  .community-title:first-child {
    position: relative;
  }

  .community-title:not(:first-child) {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
  }

  .community-title:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  .community-title.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
  }
}

.market-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.4vw, 0.9rem);
  width: 100%;
  max-width: 30rem;
}

.market-list li {
  display: grid;
  align-items: center;
  min-height: clamp(3.4rem, 9vw, 4.6rem);
  padding: 0.75rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 3.6vw, 1.85rem);
  line-height: 1;
  text-align: center;
}

.market-list li:nth-child(3n + 1) {
  text-align: left;
  justify-items: start;
}

.market-list li:nth-child(3n) {
  text-align: right;
  justify-items: end;
}

.market-list li.market-list-item--wide {
  font-size: clamp(0.95rem, 2.8vw, 1.45rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  padding-inline: 0.55rem;
}

@media (min-width: 720px) and (max-width: 959px) {
  .market-list {
    max-width: 36rem;
    gap: 0.9rem;
  }

  .market-list li {
    min-height: 4.75rem;
    padding: 1.15rem 1.15rem;
    border-radius: 14px;
    font-size: clamp(1.55rem, 2.1vw, 2rem);
    letter-spacing: 0.06em;
  }

  .market-list li.market-list-item--wide {
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    letter-spacing: 0.045em;
  }
}

.markets-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.markets-cta .btn {
  width: auto;
}

.studio-details {
  margin: 1.35rem 0 0;
  max-width: none;
  font-style: normal;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.studio-details p {
  margin: 0 0 1rem;
}

.studio-details p:last-child {
  margin-bottom: 0;
}

.studio-name {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.studio-label {
  display: inline-block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio-details a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.studio-details a:hover,
.studio-details a:focus-visible {
  color: var(--accent);
  border-bottom-color: rgba(232, 162, 58, 0.45);
}

.studio-legal {
  margin-top: 1.15rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.studio-legal a {
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal a[aria-current="page"] {
  color: var(--accent);
}

.legal-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-hero {
  margin-bottom: 2rem;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.legal-updated {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-doc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--text);
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc strong {
  color: var(--text);
  font-weight: 700;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 162, 58, 0.35);
}

.legal-doc a:hover,
.legal-doc a:focus-visible {
  border-bottom-color: var(--accent);
}

@media (min-width: 960px) {
  /* Side-by-side prototype: markets | contact */
  .markets-contact-band {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(22rem, 1.25fr);
    gap: 1.75rem 2.25rem;
    align-items: start;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem 5rem;
  }

  .markets-contact-band .section.markets,
  .markets-contact-band .section.contact {
    max-width: none;
    margin: 0;
    padding: 6.5rem 0 0;
  }

  .markets-contact-band .section.contact {
    padding-bottom: 0;
  }

  .markets-contact-band .section.markets .section-head {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .markets-contact-band .section.markets .section-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .markets-contact-band .market-list {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .markets-contact-band .market-list li,
  .markets-contact-band .market-list li:nth-child(3n),
  .markets-contact-band .market-list li:nth-child(3n + 1),
  .markets-contact-band .market-list li:nth-child(-n + 4),
  .markets-contact-band .market-list li:nth-child(n + 5) {
    grid-column: auto;
    min-height: 3.1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    font-size: clamp(1.2rem, 1.35vw, 1.55rem);
    letter-spacing: 0.05em;
    text-align: left;
    justify-items: start;
  }

  .markets-contact-band .markets-cta {
    justify-content: flex-start;
    margin-top: 1.15rem;
  }

  .markets-contact-band .contact-panel {
    max-width: none;
    margin: 0;
    width: 100%;
  }

  .markets-contact-band .contact-copy {
    max-width: none;
    margin-bottom: 1.15rem;
  }

  .markets-contact-band .contact-copy h2 {
    font-size: clamp(1.85rem, 2.4vw, 2.45rem);
  }
}

.cabinets-feature {
  margin-bottom: 0;
}

.cabinets-feature .section-actions {
  margin-top: 1.25rem;
}

.cabinet-gallery-shell {
  position: relative;
  width: 100%;
}

.cabinet-gallery-nav {
  display: none;
}

.cabinet-gallery-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 1.35rem 0.75rem 0.45rem;
  text-align: center;
  color: rgba(242, 244, 247, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: linear-gradient(to top, rgba(12, 16, 23, 0.92) 35%, transparent);
  border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px);
  pointer-events: none;
}

.cabinet-gallery-note-mobile {
  display: none;
}

.cabinet-gallery-note-desktop {
  display: inline;
}

.cabinet-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  align-items: start;
  padding: 0.55rem 0.75rem 1.7rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(ellipse 95% 55% at 50% 8%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 45%, rgba(0, 0, 0, 0.28)),
    #171c26;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  isolation: isolate;
}

.cabinet-gallery::before {
  display: none;
}

.cabinet-gallery-item {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  line-height: 0;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.cabinet-gallery.is-cycling .cabinet-gallery-item {
  opacity: 0.55;
  filter: grayscale(0.15) brightness(0.92);
  transform: scale(0.985);
}

.cabinet-gallery.is-cycling .cabinet-gallery-item.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1.035);
  z-index: 2;
}

.cabinet-gallery-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
}

.cabinet-gallery-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(44vh, 340px);
  object-fit: contain;
  object-position: top center;
  pointer-events: none;
  filter:
    brightness(1.12)
    contrast(1.14)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.22))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7));
}

.cabinet-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.cabinet-lightbox[hidden] {
  display: none;
}

.cabinet-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(3, 5, 9, 0.88);
  cursor: pointer;
}

.cabinet-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  height: min(88vh, 980px);
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c1017;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.cabinet-lightbox-stage {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    #090c11;
}

.cabinet-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.cabinet-lightbox-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: 92%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.cabinet-lightbox-hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 14, 0.82);
  color: #f2f4f7;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.cabinet-lightbox-hint.is-faded {
  opacity: 0;
}

.cabinet-lightbox-close,
.cabinet-lightbox-nav,
.cabinet-lightbox-toolbar button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 16, 23, 0.88);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
}

.cabinet-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.45rem;
  line-height: 1;
}

.cabinet-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.6rem;
  line-height: 1;
}

.cabinet-lightbox-nav--prev {
  left: 0.75rem;
}

.cabinet-lightbox-nav--next {
  right: 0.75rem;
}

.cabinet-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.cabinet-lightbox-toolbar button {
  min-width: 2.4rem;
  height: 2.2rem;
  padding: 0 0.85rem;
  font-weight: 600;
}

body.has-lightbox {
  overflow: hidden;
}

.cabinet-lightbox-hint-mobile {
  display: none;
}

.cabinet-lightbox-hint-desktop {
  display: inline;
}

@media (max-width: 720px) {
  .cabinet-lightbox {
    padding: 0.5rem;
  }

  .cabinet-lightbox-dialog {
    width: 100%;
    height: min(92vh, 980px);
  }

  .cabinet-lightbox-hint {
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 2rem);
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .cabinet-lightbox-hint-desktop {
    display: none;
  }

  .cabinet-lightbox-hint-mobile {
    display: inline;
  }

  .cabinet-lightbox-nav {
    width: 2.2rem;
    height: 2.2rem;
  }

  .cabinet-lightbox-toolbar {
    gap: 0.65rem;
    padding: 0.85rem 0.75rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .cabinet-lightbox-toolbar button {
    min-width: 3rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }

  .cabinet-lightbox-reset {
    min-width: 5.5rem;
    font-size: 0.95rem;
  }
}

.cabinet-badge {
  width: 42px;
  height: auto;
}

.contact {
  padding-bottom: 5rem;
}

.contact-panel {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(232, 162, 58, 0.08), transparent 40%),
    var(--bg-elevated);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.ghl-form-embed {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.ghl-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  background: transparent;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(232, 162, 58, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 162, 58, 0.15);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-weight: 600;
}

.form-status.is-ok {
  color: #7ddea0;
}

.form-status.is-err {
  color: #ff8f7a;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 2.5rem;
  /* place-items: center; */
}

.footer-inner {
  /* max-width: var(--max); */
  margin: 0 auto;
  display: grid;
  /* display: flex; */
  gap: 1rem;
  justify-items: center;
  justify-content: space-evenly;
}

.footer-studio {
  text-align: center;
}

@media (max-width: 720px){
  .footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    /* display: flex; */
    gap: 1rem;
    justify-items: start;
    /* justify-content: space-evenly; */
  }

  .site-footer {
    place-items: center;
  }
}

.is-hidden {
  display:none;
}

.socials {
  display: flex;
  gap: 0.85rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 42rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none !important;
  }

  .proof-grid {
    gap: 0.75rem;
  }

  .proof-item {
    padding: 0.85rem 1rem;
  }

  .proof-value {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
  }

  .proof-label {
    margin-top: 0.4rem;
    font-size: 0.88rem;
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    padding: 2rem 2rem 1.75rem;
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .footer-legal {
    justify-self: end;
  }

  .copyright {
    justify-self: end;
    text-align: right;
  }
}



@media (min-width: 960px) {
  .section {
    padding-top: 6.5rem;
  }

  /* Pull Featured closer to the stats for balanced spacing */
  .section.games {
    padding-top: 3.75rem;
  }

  .section.games .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.35fr);
    gap: 2.25rem;
    align-items: stretch;
    margin-bottom: 2.25rem;
  }

  .section.games .section-head-visual {
    margin-top: 0;
    align-self: stretch;
    align-items: stretch;
  }

  .section.games .section-head-art,
  .section.games .game-reel {
    max-width: none;
  }

  .section.games .section-head-visual .feature-games-cta {
    margin-top: auto;
    align-self: flex-end;
  }

  /* Desktop Cabinets: N5 feature (mobile stays simple stack) */
  .section.cabinets {
    padding-top: 3.75rem;
  }

  .section.cabinets .cabinets-feature {
    display: grid;
    grid-template-columns: minmax(28rem, 1.4fr) minmax(0, 0.72fr);
    gap: 2rem 2.5rem;
    align-items: start;
  }

  .section.cabinets .cabinets-feature-visual {
    margin-top: 0;
    align-items: stretch;
    width: 100%;
  }

  .section.cabinets .cabinets-feature .section-head-copy {
    max-width: none;
    padding-top: 0.6rem;
  }

  .section.cabinets .cabinet-gallery {
    gap: 0.65rem;
    padding: 0.55rem 0.85rem 0.45rem;
  }

  .section.cabinets .cabinet-gallery-item img {
    height: min(58vh, 520px);
    filter:
      brightness(1.14)
      contrast(1.16)
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.26))
      drop-shadow(0 12px 26px rgba(0, 0, 0, 0.72));
  }

  .section.cabinets .cabinets-feature .section-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
  }
}

/* Mobile Featured: copy + reel (desktop games layout stays above) */
@media (max-width: 959px) {
  .section.games {
    padding-top: 3.25rem;
  }

  .section.games .section-head--split {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
  }

  .section.games .section-head-copy,
  .section.games .section-head-visual {
    display: contents;
  }

  .section.games .eyebrow {
    order: 1;
  }

  .section.games .section-head-copy > h2,
  .section.cabinets .section-head-copy > h2 {
    max-width: none;
  }

  .section.games .section-head-copy > h2 {
    order: 2;
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 1.05;
  }

  .section.games .h2-stanza + .h2-stanza {
    margin-top: 0.32em;
  }

  .section.games .game-reel {
    order: 3;
    max-width: none;
    margin: 1.15rem 0 0;
  }

  .section.games .game-reel-item,
  .section.games .game-reel-rest {
    padding: 0.55rem 0.7rem;
  }

  .section.games .game-reel-sight {
    inset: 0.35rem;
  }

  .section.games .section-lead {
    order: 4;
    margin: 1rem 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .section.games .feature-games-cta {
    order: 5;
    width: 100%;
    margin: 1rem 0 0;
  }

  /* Mobile Community: match Featured/Cabinets type scale + full-width CTA */
  .section.community {
    padding-top: 3.1rem;
  }

  .section.community h2 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 1.05;
    white-space: normal;
  }

  .section.community .community-head {
    margin-bottom: 0;
  }

  .section.community .section-lead {
    margin: 0.85rem 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .section.community .community-titles {
    margin: 1.15rem 0 1.25rem;
  }

  .section.community .community-title-screen {
    padding: 0.32rem;
    border-radius: 9px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 14px 28px rgba(0, 0, 0, 0.36),
      0 2px 0 rgba(0, 0, 0, 0.5);
  }

  .section.community .community-title-screen::before {
    inset: 0.32rem;
  }

  .section.community .community-title-screen::after {
    bottom: -0.4rem;
    height: 0.7rem;
  }

  .section.community .community-cta-row {
    margin-top: 0.25rem;
    align-items: flex-start;
  }

  .section.community .community-cta-copy {
    font-size: 0.95rem;
    max-width: none;
  }

  /* Mobile Cabinets: copy → gallery → CTA (desktop cabinets stay locked above) */
  .section.cabinets {
    padding-top: 3.1rem;
  }

  .section.cabinets .cabinets-feature {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .section.cabinets .section-head-copy {
    display: contents;
  }

  .section.cabinets .section-head-copy > .eyebrow {
    order: 1;
  }

  .section.cabinets .section-head-copy > h2 {
    order: 2;
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 1.05;
    padding-top: 0;
  }

  .section.cabinets .section-lead {
    order: 3;
    margin: 0.85rem 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .section.cabinets .cabinets-feature-visual {
    order: 4;
    width: 100%;
    margin-top: 1.1rem;
  }

  .section.cabinets .cabinet-gallery-shell {
    position: relative;
  }

  .section.cabinets .cabinet-gallery-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 42%;
    z-index: 4;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.78);
    color: #f2f4f7;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }

  .section.cabinets .cabinet-gallery-nav--prev {
    left: 0.35rem;
  }

  .section.cabinets .cabinet-gallery-nav--next {
    right: 0.35rem;
  }

  .section.cabinets .cabinet-gallery-nav:active {
    transform: scale(0.96);
  }

  .section.cabinets .section-actions {
    order: 5;
    margin-top: 1rem;
    display: flex;
    justify-content: stretch;
  }

  .section.cabinets .section-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section.cabinets .cabinet-gallery {
    display: flex;
    gap: 0;
    align-items: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0.55rem 2.5rem 1.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .section.cabinets .cabinet-gallery::-webkit-scrollbar {
    display: none;
  }

  .section.cabinets .cabinet-gallery-item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    justify-content: center;
  }

  .section.cabinets .cabinet-gallery.is-cycling .cabinet-gallery-item {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .section.cabinets .cabinet-gallery.is-cycling .cabinet-gallery-item.is-active {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .section.cabinets .cabinet-gallery-item img {
    height: min(56vh, 460px);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .section.cabinets .cabinet-gallery-note {
    padding: 1.5rem 0.75rem 0.5rem;
    font-size: 0.76rem;
  }

  .section.cabinets .cabinet-gallery-note-desktop {
    display: none;
  }

  .section.cabinets .cabinet-gallery-note-mobile {
    display: inline;
  }

  /* Mobile Markets → studio → Contact (stacked; desktop band stays ≥960) */
  .markets-contact-band .section.markets {
    padding-top: 3.1rem;
    padding-bottom: 0.35rem;
  }

  .markets-contact-band .section.contact {
    padding-top: 2.35rem;
    padding-bottom: 3.5rem;
  }

  .section.markets .section-head {
    margin-bottom: 1.35rem;
  }

  .section.markets h2,
  .section.contact .contact-copy h2 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 1.05;
  }

  .section.markets .section-lead,
  .section.contact .contact-copy .section-lead {
    margin-top: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .section.markets .market-list {
    max-width: 30rem;
    gap: 0.55rem;
  }

  .section.markets .market-list li {
    min-height: 3.35rem;
    padding: 0.7rem 0.65rem;
    font-size: clamp(1.1rem, 3.5vw, 1.55rem);
  }

  .markets-cta {
    margin-top: 1.25rem;
  }

  .markets-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .studio-details {
    margin: 1.15rem 0 0;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .studio-details a {
    display: inline-block;
    padding: 0.1rem 0;
  }

  .section.contact .contact-panel {
    max-width: none;
    margin: 0;
    padding: 1.35rem 1.1rem 1.15rem;
    gap: 1.15rem;
  }

  .section.contact .contact-copy {
    max-width: none;
    margin-bottom: 0.35rem;
  }

  .section.contact .ghl-form-embed iframe {
    min-height: 860px;
  }
}

/* —— Cabinets subpage (N5) —— */
.page-cabinets .cabinets-page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--page-pad) 1.5rem;
  display: grid;
  gap: 1.75rem;
  align-items: end;
}

.cabinets-page-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.cabinets-page-hero-lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cabinets-page-hero .hero-actions {
  margin-top: 1.35rem;
}

.cabinets-page-hero-art {
  margin: 0;
  padding: 1rem 1rem 0;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 55% at 50% 12%, rgba(232, 162, 58, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25)),
    var(--bg-soft);
  overflow: hidden;
}

.cabinets-page-hero-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(58vh, 520px);
  margin: 0 auto;
  object-fit: contain;
  object-position: bottom center;
  filter:
    brightness(1.08)
    contrast(1.1)
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}

.cabinets-intro-punch {
  margin-top: 1rem !important;
}

.cabinets-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cabinets-feature-list li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.cabinets-feature-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--accent);
}

.cabinets-feature-list p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cabinets-gallery-block .cabinet-gallery-shell {
  margin-top: 0.5rem;
}

.cabinets-gallery-block .cabinet-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
  padding: 0.85rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(ellipse 95% 55% at 50% 8%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 45%, rgba(0, 0, 0, 0.28)),
    #171c26;
}

.cabinets-gallery-block .cabinet-gallery-item img {
  height: min(42vh, 340px);
}

.cabinets-gallery-block .cabinet-gallery-nav {
  display: none;
}

.cabinets-specs-layout,
.cabinets-deck-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.cabinets-specs-copy h2,
.cabinets-deck-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
}

.cabinets-deck-art {
  margin: 0;
  padding: 0.85rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.cabinets-deck-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 959px) {
  .page-cabinets .cabinets-gallery-block .cabinet-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.55rem 2.5rem 1.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery::-webkit-scrollbar {
    display: none;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-item img {
    height: min(56vh, 460px);
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-shell {
    position: relative;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 42%;
    z-index: 4;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.78);
    color: #f2f4f7;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-nav--prev {
    left: 0.35rem;
  }

  .page-cabinets .cabinets-gallery-block .cabinet-gallery-nav--next {
    right: 0.35rem;
  }
}

@media (min-width: 720px) {
  .cabinets-feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    border-top: none;
  }

  .cabinets-feature-list li {
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 960px) {
  .page-cabinets .cabinets-page-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    align-items: center;
  }

  .cabinets-page-hero-art img {
    height: min(68vh, 620px);
  }

  .cabinets-specs-layout,
  .cabinets-deck-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    align-items: center;
  }

  .cabinets-gallery-block .cabinet-gallery-item img {
    height: min(52vh, 480px);
  }
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad) 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero-inner .eyebrow {
  margin-bottom: 0.65rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.page-hero-lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero .hero-actions {
  margin-top: 1.35rem;
}

.page-hero-visual {
  display: flex;
  justify-content: flex-start;
  opacity: 0.95;
}

.page-hero-visual img {
  width: min(280px, 70vw);
  height: auto;
}

.cabinets-intro-block .section-head {
  margin-bottom: 0;
}

.section-actions {
  margin-top: 1.25rem;
}

.cabinet-detail {
  padding-top: 3.5rem;
}

.cabinet-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.cabinet-detail-art {
  margin: 0;
  padding: 1rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 50% 18%, rgba(232, 162, 58, 0.14), transparent 45%),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.cabinet-detail-art img:first-child {
  margin: 0 auto;
  max-height: 560px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.cabinet-detail-art figcaption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.cabinet-detail-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
  font-weight: 400;
}

.cabinet-detail-copy > p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.cabinet-detail-copy h3 {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-panels {
  display: grid;
  gap: 0.85rem;
}

.spec-panel {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.spec-panel h4 {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--text);
}

@media (min-width: 720px) {
  .page-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
  }

  .page-hero-visual {
    justify-content: flex-end;
  }

  .cabinet-detail-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .cabinet-detail-grid--flip .cabinet-detail-art {
    order: 2;
  }

  .cabinet-detail-grid--flip .cabinet-detail-copy {
    order: 1;
  }

  .spec-panels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-content,
  .game-card,
  .game-art img,
  .community-title img,
  .community-title-screen,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .game-reel-item img {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    justify-items: center;
  }

  .socials {
    justify-content: center;
  }

  .footer-brand {
    display:grid;
    place-items: center;
  }
}

/* —— Games page —— */
.games-page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad) 1rem;
}

.games-page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.games-page-lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.games-page-hero .hero-actions {
  margin-top: 1.35rem;
}

.games-browse-link .section-head {
  max-width: 36rem;
}

.games-browse-link-actions {
  margin-top: 1.25rem;
}

.page-games-browse .games-page-hero {
  padding-bottom: 0.25rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.featured-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  text-align: left;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.featured-card:hover,
.featured-card:focus-visible {
  border-color: rgba(232, 162, 58, 0.45);
  background: rgba(232, 162, 58, 0.06);
}

.featured-card-art {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.featured-card-art img {
  max-width: 100%;
  max-height: 4.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.featured-card-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.featured-card-blurb {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.featured-detail {
  position: relative;
  margin-top: 1.5rem;
  /* display: grid; */
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(232, 162, 58, 0.08), transparent 42%),
    var(--bg-elevated);
}

.featured-detail-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.featured-detail-media {
  display: grid;
  place-items: center;
  min-height: 8rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.featured-detail-media img {
  max-width: min(100%, 280px);
  max-height: 7rem;
  object-fit: contain;
}

.featured-detail-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.featured-detail-copy p {
  margin: 0.85rem 0 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.games-filters {
  display: grid;
  gap: 1.35rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.02);
}

.filter-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-group legend {
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-chip input {
  accent-color: var(--accent);
}

.filter-chip:has(input:checked) {
  border-color: rgba(232, 162, 58, 0.55);
  background: rgba(232, 162, 58, 0.12);
  color: #fff;
}

.filter-group--vol legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.vol-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
}

.vol-slider {
  --vol-thumb: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.vol-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: var(--vol-thumb);
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.vol-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(232, 162, 58, 0.22),
    rgba(232, 162, 58, 0.55)
  );
}

.vol-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--vol-thumb);
  height: var(--vol-thumb);
  margin-top: calc((0.45rem - var(--vol-thumb)) / 2);
  border-radius: 50%;
  border: 2px solid #1a1208;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 162, 58, 0.18);
  cursor: grab;
}

.vol-slider input[type="range"]::-moz-range-track {
  height: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(232, 162, 58, 0.22),
    rgba(232, 162, 58, 0.55)
  );
}

.vol-slider input[type="range"]::-moz-range-thumb {
  width: var(--vol-thumb);
  height: var(--vol-thumb);
  border: 2px solid #1a1208;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 162, 58, 0.18);
  cursor: grab;
}

.games-filters.is-vol-active .vol-slider input[type="range"]::-webkit-slider-runnable-track,
.games-filters.is-vol-active .vol-slider input[type="range"]::-moz-range-track {
  background: linear-gradient(
    90deg,
    rgba(232, 162, 58, 0.35),
    var(--accent)
  );
}

.vol-ticks {
  position: relative;
  height: 1.1rem;
  margin: 0 calc(var(--vol-thumb) / 2);
}

.vol-ticks span {
  position: absolute;
  top: 0;
  left: calc(var(--i) / 4 * 100%);
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.vol-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.games-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.games-results {
  margin-top: 1.75rem;
}

.games-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.game-tile {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  will-change: opacity, transform;
}

.game-tile.is-exiting {
  animation: game-tile-out 0.22s ease forwards;
  animation-delay: calc(var(--stagger, 0) * 12ms);
  pointer-events: none;
}

.game-tile.is-entering {
  opacity: 0;
  transform: translateY(0.85rem) scale(0.97);
  animation: game-tile-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--stagger, 0) * 48ms);
}

@keyframes game-tile-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-0.4rem) scale(0.98);
  }
}

@keyframes game-tile-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-tile.is-entering,
  .game-tile.is-exiting {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.game-tile-art {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 5.25rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.game-tile-art img {
  max-width: 100%;
  max-height: 5.5rem;
  object-fit: contain;
}

.game-tile-fallback {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.games-results-empty {
  margin: 1rem 0 0;
  color: var(--muted);
}

.games-cta-band {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.games-cta-band-inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(232, 162, 58, 0.1), transparent 45%),
    var(--bg-elevated);
}

.games-cta-band-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

@media (min-width: 720px) {
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-detail {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }

  .games-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .games-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
