:root {
  --bg: #061120;
  --bg-soft: #0d1d36;
  --panel: rgba(16, 22, 37, 0.88);
  --panel-strong: rgba(12, 16, 27, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe8;
  --muted: #b6b0bd;
  --cyan: #00c8ff;
  --pink: #ff35b6;
  --lime: #9eff1f;
  --blue: #4b63ff;
  --accent: #f65843;
  --accent-soft: #ffca32;
  --shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  --shell-width: 1200px;
  --shell-gutter: clamp(18px, 3vw, 32px);
  --section-space: clamp(72px, 10vw, 112px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(246, 88, 67, 0.14), transparent 18%),
    radial-gradient(circle at top, rgba(0, 200, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.7), rgba(6, 10, 18, 0.96)),
    linear-gradient(180deg, #0a1020 0%, #0b1322 45%, #090f1b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 75%);
}

.page-shell {
  width: min(var(--shell-width), calc(100% - (var(--shell-gutter) * 2)));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(12, 14, 21, 0.94), rgba(11, 14, 23, 0.88)),
    radial-gradient(circle at right center, rgba(246, 88, 67, 0.12), transparent 24%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-text strong,
.hero h1,
.section-heading h2,
.step-card h3,
.feature-card h3,
.download-card h2,
.game-day-copy h2 {
  font-family: "Barlow", sans-serif;
}

.brand-text span:last-child {
  color: #9893a0;
  font-size: 0.88rem;
}

.brand-text strong {
  font-size: 1.55rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-left: auto;
  padding: 0 10px;
}

.site-nav a {
  color: #9893a0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6d53, var(--accent));
  color: #fff7f2;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(246, 88, 67, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0 clamp(52px, 8vw, 84px);
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 9ch;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.hero-text,
.feature-card p,
.step-card p,
.game-day-copy p,
.download-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.hero-text {
  max-width: 22ch;
  margin: 24px 0 0;
  font-size: clamp(1.14rem, 2vw, 1.32rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-soft), #efb71b);
  color: #12131a;
  box-shadow: 0 14px 36px rgba(255, 202, 50, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: transparent;
}

.hero-showcase {
  position: relative;
  min-height: auto;
  display: grid;
  place-items: center;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 10% 12% 6%;
  background:
    radial-gradient(circle at 50% 40%, rgba(246, 88, 67, 0.16), transparent 34%),
    radial-gradient(circle at 50% 70%, rgba(0, 200, 255, 0.12), transparent 36%);
  filter: blur(22px);
}

.hero-device {
  position: relative;
  margin: 0;
  width: min(100%, 410px);
  border-radius: 40px;
  overflow: hidden;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-device img,
.step-card img,
.gallery-panel img,
.step-image-pair img {
  display: block;
  width: 100%;
  height: auto;
}

.stats-band,
.feature-card,
.step-card,
.gallery-panel,
.download-card {
  position: relative;
  isolation: isolate;
  background: var(--panel);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.stats-band > *,
.feature-card > *,
.step-card > *,
.gallery-panel > *,
.download-card > * {
  position: relative;
  z-index: 1;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 26px;
  border-radius: 28px;
}

.stats-band div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: "Barlow", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
}

.section {
  padding: var(--section-space) 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.feature-card,
.step-card,
.download-card {
  border-radius: 28px;
  padding: 24px;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: var(--text);
}

.feature-card p,
.step-card p,
.download-card p {
  color: var(--muted);
}

.showcase-section {
  padding-top: 112px;
}

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

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--lime);
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.step-card img,
.step-image-pair {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
}

.step-image-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.game-day-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.game-day-copy {
  max-width: 620px;
}

.gallery-panel {
  border-radius: 34px;
  padding: 16px;
}

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

.download-card {
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 88, 67, 0.2), transparent 70%);
}

.download-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-showcase {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .hero {
    gap: 26px;
  }

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

  .game-day-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    padding: 14px 16px;
    backdrop-filter: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
    margin-left: 0;
    justify-content: flex-start;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 28px;
    gap: 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: 0.95;
  }

  .hero-text,
  .feature-card p,
  .step-card p,
  .game-day-copy p,
  .download-card p {
    font-size: 1rem;
  }

  .stats-band,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .step-image-pair {
    grid-template-columns: 1fr;
  }

  .feature-card h3,
  .step-card h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 760px) {
  .stats-band,
  .feature-card,
  .step-card,
  .gallery-panel,
  .download-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(16, 22, 37, 0.96);
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .site-header {
    border-radius: 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text span:last-child {
    font-size: 0.86rem;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 18px;
  }

  .feature-card,
  .step-card,
  .download-card {
    padding: 20px;
  }

  .stats-band {
    padding: 20px;
  }

  .stat-value {
    font-size: 1.9rem;
  }
}
