:root {
  --bg: #250002;
  --bg-deep: #120002;
  --surface: #3b0508;
  --surface-2: #4a090d;
  --surface-soft: rgba(113, 35, 41, 0.34);
  --text: #fff8f2;
  --muted: #dab6b7;
  --muted-2: #b98285;
  --gold: #f7d462;
  --gold-bright: #ffe76b;
  --rose: #df5962;
  --line: rgba(247, 212, 98, 0.22);
  --white-line: rgba(255, 255, 255, 0.1);
  --success: #8fe3ad;
  --warning: #ffbd70;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(141, 24, 32, 0.54), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, ul, ol, dl { margin-top: 0; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
code { padding: .16rem .42rem; border-radius: 7px; background: rgba(255,255,255,.08); color: var(--gold-bright); overflow-wrap: anywhere; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #2d1300;
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.top-note {
  position: relative;
  z-index: 5;
  padding: 8px 16px;
  background: #1a0001;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #eccfd0;
  text-align: center;
  font-size: 12px;
}
.top-note strong { color: var(--gold-bright); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(30, 0, 2, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--container), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 23px; line-height: 1; letter-spacing: -.03em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.primary-nav a { padding: 9px 11px; border-radius: 10px; color: #e7c9ca; font-size: 13px; font-weight: 750; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(255,255,255,.07); color: var(--gold-bright); }
.header-download {
  margin-left: 4px;
  padding: 11px 16px !important;
  background: linear-gradient(135deg, var(--gold-bright), #edb72d) !important;
  color: #301300 !important;
  box-shadow: 0 10px 24px rgba(247, 212, 98, .16);
}
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); }

.container { position: relative; width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.hero { padding: clamp(58px, 9vw, 104px) 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(320px, .77fr); gap: clamp(40px, 7vw, 82px); align-items: center; }
.hero-wordmark { display: block; width: min(430px, 100%); margin: 0 0 24px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.32)); }
.hero-product-preview { position: relative; min-height: 590px; display: grid; place-items: center; isolation: isolate; }
.hero-product-preview::before { content: ""; position: absolute; z-index: -1; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(223,89,98,.3), rgba(247,212,98,.08) 48%, transparent 70%); filter: blur(8px); }
.phone-gallery { width: 100%; display: flex; align-items: center; justify-content: center; padding: 22px 0 82px; }
.phone-shot { width: min(47%, 220px); margin: 0; text-align: center; }
.phone-shot + .phone-shot { margin-left: -18px; }
.phone-shot-home { z-index: 2; }
.phone-shot-games { z-index: 1; }
.phone-frame { position: relative; padding: 7px; border: 1px solid rgba(247,212,98,.4); border-radius: 29px; background: #170002; box-shadow: 0 28px 60px rgba(0,0,0,.46); overflow: hidden; }
.phone-frame::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 40%; height: 11px; border-radius: 999px; background: rgba(11,0,1,.9); transform: translateX(-50%); }
.phone-shot-home .phone-frame { transform: translateY(18px) rotate(-3.2deg); }
.phone-shot-games .phone-frame { transform: translateY(-8px) rotate(3.2deg); }
.phone-frame img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 1074; border-radius: 22px; object-fit: cover; }
.phone-shot figcaption { margin-top: 15px; color: #efd8d5; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.hero-preview-note { position: absolute; left: 50%; bottom: 4px; width: min(430px, 100%); margin: 0; padding: 11px 14px; border: 1px solid var(--white-line); border-radius: 13px; background: rgba(27,0,2,.78); color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; transform: translateX(-50%); backdrop-filter: blur(10px); }
.eyebrow { margin-bottom: 17px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 830px; margin-bottom: 26px; font-size: clamp(3rem, 7.2vw, 5.8rem); line-height: .95; letter-spacing: -.058em; }
.hero .lede { max-width: 760px; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.download-cta {
  min-width: 280px;
  padding: 16px 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe96d, #eeb62b);
  box-shadow: 0 18px 42px rgba(247, 212, 98, .2);
  color: #321300;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 950;
}
.download-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(247, 212, 98, .27); }
.download-cta small { margin-top: 6px; font-size: 11px; font-weight: 800; opacity: .72; }
.text-link { color: var(--gold-bright); font-weight: 850; text-decoration: underline; text-decoration-color: rgba(247,212,98,.34); text-underline-offset: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 27px 0 0; padding: 0; list-style: none; color: #e6c7c8; font-size: 13px; }
.trust-row li::before { content: "•"; margin-right: 8px; color: var(--gold); }

.package-card, .panel, .card, .notice, .faq details {
  border: 1px solid var(--white-line);
  background: linear-gradient(155deg, rgba(95,20,26,.78), rgba(43,3,6,.92));
  box-shadow: var(--shadow);
}
.package-card { padding: 34px; border-color: rgba(247,212,98,.27); border-radius: 28px; }
.package-card h2 { margin-bottom: 20px; font-size: 2rem; }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 102px minmax(0,1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--white-line); }
.fact-list dt { color: var(--muted); font-size: 13px; }
.fact-list dd { margin: 0; text-align: right; font-size: 13px; font-weight: 850; overflow-wrap: anywhere; }
.source-note { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(0,0,0,.2); color: #edd2d2; font-size: 13px; line-height: 1.55; }

.quick-links { padding: 20px 0 36px; }
.quick-links-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-links a { padding: 15px 16px; border: 1px solid var(--white-line); border-radius: 14px; background: rgba(255,255,255,.035); color: #f1dada; font-size: 13px; font-weight: 800; }
.quick-links a span { color: var(--gold); float: right; }

.section { padding: 82px 0; }
.section.alt { background: rgba(255,255,255,.025); border-block: 1px solid rgba(255,255,255,.05); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p:last-child { color: var(--muted); font-size: 1.06rem; }
.prose { max-width: 840px; }
.prose p, .prose li { color: #e5cbcc; }
.prose strong { color: var(--text); }
.prose a:not(.download-cta):not(.button) { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 4px; }
.prose h2 { margin-top: 58px; margin-bottom: 19px; }
.prose h3 { margin-top: 34px; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { padding: 26px; border-radius: 20px; box-shadow: none; }
.card .number { width: 38px; height: 38px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 12px; background: rgba(247,212,98,.12); color: var(--gold); font-size: 13px; font-weight: 950; }
.card h3 { margin-bottom: 11px; }
.card p, .card li { color: var(--muted); font-size: 14px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin-bottom: 0; padding-left: 18px; }

.game-section { position: relative; overflow: hidden; }
.game-section::before { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(247,212,98,.12), transparent 68%); pointer-events: none; }
.game-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.game-section-head .section-head { margin-bottom: 0; }
.game-section-note { flex: 0 0 260px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(247,212,98,.06); }
.game-section-note strong, .game-section-note span { display: block; }
.game-section-note strong { color: var(--gold-bright); font-size: 14px; }
.game-section-note span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.game-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--white-line); border-radius: 18px; background: linear-gradient(155deg, rgba(95,20,26,.88), rgba(43,3,6,.96)); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.game-card-media { aspect-ratio: 260 / 342; overflow: hidden; background: var(--surface-2); }
.game-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.game-card figcaption { min-height: 54px; padding: 12px 13px 13px; display: flex; align-items: center; color: #fff2e9; font-size: 13px; font-weight: 850; line-height: 1.25; }
.game-card:hover img { transform: scale(1.025); }
.game-library-card { min-height: 100%; padding: 20px; border: 1px solid rgba(247,212,98,.34); border-radius: 18px; background: linear-gradient(145deg, rgba(125,28,35,.95), rgba(51,4,8,.98)); display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.game-library-card span { margin-bottom: auto; color: var(--gold); font-size: 10px; font-weight: 950; letter-spacing: .13em; }
.game-library-card strong { margin-top: 70px; font-size: 1.18rem; line-height: 1.18; }
.game-library-card small { margin-top: 12px; color: var(--gold-bright); font-weight: 800; line-height: 1.4; }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.68fr); gap: 54px; align-items: start; }
.panel { padding: 30px; border-radius: var(--radius); }
.panel h3 { font-size: 1.5rem; }
.panel p, .panel li { color: var(--muted); }
.panel .button { margin-top: 8px; }
.button { display: inline-flex; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 12px; color: var(--gold-bright); font-weight: 850; }

.notice { padding: 22px 24px; border-left: 4px solid var(--warning); border-radius: 16px; box-shadow: none; }
.notice strong { display: block; margin-bottom: 6px; color: var(--warning); }
.notice p:last-child { margin-bottom: 0; color: #ead0d0; }
.notice.good { border-left-color: var(--success); }
.notice.good strong { color: var(--success); }

.steps { counter-reset: steps; display: grid; gap: 15px; }
.step { position: relative; padding: 24px 24px 24px 78px; border: 1px solid var(--white-line); border-radius: 18px; background: rgba(255,255,255,.035); }
.step::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; top: 23px; left: 23px; color: var(--gold); font-weight: 950; letter-spacing: .06em; }
.step h3 { margin-bottom: 7px; }
.step p:last-child { margin-bottom: 0; color: var(--muted); }

.intent-table { width: 100%; border-collapse: collapse; border: 1px solid var(--white-line); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.025); }
.intent-table th, .intent-table td { padding: 14px 16px; border-bottom: 1px solid var(--white-line); text-align: left; vertical-align: top; }
.intent-table th { color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.intent-table td { color: #e5cbcc; font-size: 14px; }
.intent-table tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; box-shadow: none; }
.faq summary { padding: 19px 52px 19px 20px; cursor: pointer; font-weight: 850; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; color: var(--gold); font-size: 21px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted-2); font-size: 12px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #7d5153; }
.breadcrumb a { color: var(--muted); }
.page-hero { padding: 58px 0 58px; }
.page-hero .page-hero-copy { max-width: 880px; }
.page-hero h1 { margin-bottom: 21px; font-size: clamp(2.7rem, 7vw, 5rem); }
.page-hero .lede { max-width: 780px; color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.25rem); }
.page-hero .hero-actions { margin-top: 26px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related a { padding: 20px; border: 1px solid var(--white-line); border-radius: 16px; background: rgba(255,255,255,.035); font-weight: 850; }
.related a span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 500; }

.cta-band { padding: 38px; border: 1px solid rgba(247,212,98,.27); border-radius: 28px; background: linear-gradient(120deg, #5b0d13, #2c0205); display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-band p { margin: 0; color: var(--muted); }

.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: #130001; }
.footer-grid { padding: 52px 0 34px; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 30px; }
.footer-brand p { max-width: 420px; color: var(--muted); font-size: 13px; }
.footer-group h2 { margin-bottom: 14px; color: var(--gold); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-group a { display: block; padding: 5px 0; color: #dec4c5; font-size: 13px; }
.footer-bottom { padding: 20px 0 110px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; gap: 20px; color: #a87779; font-size: 12px; }
.sticky-download { display: none; }

.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin-bottom: 12px; font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); }
.error-page p { color: var(--muted); }

@media (max-width: 940px) {
  .primary-nav { display: none; position: absolute; top: 78px; left: 16px; right: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #250204; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 12px 14px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-product-preview { width: min(600px, 100%); margin: 0 auto; }
  .quick-links-inner, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .top-note { text-align: left; }
  .header-inner { min-height: 70px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { display: none; }
  .primary-nav { top: 70px; }
  .hero { padding: 46px 0 64px; }
  .hero-wordmark { width: min(350px, 100%); margin-bottom: 20px; }
  .hero-product-preview { min-height: 430px; }
  .hero-product-preview::before { width: 340px; height: 340px; }
  .phone-gallery { padding: 10px 0 76px; }
  .phone-shot { width: min(47%, 190px); }
  .phone-shot + .phone-shot { margin-left: -9px; }
  .phone-frame { padding: 5px; border-radius: 22px; }
  .phone-frame::before { top: 8px; height: 8px; }
  .phone-frame img { border-radius: 17px; }
  .phone-shot figcaption { margin-top: 10px; font-size: 11px; }
  .hero h1 { font-size: clamp(2.8rem, 14.2vw, 4rem); }
  .hero-actions, .download-cta { width: 100%; }
  .download-cta { min-width: 0; }
  .package-card { padding: 25px; }
  .quick-links-inner, .grid-2, .grid-3, .grid-4, .related { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 27px; }
  .page-hero { padding: 46px 0 42px; }
  .fact-list > div { grid-template-columns: 86px minmax(0,1fr); }
  .card { padding: 22px; }
  .game-section-head { display: block; }
  .game-section-note { margin-top: 20px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  .game-card { border-radius: 15px; }
  .game-card figcaption { min-height: 49px; padding: 10px 11px 11px; font-size: 12px; }
  .game-library-card { min-height: 235px; padding: 16px; border-radius: 15px; }
  .game-library-card strong { margin-top: 48px; font-size: 1rem; }
  .step { padding: 22px 20px 22px 65px; }
  .step::before { left: 19px; top: 22px; }
  .intent-table { display: block; overflow-x: auto; white-space: nowrap; }
  .cta-band { padding: 26px; display: block; }
  .cta-band .download-cta { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; padding-bottom: 104px; }
  .footer-bottom span { display: block; margin-top: 5px; }
  .sticky-download { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 13px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: linear-gradient(135deg, #ffe96d, #eeb62b); box-shadow: 0 15px 42px rgba(0,0,0,.42); color: #321300; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 950; }
  .sticky-download small { display: block; font-size: 10px; opacity: .7; }
  .sticky-download b { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
