:root {
  --gold: #C69C3A; /* AppColors.antiqueGold */
  --theseus: #305F72; /* AppColors.theseusCyan */
  --minotaur: #9E2A2B; /* AppColors.minotaurRed */
  --bg-top: #FAF8F4; /* approximate AppColors.bgGradientTop */
  --bg-btm: #EEEDE6; /* AppColors.bgGradientBottom */
  --board: #ECE6DA; /* AppColors.bgBoard */
  --stone-border: #E6E2DB;
  --charcoal: #1A1818;
  --muted: #6B655F;

  font-family: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-btm));
  color: var(--charcoal);
}

body {
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}

.narrow {
  max-width: 960px;
}

.center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  background: transparent;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: 0.15em;
  font-size: 18px;
  margin: 0;
  color: var(--charcoal);
  text-transform: uppercase;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  font-size: 13px;
}

header nav a:hover {
  color: var(--charcoal);
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-centered {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  margin: 0 0 12px;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(198, 156, 58, 0.12);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.lead {
  color: var(--muted);
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto;
}

.cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid var(--stone-border);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(209, 204, 196, 0.8);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.btn.primary {
  background: linear-gradient(145deg, #FBF9F6, #F2EFE9);
  color: var(--charcoal);
}

.btn.outline {
  background: transparent;
  color: var(--theseus);
  border: 1px solid var(--stone-border);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 0 rgba(209, 204, 196, 0.8);
}

.hero-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin: 10px 0 14px;
  letter-spacing: 0.06em;
}

.device {
  width: 380px;
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, #f8f5ee, #e8e4d8);
  box-shadow:
    0 20px 50px -10px rgba(50, 45, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.device-screen {
  position: relative;
  background: var(--board);
  border-radius: 18px;
  border: 1px solid var(--stone-border);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
              linear-gradient(180deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 14% 100%, 100% 14%;
  opacity: 0.9;
}

.wall {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 44%;
  height: 6%;
  background: #121212;
  border-radius: 8px;
}

.player,
.enemy,
.goal {
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.player {
  background: radial-gradient(circle at 30% 30%, #6db8d6, #305f72);
  top: 12%;
  left: 12%;
  box-shadow: inset 0 8px 16px rgba(255, 255, 255, 0.35);
}

.enemy {
  background: radial-gradient(circle at 30% 30%, #c85b60, #9e2a2b);
  top: 10%;
  right: 12%;
  box-shadow: inset 0 8px 16px rgba(255, 255, 255, 0.25);
}

.goal {
  background: linear-gradient(145deg, #e9d49c, #c69c3a);
  bottom: 12%;
  right: 8%;
  border-radius: 16px 16px 6px 16px;
  box-shadow: inset 0 5px 12px rgba(255, 255, 255, 0.28);
}

.screen-label {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

section {
  padding: 60px 0 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.features article {
  background: var(--board);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--stone-border);
  box-shadow: 0 3px 0 rgba(209, 204, 196, 0.4);
}

.feature-eyebrow {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.features h3 {
  margin: 6px 0 8px;
  font-size: 17px;
}

.features p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.soft-pills {
  justify-content: center;
  margin-top: 18px;
}

.pill {
  padding: 8px 12px;
  background: rgba(48, 95, 114, 0.08);
  color: var(--theseus);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.cta-row {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--board);
  border: 1px solid var(--stone-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 3px 0 rgba(209, 204, 196, 0.4);
}

.card h4 {
  margin: 8px 0;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.stat strong {
  font-size: 22px;
  letter-spacing: 0.06em;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(26, 24, 24, 0.07);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.store-badge.apple { background: #0b0b0b; }
.store-badge.play  { background: #1d3f54; }

.store-badge span {
  display: grid;
  line-height: 1.2;
}

.store-badge small {
  font-size: 11px;
  opacity: 0.8;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.hero-video {
  width: 100%;
  max-width: 760px;
  margin: 18px auto 12px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stone-border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.screenshot {
  margin-top: 48px;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--stone-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .hero-left h1 {
    font-size: 38px;
  }

  .device {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 28px 18px;
  }

  header nav {
    margin-top: 10px;
  }

  header nav a {
    margin-left: 0;
    margin-right: 12px;
  }
}
