:root {
  --game-coral: #ff6b45;
  --game-amber: #ffb36b;
  --game-violet: #9d65ff;
  --game-ink: #09070d;
  --game-ivory: #f8f0e7;
  --accent: var(--game-coral);
  --accent-tx: rgba(255, 107, 69, .36);
  --accent-alt: var(--game-violet);
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Space Grotesk", Arial, sans-serif;
}

.skinroot.dark {
  --window-background: #09070d;
  --window-background-0: #0d0a12;
  --window-background-1: #14101b;
  --window-background-2: #1b1423;
  --window-background-3: #26192b;
  --window-background-hi: #211a2a;
  --window-background-lo: #050407;
  --text: #f8f0e7;
  --text-lo: #b6abbc;
  --border-color: #35283d;
  --shadow-color: rgba(0, 0, 0, .55);
  --text-over-accent: #09070d;
  --text-over-accent-hover: #09070d;
  --back-zero: #09070d;
  --back-one: linear-gradient(135deg, #100c16, #1b1221);
  --back-two: linear-gradient(135deg, #171020, #25162c);
  --back-three: linear-gradient(135deg, #211329, #0c0911);
}

.skinroot.light {
  --window-background: #f4eee8;
  --window-background-0: #ebe1da;
  --window-background-1: #fff9f4;
  --window-background-2: #e3d7e7;
  --window-background-3: #dac9d1;
  --window-background-hi: #ffffff;
  --window-background-lo: #d9cec8;
  --text: #17101b;
  --text-lo: #6b5d70;
  --border-color: #c4b3c3;
  --shadow-color: rgba(45, 27, 51, .18);
  --accent: #c73e24;
  --accent-tx: rgba(199, 62, 36, .24);
  --text-over-accent: #ffffff;
  --text-over-accent-hover: #ffffff;
  --back-zero: #f4eee8;
  --back-one: linear-gradient(135deg, #fff9f4, #eadfe8);
  --back-two: linear-gradient(135deg, #e9dde8, #f7ece5);
  --back-three: linear-gradient(135deg, #decbd4, #f4eee8);
}

.statify { font-family: var(--font-body); }
.statify h1, .statify h2, .statify h3, .statify nav { font-family: var(--font-display); }
.statify nav.navibar {
  background: rgba(9, 7, 13, .86);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, .12);
  letter-spacing: .08em;
}
.statify nav.navibar > .mainlogo { padding: .25rem; }
.statify nav.navibar a:hover { color: var(--game-coral) !important; }

.game-hero { min-height: 100vh; }
.hero-shell {
  align-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  padding: clamp(6rem, 13vh, 10rem) clamp(1.25rem, 8vw, 9rem) 4rem;
}
.hero-wordmark { max-width: 25rem; width: min(55vw, 25rem); }
.hero-kicker, .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .24em;
  margin: 1.5rem 0 1rem;
  text-transform: uppercase;
}
.hero-title, .display-heading, .feature-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .78;
  margin: 0;
  text-transform: uppercase;
}
.hero-title { max-width: 10ch; }
.hero-title span, .accent { color: var(--game-coral); }
.hero-copy, .lead, .feature-copy, .feature-panel > p {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}
.hero-copy { max-width: 37rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.game-button {
  align-items: center;
  border: 1px solid var(--game-coral);
  box-sizing: border-box;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .12em;
  min-height: 3.2rem;
  padding: .8rem 1.25rem;
  text-transform: uppercase;
}
.game-button.primary { background: var(--game-coral); color: var(--game-ink) !important; }
.game-button.primary:hover { background: var(--game-amber); }
.game-button.ghost { background: rgba(9, 7, 13, .52); color: var(--game-ivory) !important; }
.game-button.ghost:hover { background: var(--game-coral); color: var(--game-ink) !important; }
.platform-line { color: #d2c6d2; font-size: .72rem; font-weight: 600; letter-spacing: .15em; }

.signal-strip { background: var(--game-coral); color: var(--game-ink); overflow: hidden; }
.signal-inner { padding: .7rem 0; }
.signal-copy { font-family: var(--font-display); font-size: .95rem; font-weight: 800; letter-spacing: .18em; margin: 0; text-align: center; }

.section-pad { padding: clamp(4rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem); }
.content-shell { box-sizing: border-box; margin: 0 auto; max-width: 1480px; width: 100%; }
.display-heading { font-size: clamp(3.8rem, 8vw, 8.5rem); }
.feature-heading { font-size: clamp(3rem, 6vw, 6.2rem); }
.lead { margin: 2rem 0 3rem; }

.pillar-card, .release-card {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border-color);
  border-radius: 0;
  box-sizing: border-box;
  min-height: 16rem;
  padding: 2rem;
  position: relative;
}
.pillar-card::after, .release-card::after {
  background: linear-gradient(90deg, var(--game-coral), var(--game-violet));
  bottom: -1px;
  content: "";
  height: 3px;
  left: -1px;
  position: absolute;
  right: -1px;
}
.pillar-card h3, .release-card h3 { font-size: 1.8rem; letter-spacing: .02em; text-transform: uppercase; }
.pillar-icon { color: var(--game-coral); font-size: 1.7rem; }

.cinematic-section {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  min-height: 82vh;
  padding: clamp(4rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
}
.feature-copy { background: rgba(9, 7, 13, .76); border-left: 3px solid var(--game-coral); padding: 1.5rem; }
.feature-pair { align-items: center; gap: 0; }
.game-shot, .media-shot, .key-art, .trailer-poster { box-sizing: border-box; margin: 0; padding: .35rem; }
.game-shot img, .media-shot img, .key-art img, .trailer-poster img {
  border: 1px solid var(--border-color);
  box-shadow: 0 1.4rem 4rem var(--shadow-color);
  display: block;
}
.feature-panel { box-sizing: border-box; padding: clamp(2rem, 5vw, 5rem); }
.feature-panel h2 { font-size: clamp(3rem, 5vw, 5.7rem); line-height: .85; margin: .7rem 0 1.5rem; text-transform: uppercase; }
.memory-zone { background: radial-gradient(circle at 70% 20%, rgba(157,101,255,.22), transparent 38%), var(--game-ink); }
.template-note { border: 1px solid var(--border-color); color: var(--text-lo); margin-top: 1rem; padding: 1rem; }
.launch-zone { background: linear-gradient(135deg, var(--game-coral), #d9495e 46%, #6840ae); color: var(--game-ink); }
.launch-zone .game-button.primary { background: var(--game-ink); border-color: var(--game-ink); color: var(--game-ivory) !important; }
.launch-zone .game-button.ghost { background: transparent; border-color: var(--game-ink); color: var(--game-ink) !important; }

.media-hero { box-sizing: border-box; min-height: 100vh; padding: clamp(7rem, 16vh, 12rem) clamp(1rem, 5vw, 5rem) 4rem; }
.carousel-section {
  border-bottom: clamp(.55rem, 1vw, .9rem) solid var(--game-coral);
  border-top: clamp(.55rem, 1vw, .9rem) solid var(--game-coral);
  box-sizing: border-box;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.carousel-section > .grows { padding-left: 0 !important; padding-right: 0 !important; }
.carousel-shell { width: 100%; }
.carousel-heading { box-sizing: border-box; padding: 0 clamp(1rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem); }
.carousel-heading h2 {
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  line-height: .78;
  margin: .7rem 0 0;
  text-transform: uppercase;
}
.screenshot-carousel {
  background: var(--game-ink);
  box-sizing: border-box;
  height: min(72vw, 78vh);
  min-height: 34rem;
  overflow: hidden;
  width: 100%;
}
.screenshot-carousel img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.screenshot-carousel .legend {
  background: linear-gradient(0deg, rgba(7, 6, 11, .98) 0%, rgba(7, 6, 11, .82) 52%, rgba(7, 6, 11, 0) 100%);
  box-sizing: border-box;
  color: var(--game-ivory);
  padding: clamp(7rem, 16vh, 12rem) clamp(1.25rem, 6vw, 6rem) clamp(2rem, 5vw, 4.5rem);
  pointer-events: auto;
  text-shadow: 0 .15rem 1.4rem rgba(0, 0, 0, .8);
}
.screenshot-carousel .legend .scene-kicker {
  color: var(--game-coral);
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  margin-bottom: .8rem;
}
.screenshot-carousel .legend h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 7rem);
  letter-spacing: -.025em;
  line-height: .82;
  margin: 0 0 1rem;
  max-width: 12ch;
  text-transform: uppercase;
}
.screenshot-carousel .legend p {
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  margin: 0 0 1.3rem;
  max-width: 46rem;
}
.screenshot-carousel .legend strong { color: white; }
.screenshot-carousel .legend-button {
  display: inline-flex;
  font-size: .82rem;
  padding: .85rem 1.1rem;
  width: auto;
}
.key-art-zone { align-items: center; }

.game-faq, .game-howto { font-family: var(--font-body); }
.game-faq h1, .game-howto h1 { font-family: var(--font-display); letter-spacing: -.02em; text-transform: uppercase; }
.game-faq > li, .game-howto > li { border-color: var(--border-color) !important; }
.game-faq .question, .game-howto .title-row { font-family: var(--font-display); }

.with-markdown { font-family: var(--font-body); }
.with-markdown h1, .with-markdown h2, .with-markdown h3 { font-family: var(--font-display); text-transform: uppercase; }
.with-markdown h1 { font-size: clamp(3.6rem, 7vw, 7rem); letter-spacing: -.04em; line-height: .85; }
.with-markdown h2 { border-top: 1px solid var(--border-color); color: var(--accent); font-size: 2.2rem; margin-top: 3rem; padding-top: 1.5rem; }
.with-markdown table { border-collapse: collapse; width: 100%; }
.with-markdown td, .with-markdown th { border-bottom: 1px solid var(--border-color); padding: .8rem; text-align: left; }
.with-markdown blockquote { background: var(--window-background-1); border-left: 3px solid var(--accent); margin: 1.5rem 0; padding: 1rem 1.5rem; }

.statify footer { border-top: 1px solid var(--border-color); }

@media (max-width: 991px) {
  .game-hero, .hero-shell { min-height: 88vh; }
  .hero-shell { padding-top: 7rem; }
  .hero-wordmark { width: min(72vw, 23rem); }
  .hero-title { font-size: clamp(3.5rem, 12vw, 6rem); }
  .cinematic-section { align-items: flex-end; background-position: 35% center !important; min-height: 76vh; }
  .feature-copy { margin-top: 1rem; }
  .pillar-card, .release-card { min-height: 13rem; }
  .media-shot { min-height: auto; }
}

@media (max-width: 575px) {
  .game-hero { background-position: 60% center !important; }
  .hero-shell { justify-content: flex-end; padding: 5.5rem 1rem 2rem; }
  .hero-title { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  .hero-copy { font-size: 1rem; }
  .cta-row { display: grid; width: 100%; }
  .game-button { width: 100%; }
  .platform-line { line-height: 1.6; }
  .section-pad, .cinematic-section { padding: 4rem 1rem; }
  .display-heading { font-size: clamp(3.2rem, 16vw, 5rem); }
  .feature-heading { font-size: clamp(3rem, 15vw, 4.7rem); }
  .signal-copy { font-size: .7rem; padding: 0 .5rem; }
  .media-hero { min-height: 58vh; padding: 6rem 1rem 3rem; }
  .carousel-section { padding: 3rem 0; }
  .carousel-heading { padding: 0 1rem 2rem; }
  .screenshot-carousel { height: 70vh; min-height: 28rem; }
  .screenshot-carousel .legend { padding: 7rem 1.25rem 2rem; }
  .screenshot-carousel .legend h2 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  .screenshot-carousel .legend p { font-size: .9rem; line-height: 1.45; }
  .screenshot-carousel .legend-button { font-size: .72rem; padding: .7rem .85rem; }
}

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