:root {
  --ink: #0f0b24;
  --ink-2: #181238;
  --ink-3: #241b52;
  --line: rgba(255, 255, 255, .12);
  --paper: #f8f3e7;
  --muted: #b9b2d6;
  --gold: #ffc83d;
  --gold-deep: #e8930c;
  --pearl: #8fe7ff;
  --rose: #ff7fb0;
  --display: "Segoe UI Variable Display", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", "Avenir Next", system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; flex: none; }
.brand span { color: var(--gold); }
.nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--paper); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 0; background: radial-gradient(900px 560px at 82% 18%, #4a2bb0 0, transparent 66%), radial-gradient(700px 480px at 6% 92%, #15507e 0, transparent 70%), var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 58%); mask-image: linear-gradient(120deg, #000, transparent 58%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 40px; }
.hero-copy { padding-bottom: 96px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 88px); font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(95deg, var(--gold), var(--rose) 62%, var(--pearl)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 33em; margin: 24px 0 34px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 14px; background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 0 5px 0 var(--gold-deep); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--gold-deep); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--paper); transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 268px; border: 7px solid #070514; border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.phone img { width: 100%; }
.phone.a { left: 2%; top: 92px; transform: rotate(-7deg); }
.phone.b { right: 4%; top: 12px; transform: rotate(4deg); z-index: 1; }

/* sections */
.section { padding: 96px 0; }
.section h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 26em; margin: 0; color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 28px; background: linear-gradient(140deg, #2d1a78, #1a1046 62%); box-shadow: inset 0 0 0 1px var(--line); }
.feature-copy { padding: clamp(28px, 4.4vw, 56px); }
.feature-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.feature-title img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 2px rgba(255, 200, 61, .5); }
.feature-title h3 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; }
.feature-title small { display: block; margin-top: 6px; color: var(--muted); font-family: var(--body); font-size: 15px; letter-spacing: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.facts li { padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .09); font-size: 15px; font-weight: 600; }
.feature-shots { display: flex; gap: 16px; justify-content: center; align-items: flex-start; padding: 40px 28px 0; background: radial-gradient(420px 340px at 50% 18%, rgba(255, 200, 61, .22), transparent 72%); }
.feature-shots img { width: min(46%, 220px); margin-bottom: -56px; border-radius: 22px 22px 0 0; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.feature-shots img:last-child { margin-top: 44px; }

.next { display: flex; align-items: center; gap: 22px; margin-top: 20px; padding: 26px 30px; border-radius: 22px; border: 2px dashed var(--line); color: var(--muted); }
.next strong { color: var(--paper); font-family: var(--display); font-size: 21px; }
.next img { width: 44px; height: 44px; flex: none; }

.studio { background: var(--paper); color: var(--ink); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.studio p { margin: 0 0 16px; color: #3d3662; font-size: 19px; }
.values { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.values li { padding-left: 22px; border-left: 4px solid var(--gold-deep); }
.values b { display: block; font-family: var(--display); font-size: 20px; }
.values span { color: #3d3662; }

.contact { text-align: center; background: radial-gradient(640px 320px at 50% 100%, #4a2bb0, transparent 70%); }
.contact p { margin: 16px auto 28px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }

/* inner pages */
.page-head { padding: 124px 0 44px; background: radial-gradient(760px 340px at 80% 0, #4a2bb0, transparent 70%); }
.page-head h1 { font-size: clamp(38px, 6vw, 62px); }
.page-head p { margin: 14px 0 0; color: var(--muted); }
.game-head { display: flex; align-items: center; gap: 22px; }
.game-head img { width: 96px; height: 96px; border-radius: 24px; }
.shots { display: flex; gap: 18px; margin-top: 8px; padding: 8px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots img { flex: 0 0 auto; width: min(66vw, 250px); border-radius: 20px; scroll-snap-align: start; }
.prose { max-width: 720px; padding: 40px 0 88px; }
.prose h2 { margin: 38px 0 10px; font-size: 25px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.prose p, .prose li { color: #dcd7ee; }
.prose a { color: var(--gold); overflow-wrap: anywhere; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 22px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.feature-list b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 19px; }
.feature-list span { color: var(--muted); font-size: 16px; }

@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-grid, .feature, .studio-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 16px; }
  .phones { height: 430px; }
  .phone { width: 196px; border-radius: 26px; }
  .phone.a { left: calc(50% - 190px); top: 66px; }
  .phone.b { right: calc(50% - 190px); }
  .section { padding: 68px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 16px; font-size: 14px; }
  .nav a.opt { display: none; }
  .btn { width: 100%; }
  .next { align-items: flex-start; padding: 22px; }
  .game-head { align-items: flex-start; gap: 16px; }
  .game-head img { width: 72px; height: 72px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
