:root {
  --bg-dark: #0b0d12;
  --bg-dark-soft: #121522;
  --bg-light: #f7f8fb;
  --surface-light: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.08);
  --surface-dark-strong: rgba(255, 255, 255, 0.12);
  --text-on-dark: #ffffff;
  --text-on-light: #141722;
  --text-muted-dark: #b5b8c5;
  --text-muted-light: #5f6578;
  --border-light: #e4e7f0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --accent: #6f7bff;
  --accent-strong: #9b7cff;
  --accent-soft: rgba(111, 123, 255, 0.16);
  --max-width: 1200px;
  --radius: 18px;
  --radius-large: 30px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(13, 19, 33, 0.12);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.3);
  color-scheme: dark light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  line-height: 1.65;
}

/* ─── Keyframe Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes floatY2 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-6px) scale(1.02); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50%       { opacity: 0.88; transform: scale(1.06); }
}

@keyframes shimmerBorder {
  0%   { border-color: rgba(255,255,255,0.10); }
  50%  { border-color: rgba(111,123,255,0.38); }
  100% { border-color: rgba(255,255,255,0.10); }
}

@keyframes iconAppear {
  from { opacity: 0; transform: scale(0.82) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes iconFloat {
  0%, 100% { translate: 0 0px; }
  50%       { translate: 0 -9px; }
}

@keyframes iconFloat2 {
  0%, 100% { translate: 0 0px; }
  50%       { translate: 0 -6px; }
}

@keyframes iconFloat3 {
  0%, 100% { translate: 0 0px; }
  50%       { translate: 0 -11px; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── Section Base ─── */
.section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 120px 24px;
}

.section-dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(111, 123, 255, 0.20), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(155, 124, 255, 0.14), transparent 30%),
    var(--bg-dark);
  color: var(--text-on-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

/* ─── Warm Up ─── */
.warm-up.section {
  min-height: auto;
  padding-top: 96px;
  padding-bottom: 80px;
}

.warm-up-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  color: var(--text-on-light);
  line-height: 1.45;
  margin: -10px 0 26px;
}

.warm-up-detail-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.warm-up-detail-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Table ─── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.data-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 1.55;
}

.data-table thead th {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-on-light);
  font-weight: 800;
  text-align: left;
  vertical-align: bottom;
}

.data-table tbody th,
.data-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody th {
  max-width: 220px;
  color: var(--text-on-light);
  font-weight: 800;
}

.data-table tbody td {
  color: var(--text-muted-light);
}

.data-table tbody tr:nth-child(even) th,
.data-table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.02);
}

/* ─── Section spacing helpers ─── */
section#problem + .dream-slide,
section.dream-slide + .operators-slide,
section.operators-slide + .exclusive-operators-slide,
section.exclusive-operators-slide + .exclusive-free-slide,
section.exclusive-free-slide + .section-dark {
  padding-top: 64px;
}

.operators-slide.section,
.exclusive-operators-slide.section,
.exclusive-free-slide.section {
  min-height: auto;
}

.operators-slide h2 {
  margin-bottom: 0;
}

.operators-lead,
.exclusive-free-lead {
  max-width: 820px;
  margin-top: 28px;
  color: var(--text-muted-light);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.section-dark .operators-lead,
.section-dark .exclusive-free-lead {
  color: var(--text-muted-dark);
}

.exclusive-free-grid {
  margin-top: 34px;
}

/* ─── Operator Shots with Real Images ─── */
.operators-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  margin-top: 34px;
}

.operator-shot {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-large);
  background: transparent;
  box-shadow: var(--shadow-dark);
  margin: 0;
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 380ms ease;
}

.operator-shot:hover {
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.45);
}

.operator-shot-img-wrap {
  padding: 20px 20px 20px;
  display: flex;
  justify-content: center;
}

.operator-shot img {
  display: block;
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.operator-shot-caption {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  text-align: center;
}

.operator-shot-light .operator-shot-caption {
  color: var(--text-on-light);
}

.operator-shot-light {
  border-color: var(--border-light);
}

/* ─── Shot full-image preview ─── */
#shot-preview {
  position: fixed;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92) translateY(8px);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 22px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  max-height: 86vh;
  max-width: 340px;
  width: 340px;
  background: #0b0d12;
}

#shot-preview.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

#shot-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

/* ─── Warm-up / Data Tables ─── */
.warm-up.section {
  min-height: auto;
  padding-top: 96px;
  padding-bottom: 40px;
}

.warm-up-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  max-width: 800px;
  margin: 12px 0 24px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-on-light);
}

.warm-up-detail-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.warm-up-detail-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-dark .warm-up-detail { color: var(--text-muted-dark); }
.section-dark .warm-up-detail-text { color: var(--text-on-dark); }

.warm-up .section-inner,
.problem-3-slide .section-inner,
.warm-up-4-slide .section-inner {
  width: min(100%, var(--max-width));
}

.warm-up-4-table { margin-top: 28px; }
.warm-up-4-ai-table thead th { width: 50%; }
.warm-up-4-ai-table tbody td { vertical-align: top; line-height: 1.5; }

.table-wrap {
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-large);
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}

.data-table thead th {
  padding: 12px 10px;
  text-align: left;
  vertical-align: bottom;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border-light);
  white-space: normal;
  line-height: 1.3;
}

.data-table tbody th,
.data-table tbody td {
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody th { font-weight: 800; color: var(--text-on-light); white-space: nowrap; }
.data-table tbody td { color: var(--text-muted-light); }
.data-table tbody tr:nth-child(even) th,
.data-table tbody tr:nth-child(even) td { background: rgba(15, 23, 42, 0.02); }

/* ─── Problem-2 / National / big-providers grid ─── */
.problem-2-slide.section,
.big-providers-slide.section { min-height: auto; padding-bottom: 44px; }

.problem-2-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.problem-2-shot {
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.section-dark .problem-2-shot {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-dark);
}

.problem-2-shot img { display: block; width: 100%; height: auto; vertical-align: middle; }

/* ─── What they made / own studio ─── */
.what-they-made-slide.section,
.gameos-own-studio-slide.section,
.gameos-national-slide.section { min-height: auto; padding-bottom: 44px; }

.operators-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  margin: 34px auto 0;
}

.gameos-own-studio-slide .operators-grid--two { max-width: 100%; }

.gameos-national-slide .operators-grid--two {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.gameos-own-studio-slide .operator-shot,
.gameos-national-slide .operator-shot { width: 100%; max-width: 412px; }

.games-made-layout {
  display: grid;
  grid-template-columns: minmax(0, 244px) minmax(0, 1fr);
  gap: 18px 24px;
  align-items: start;
  margin-top: 34px;
}

.games-made-stack { display: flex; flex-direction: column; gap: 18px; }
.what-they-made-slide .games-made-portrait { width: 100%; max-width: 244px; justify-self: center; }

.exclusive-free-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--text-muted-dark);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.section-light .exclusive-free-lead { color: var(--text-muted-light); }

/* ─── Hero ─── */
.hero {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-grid,
.split-grid,
.ask-grid {
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.hero-copy {
  max-width: 720px;
  animation: slideInLeft 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-logo {
  display: block;
  width: 148px;
  height: auto;
  margin-bottom: 42px;
  animation: fadeInScale 600ms 100ms both;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

h2 {
  max-width: 860px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 34px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section-cta {
  margin-top: 28px;
}

/* ─── Buttons ─── */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(111, 123, 255, 0.34);
}

.button-primary:hover {
  box-shadow: 0 20px 56px rgba(111, 123, 255, 0.50);
}

.button-secondary {
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
}

.founders-line,
.contact-line {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin-top: 22px;
}

.founders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.founders-list p {
  flex-basis: 100%;
  color: var(--text-muted-dark);
  font-size: 14px;
}

.founders-list a,
.founders-list span {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 750;
  padding: 9px 13px;
  transition: background 200ms ease, border-color 200ms ease;
}

.founders-list a:hover,
.founders-list a:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

/* ─── Icon Grid (Hero Visual) — overlapping scattered layout ─── */
.icon-grid-wrap {
  position: relative;
  animation: fadeInScale 800ms 200ms both;
}

.icon-grid {
  position: relative;
  width: 100%;
  height: 640px;
}

.icon-cell {
  position: absolute;
  width: 128px;
  height: 128px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
  transition: opacity 350ms ease, filter 350ms ease, border-color 350ms ease;
  cursor: default;
  box-shadow: 0 10px 36px rgba(0,0,0,0.42);
}

/* row 1 — 4 icons staggered diagonally */
.icon-cell:nth-child(1)  { top: 70px;  left: 1%;  rotate: 2deg;    z-index: 5; width: 132px; height: 132px; animation: iconAppear 600ms both, iconFloat  4.2s ease-in-out 0.0s infinite; }
.icon-cell:nth-child(2)  { top: 55px;  left: 24%; rotate: -2.5deg; z-index: 6; width: 136px; height: 136px; animation: iconAppear 600ms both, iconFloat2 3.8s ease-in-out 0.6s infinite; }
.icon-cell:nth-child(3)  { top: 68px;  left: 48%; rotate: 1.5deg;  z-index: 4; width: 122px; height: 122px; animation: iconAppear 600ms both, iconFloat3 4.6s ease-in-out 1.1s infinite; }
.icon-cell:nth-child(4)  { top: 58px;  left: 70%; rotate: -1.5deg; z-index: 3; width: 118px; height: 118px; animation: iconAppear 600ms both, iconFloat  4.0s ease-in-out 0.3s infinite; }

/* row 2 — 3 icons, shifted right and down */
.icon-cell:nth-child(5)  { top: 208px; left: 10%; rotate: 3deg;    z-index: 7; width: 140px; height: 140px; animation: iconAppear 600ms both, iconFloat2 4.4s ease-in-out 0.9s infinite; }
.icon-cell:nth-child(6)  { top: 195px; left: 36%; rotate: -1deg;   z-index: 5; width: 130px; height: 130px; animation: iconAppear 600ms both, iconFloat3 3.9s ease-in-out 1.5s infinite; }
.icon-cell:nth-child(7)  { top: 208px; left: 62%; rotate: 2deg;    z-index: 4; width: 120px; height: 120px; animation: iconAppear 600ms both, iconFloat  4.7s ease-in-out 0.4s infinite; }

/* row 3 — 3 icons */
.icon-cell:nth-child(8)  { top: 358px; left: 2%;  rotate: -2deg;   z-index: 5; width: 128px; height: 128px; animation: iconAppear 600ms both, iconFloat2 4.1s ease-in-out 1.2s infinite; }
.icon-cell:nth-child(9)  { top: 350px; left: 27%; rotate: 1.5deg;  z-index: 6; width: 124px; height: 124px; animation: iconAppear 600ms both, iconFloat3 4.5s ease-in-out 0.7s infinite; }
.icon-cell:nth-child(10) { top: 362px; left: 51%; rotate: -1deg;   z-index: 4; width: 132px; height: 132px; animation: iconAppear 600ms both, iconFloat  3.7s ease-in-out 1.8s infinite; }

.icon-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icon-cell--full  { opacity: 1;    filter: none; }
.icon-cell--dim   { opacity: 0.60; filter: brightness(0.88); }
.icon-cell--blur  { opacity: 0.50; filter: blur(2.5px) brightness(0.82) saturate(0.9); }

.icon-cell:hover {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.09) rotate(0deg) !important;
  border-color: rgba(111, 123, 255, 0.55);
  z-index: 10 !important;
  box-shadow: 0 18px 52px rgba(111, 123, 255, 0.30), 0 8px 32px rgba(0,0,0,0.45);
}

/* staggered icon appear delays */
.anim-delay-1 { animation-delay: 80ms; }
.anim-delay-2 { animation-delay: 180ms; }
.anim-delay-3 { animation-delay: 280ms; }

/* ─── Orbs ─── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.72;
  animation: orbPulse 6s ease-in-out infinite;
}

.orb-one {
  top: -10%;
  right: -8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(111, 123, 255, 0.68), transparent 66%);
  animation-delay: 0s;
}

.orb-two {
  bottom: -8%;
  left: -4%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(155, 124, 255, 0.5), transparent 68%);
  animation-delay: 3s;
}

/* ─── Hero Feature Cards Strip (bottom of slide 1) ─── */
.hero-features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 190px));
  justify-content: center;
  margin-top: 48px;
  padding-bottom: 8px;
}

.hero-feat-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 16px;
  transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 320ms ease,
              background 320ms ease;
}

.hero-feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 123, 255, 0.35);
  background: linear-gradient(145deg, rgba(111, 123, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.hero-feat-card .card-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.hero-feat-card strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-on-dark);
}

.hero-feat-card p {
  color: var(--text-muted-dark);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}

/* ─── Floating Cards ─── */
.floating-card {
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: transform 380ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 380ms ease,
              border-color 380ms ease;
}

.floating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 90px rgba(0,0,0,0.38), 0 0 0 1px rgba(111,123,255,0.28);
  border-color: rgba(111,123,255,0.32);
}

.floating-card-main { padding: 30px; }
.floating-card-small { padding: 22px; }
.floating-card-offset { justify-self: stretch; }
.floating-card-mini { padding: 20px; }

.floating-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-top: 10px;
}

.floating-card p {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.5;
  margin-top: 12px;
}

/* staggered animation for features cards */
.features-card-output  { animation: fadeInUp 550ms 80ms  both; }
.features-card-speed   { animation: fadeInUp 550ms 160ms both; }
.features-card-model   { animation: fadeInUp 550ms 240ms both; }
.features-card-exclusive { animation: fadeInUp 550ms 320ms both; }
.features-card-cost    { animation: fadeInUp 550ms 400ms both; }
.features-card-smart   { animation: fadeInUp 550ms 480ms both; }

/* ─── Card Grid ─── */
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

.card,
.metric-card,
.pipeline-card,
.ask-card {
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 320ms ease;
}

.card:hover,
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
}

.card {
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.card-dark,
.ask-card {
  border-color: var(--border-dark);
  background: var(--surface-dark);
  box-shadow: var(--shadow-dark);
}

.card-label {
  display: inline-flex;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.card p,
.metric-card p,
.pipeline-step p {
  color: var(--text-muted-light);
  margin-top: 12px;
}

.card-dark p,
.ask-card p,
.section-dark .feature-list,
.section-dark .feature-list li {
  color: var(--text-muted-dark);
}

/* ─── Feature List ─── */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--text-muted-light);
  font-size: 18px;
  list-style: none;
}

.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-left: 48px;
}

.feature-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(111, 123, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 4px, transparent 5px),
    var(--accent-soft);
  box-shadow: 0 8px 22px rgba(111, 123, 255, 0.18);
  content: "";
  transform: translateY(-50%);
}

.feature-list.compact {
  font-size: 16px;
  gap: 14px;
}

.feature-list.compact li {
  min-height: 30px;
  padding-left: 42px;
}

.feature-list.compact li::before {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 3px, transparent 4px),
    var(--accent-soft);
}

/* ─── Pipeline ─── */
.pipeline-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 15% 0%, var(--accent-soft), transparent 40%),
    var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.section-dark .pipeline-card {
  border-color: var(--border-dark);
  background:
    radial-gradient(circle at 15% 0%, rgba(111, 123, 255, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-dark);
}

.pipeline-step {
  border: 1px solid var(--border-light);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
  transition: transform 280ms ease;
}

.pipeline-step:hover {
  transform: translateX(4px);
}

.section-dark .pipeline-step {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .pipeline-step p {
  color: var(--text-muted-dark);
}

.pipeline-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.pipeline-step strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.035em;
}

/* ─── Business ─── */
.business-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.section-dark .metric-card {
  border-color: var(--border-dark);
  background: var(--surface-dark);
  box-shadow: var(--shadow-dark);
}

.section-dark .metric-card p {
  color: var(--text-muted-dark);
}

.metric {
  display: block;
  color: var(--accent);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin-bottom: 22px;
}

/* ─── Implemented ─── */
.implemented-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.implemented-card {
  min-height: 250px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow-dark);
  padding: 28px;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.implemented-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(0,0,0,0.42);
}

.implemented-card-highlight {
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 123, 255, 0.28), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
}

.implemented-number {
  display: block;
  color: #ffffff;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin-bottom: 24px;
}

.implemented-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 123, 255, 0.34);
  border-radius: 18px;
  background: var(--accent-soft);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.implemented-card h3 {
  color: var(--text-on-dark);
}

.implemented-card p {
  color: var(--text-muted-dark);
  margin-top: 12px;
}

.section-light .implemented-card {
  border-color: var(--border-light);
  background:
    radial-gradient(circle at 12% 0%, var(--accent-soft), transparent 46%),
    var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.section-light .implemented-card-highlight {
  background:
    radial-gradient(circle at 12% 0%, var(--accent-soft), transparent 46%),
    var(--surface-light);
}

.section-light .implemented-number,
.section-light .implemented-card h3 {
  color: var(--text-on-light);
}

.section-light .implemented-card p {
  color: var(--text-muted-light);
}

.section-light .implemented-icon {
  color: var(--accent);
}

/* ─── Ask ─── */
.ask-card {
  padding: 34px;
}

.section-light .ask-card {
  border-color: var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.section-light .ask-card p,
.section-light .ask-card .feature-list,
.section-light .ask-card .feature-list li {
  color: var(--text-muted-light);
}

.section-light .founders-list p,
.section-light .contact-line {
  color: var(--text-muted-light);
}

.section-light .founders-list a,
.section-light .founders-list span {
  border-color: var(--border-light);
  background: var(--surface-light);
  color: var(--text-on-light);
  box-shadow: var(--shadow-soft);
}

.section-light .founders-list a:hover,
.section-light .founders-list a:focus-visible {
  border-color: rgba(111, 123, 255, 0.36);
  background: var(--accent-soft);
}

.ask-card h3 {
  margin-bottom: 20px;
}

.ask-number {
  display: block;
  color: #ffffff;
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin-bottom: 28px;
}

/* ─── Roadmap ─── */
.roadmap-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── Closing ─── */
.closing {
  min-height: 60vh;
  text-align: center;
}

.closing .section-inner {
  max-width: 760px;
}

.closing h2 {
  margin-left: auto;
  margin-right: auto;
}

.closing p {
  color: var(--text-muted-dark);
  font-size: 19px;
  margin: 0 auto 28px;
  max-width: 640px;
}

.section-light.closing p {
  color: var(--text-muted-light);
}

/* ─── Section-dark overrides for flipped sections ─── */
.section-dark .operator-shot-light {
  border-color: var(--border-dark);
}

.section-dark .operator-shot-caption {
  color: var(--text-on-dark);
}

.section-light .operator-shot-caption {
  color: var(--text-on-light);
}

.studio-inside-shot {
  margin: 32px auto 0;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
}

.studio-inside-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.section-light .card-dark h3 {
  color: var(--text-on-dark);
}

/* ── Five-column card grid ── */
.five-grid {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) { .five-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .five-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .five-grid { grid-template-columns: 1fr; } }

/* ── VS Compare ── */
.vs-compare {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin: 40px 0 0;
}

.vs-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 48px;
}

.vs-panel-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 28px;
}

.vs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .vs-metrics { grid-template-columns: 1fr 1fr; } }

.vs-metric {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px 26px;
}

.vs-metric-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.vs-metric-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.vs-divider {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  padding: 24px 0;
  letter-spacing: 0.1em;
}

/* ─── Char carousel (JS-driven, auto + manual) ─── */
.char-carousel-card {
  overflow: hidden;
  position: relative;
}

.char-carousel-wrap {
  position: relative;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  min-height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.char-carousel-track {
  position: relative;
  width: 100%;
  height: 300px;
}

#nationalCarousel { max-width: 560px; margin: 34px auto 0; padding: 0; min-height: 420px; }
#nationalCarousel .char-carousel-track { height: 420px; }

.char-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94) translateX(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.char-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
}

.char-carousel-slide.is-leaving {
  opacity: 0;
  transform: scale(0.94) translateX(-20px);
}

.char-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.char-prev,
.char-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(8px);
}

.char-prev { left: 4px; }
.char-next { right: 4px; }

.char-prev:hover,
.char-next:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

/* on light sections, use dark buttons */
.section-light .char-prev,
.section-light .char-next {
  border-color: var(--border-light);
  background: rgba(0,0,0,0.08);
  color: var(--text-on-light);
}

.char-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.char-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.char-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

.section-light .char-dot { background: rgba(0,0,0,0.2); }
.section-light .char-dot.is-active { background: var(--accent); }

/* ─── Inline closing CTA ─── */
.closing-inline {
  text-align: center;
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.closing-inline-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--text-on-dark);
}

.closing-inline-sub {
  color: var(--text-muted-dark);
  font-size: 19px;
  margin: 20px auto 0;
  max-width: 560px;
  line-height: 1.6;
}

.closing-inline-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

/* ─── Slot Carousel (light bg) ─── */
.slot-showcase-section {
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 88px;
  overflow: visible;
}

.slot-showcase-section .eyebrow {
  color: var(--accent);
}

.slot-showcase-section .section-inner {
  overflow: visible;
}

.slot-showcase-section .section-inner {
  overflow: visible;
}

.slot-carousel-wrap {
  position: relative;
  margin-top: 32px;
}

.slot-carousel-outer {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  padding-bottom: 8px;
}

.slot-carousel-outer:active {
  cursor: grabbing;
}

.slot-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform 560ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slot-card {
  flex: 0 0 28%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0.42;
  transform: scale(0.93);
  transition: opacity 500ms ease, transform 500ms ease, box-shadow 500ms ease;
  pointer-events: none;
}

.slot-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(111, 123, 255, 0.22);
  pointer-events: auto;
}

.slot-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* nav */
.slot-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.slot-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-on-dark);
  font-size: 18px;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-dark);
}

.slot-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(111, 123, 255, 0.35);
}

.slot-btn:active {
  transform: scale(0.96);
}

.slot-showcase-section .slot-dot {
  background: rgba(255, 255, 255, 0.25);
}

.slot-showcase-section .slot-dot.is-active {
  background: var(--accent);
}

/* dots */
.slot-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 280ms ease, transform 280ms ease;
}

.slot-dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* eyebrow label appears first */
.reveal.is-visible .eyebrow {
  transition-delay: 0ms;
}

/* headings slide up after eyebrow */
.reveal.is-visible h2 {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms 80ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms 80ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* paragraph after heading */
.reveal.is-visible p:not(.eyebrow) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms 160ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* trigger when revealed */
.reveal.is-visible h2,
.reveal.is-visible p:not(.eyebrow) {
  opacity: 1;
  transform: translateY(0);
}

/* stagger grid children */
.reveal.is-visible .card,
.reveal.is-visible .floating-card,
.reveal.is-visible .implemented-card,
.reveal.is-visible .metric-card,
.reveal.is-visible .operator-shot,
.reveal.is-visible .pipeline-step {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible .card.is-shown,
.reveal.is-visible .floating-card.is-shown,
.reveal.is-visible .implemented-card.is-shown,
.reveal.is-visible .metric-card.is-shown,
.reveal.is-visible .operator-shot.is-shown,
.reveal.is-visible .pipeline-step.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1023px) {
  .section {
    min-height: auto;
    padding: 96px 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .ask-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .icon-grid-wrap {
    min-height: 340px;
  }

  .features-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-features {
    grid-template-columns: repeat(auto-fit, minmax(170px, 190px));
  }

  .business-grid,
  .implemented-grid,
  .operators-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-card {
    flex: 0 0 42%;
  }
}

@media (max-width: 639px) {
  .section {
    padding: 82px 18px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 12vw, 44px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .icon-cell {
    border-radius: 16px;
  }

  .features-cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .problem-grid,
  .business-grid,
  .implemented-grid,
  .operators-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .metric-card,
  .implemented-card,
  .pipeline-card,
  .ask-card {
    padding: 22px;
  }

  .ask-number {
    font-size: clamp(54px, 18vw, 72px);
  }

  .slot-card {
    flex: 0 0 70%;
  }
}

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

/* ─── Presentation mode: one viewport per slide ─── */
@media (min-width: 768px) {
  html {
    scroll-snap-type: y mandatory;
  }

  body {
    overflow-y: auto;
  }

  .section,
  .warm-up.section,
  .operators-slide.section,
  .exclusive-operators-slide.section,
  .exclusive-free-slide.section,
  .problem-2-slide.section,
  .big-providers-slide.section,
  .what-they-made-slide.section,
  .gameos-own-studio-slide.section,
  .gameos-national-slide.section,
  .closing,
  .slot-showcase-section {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .section {
    display: flex;
    align-items: center;
  }

  .section-inner {
    width: min(100%, var(--max-width));
  }
}
