:root {
  --bg: #1c1917;
  --bg-soft: #292524;
  --bg-panel: rgba(41, 37, 36, 0.72);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f5f0eb;
  --muted: #c5b6aa;
  --muted-strong: #8a7769;
  --orange: #f97316;
  --orange-bright: #ffb347;
  --cyan: #38bdf8;
  --lime: #84cc16;
  --red: #ef4444;
  --purple: #a855f7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Exo 2", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at 75% 85%, rgba(132, 204, 22, 0.14), transparent 24%),
    linear-gradient(180deg, #120f0e 0%, #1c1917 45%, #140f16 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  opacity: 0.35;
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.88) 0%,
    rgba(28, 25, 23, 0.5) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark,
.footer-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(249, 115, 22, 0.22);
}

.brand-copy,
.footer-brand div {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy span,
.footer-brand p,
.site-nav a,
.fine-print {
  color: var(--muted);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 180ms ease;
}

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

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-top: 2.5rem;
}

.eyebrow,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-bright);
}

.eyebrow::before,
.panel-label::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3rem, 10vw, 6.2rem);
  font-weight: 900;
  max-width: 10ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  font-weight: 800;
  max-width: 12ch;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.6;
}

.hero-text,
.section-heading p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: #1a120e;
  background: linear-gradient(135deg, #ffd37a 0%, #ff9432 42%, #f97316 100%);
  box-shadow:
    0 18px 32px rgba(249, 115, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-large {
  min-width: min(100%, 18rem);
}

.hero-stats,
.rule-list,
.tier-track,
.coin-strip,
.pressure-points,
.footer-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.hero-stats li,
.tier-track span,
.coin-strip span,
.pressure-points span {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats strong {
  display: block;
  font-size: 1.45rem;
  color: white;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.8;
}

.hero-orb-left {
  width: 12rem;
  height: 12rem;
  left: 4%;
  top: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.65), transparent 70%);
}

.hero-orb-right {
  width: 16rem;
  height: 16rem;
  right: 2%;
  bottom: 7%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.7), transparent 72%);
}

.phone-mockup,
.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.phone-mockup {
  width: min(100%, 24rem);
  padding: 1rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(12, 10, 9, 0.85), rgba(28, 25, 23, 0.92));
}

.phone-mockup::after,
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0) 40%
  );
  pointer-events: none;
}

.phone-topbar {
  width: 34%;
  height: 0.55rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-screen {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top, rgba(249, 115, 22, 0.2), transparent 44%),
    radial-gradient(circle at 70% 80%, rgba(56, 189, 248, 0.2), transparent 34%),
    rgba(15, 12, 12, 0.88);
}

.screen-badge {
  display: inline-flex;
  align-self: start;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #b7ecff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-icon {
  width: min(100%, 16rem);
  margin: 0 auto;
  filter:
    drop-shadow(0 24px 40px rgba(249, 115, 22, 0.25))
    drop-shadow(0 0 28px rgba(56, 189, 248, 0.18));
}

.mock-grid,
.mock-pills,
.gameplay-grid,
.modes-grid,
.progression-layout,
.standout-grid,
.screenshot-gallery {
  display: grid;
  gap: 1rem;
}

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

.mock-grid span,
.mock-pills span {
  display: grid;
  place-items: center;
  border-radius: 1rem;
  font-weight: 800;
}

.mock-grid span {
  min-height: 4rem;
  font-size: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 149, 65, 0.28), rgba(255, 149, 65, 0.08));
  border: 1px solid rgba(255, 179, 71, 0.22);
}

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

.mock-pills span {
  min-height: 2.45rem;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.glass-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.preview-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.14), transparent 28%),
    rgba(33, 28, 27, 0.78);
}

.preview-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}

.screenshot-gallery {
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 17.5rem);
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 10px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.shot-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
  scroll-snap-align: start;
}

.shot-frame {
  position: relative;
  padding: 0.6rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(15, 12, 12, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.3);
}

.shot-frame::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border-radius: 1.45rem;
}

.shot-copy {
  display: grid;
  gap: 0.5rem;
}

.shot-copy p {
  color: var(--muted);
  font-size: 0.98rem;
}

.shot-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.secondary-grid {
  margin-top: 1.25rem;
}

.gameplay-card,
.mode-card,
.standout-card {
  display: grid;
  gap: 0.7rem;
}

.rules-panel {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.operator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.operator-row span {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.35), rgba(56, 189, 248, 0.18));
  font-size: 1.25rem;
  font-weight: 800;
}

.rule-list {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.rule-list li {
  padding-left: 1.1rem;
  position: relative;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
}

.mode-card {
  min-height: 15rem;
}

.mode-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.mode-tag {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-accent {
  width: 100%;
  height: 0.4rem;
  border-radius: 999px;
}

.mode-card ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.mode-card li {
  padding-left: 1rem;
  position: relative;
}

.mode-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.progression-layout {
  align-items: stretch;
}

.progression-card {
  display: grid;
  gap: 1rem;
}

.tier-track,
.coin-strip,
.pressure-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tier-track span,
.coin-strip span,
.pressure-points span {
  padding: 0.7rem 0.95rem;
  color: var(--muted);
}

.download-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.2), transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(56, 189, 248, 0.2), transparent 30%),
    rgba(36, 29, 28, 0.78);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fine-print {
  font-size: 0.92rem;
  max-width: 34ch;
}

.policy-hero {
  padding-bottom: 2rem;
}

.policy-hero h1 {
  max-width: 12ch;
}

.policy-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4.5rem;
}

.policy-toc {
  display: grid;
  gap: 0.85rem;
  align-self: start;
}

.policy-toc a {
  color: var(--muted);
  transition: color 180ms ease;
}

.policy-toc a:hover,
.policy-toc a:focus-visible,
.policy-card a:hover,
.policy-card a:focus-visible {
  color: var(--text);
}

.policy-card {
  display: grid;
  gap: 2.1rem;
}

.policy-card section {
  display: grid;
  gap: 0.95rem;
  scroll-margin-top: 7rem;
}

.policy-card h2 {
  max-width: none;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.policy-card h3 {
  margin-top: 0.45rem;
  color: var(--orange-bright);
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.policy-card a {
  color: var(--orange-bright);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.policy-copyright {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (min-width: 680px) {
  .site-nav {
    display: inline-flex;
  }

  .preview-shell {
    padding: 1.75rem;
  }

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

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

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

  .wide-card {
    grid-column: span 2;
  }

  .download-card {
    grid-template-columns: 1.5fr 1fr;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .policy-layout {
    grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
    align-items: start;
  }

  .policy-toc {
    position: sticky;
    top: 6.25rem;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  }

  .preview-shell {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
  }

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

@media (max-width: 679px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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