:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #142033;
  --muted: #5b667a;
  --line: rgba(20, 32, 51, 0.08);
  --primary: #3f6fff;
  --primary-dark: #2f57cf;
  --accent: #ffc83d;
  --shadow: 0 18px 48px rgba(23, 39, 71, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(63, 111, 255, 0.12), transparent 34%),
    var(--bg);
  line-height: 1.5;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 252, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-logo {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 56px 0 32px;
  background: #131d31;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section .eyebrow,
.section-alt .eyebrow,
.studio-section .eyebrow,
.download-section .eyebrow {
  color: var(--primary);
}

.hero-copy h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-copy p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), #ffb400);
  color: #1c2433;
  box-shadow: 0 12px 30px rgba(255, 180, 0, 0.28);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stats li {
  min-width: 92px;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero-card {
  justify-self: end;
  width: min(380px, 100%);
}

.phone-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 384 / 751;
}

.phone-screen {
  position: absolute;
  left: 4.2%;
  right: 4.2%;
  top: 3.35%;
  bottom: 3.25%;
  border-radius: 38px;
  overflow: hidden;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
}

.section,
.section-alt {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.8));
}

.section-heading {
  margin-bottom: 32px;
  max-width: 720px;
}

.section-heading h2,
.studio-section h2,
.download-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p,
.studio-section p,
.download-section p {
  margin: 0;
  color: var(--muted);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card,
.feature-card,
.step,
.stat-card,
.studio-card,
.download-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.media-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.media-card img.aso-shot {
  aspect-ratio: 4 / 3.7;
  object-position: center 16%;
}

.media-card-copy {
  padding: 18px;
}

.media-card-copy h3,
.feature-card h3,
.step h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.media-card-copy p,
.feature-card p,
.step p,
.stat-card span,
.studio-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow: hidden;
  min-height: 132px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.feature-thumb {
  width: 124px;
  flex: 0 0 124px;
  align-self: stretch;
  background-size: 450px auto;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.feature-card > div {
  padding: 20px 22px 20px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.step {
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: left;
}

.step-shot {
  width: 100%;
  aspect-ratio: 4 / 3.7;
  object-fit: cover;
  object-position: center 16%;
}

.step-copy {
  padding: 18px;
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.stats-panel {
  padding-top: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 6px;
}

.studio-section {
  padding: 88px 0;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.studio-card {
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
}

.studio-card img {
  width: 64px;
  margin-bottom: 18px;
}

.studio-engagement-image {
  width: 100% !important;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: center 27%;
  border-radius: 0;
  margin-bottom: 0;
  background: #fff;
}

.studio-card p {
  padding: 22px 24px 24px;
}

.download-section {
  padding: 0 0 88px;
}

.download-box {
  border-radius: 32px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge img {
  height: 54px;
  width: auto;
}

.store-badge-app {
  height: 54px !important;
}

.store-badge-google {
  height: 54px !important;
}

.store-badge-disabled {
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-content,
  .studio-grid,
  .gameplay-grid,
  .feature-grid,
  .stats-grid,
  .download-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-card {
    justify-self: start;
    max-width: 360px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .download-box {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-card {
    width: min(320px, 100%);
  }

  .phone-screen {
    border-radius: 32px;
  }

  .section,
  .section-alt,
  .studio-section {
    padding: 64px 0;
  }

  .gameplay-grid {
    gap: 16px;
  }

  .media-card img {
    aspect-ratio: 4 / 5;
  }

  .feature-card,
  .stat-card,
  .studio-card,
  .download-box {
    padding: 20px;
  }

  .download-section {
    padding-bottom: 64px;
  }

  .store-badge img {
    height: 48px;
  }

  .store-badge-app {
    height: 48px !important;
  }

  .store-badge-google {
    height: 48px !important;
  }
}
