:root {
  --bg: #080b16;
  --panel: #101728;
  --panel-soft: #141d31;
  --text: #f7f8ff;
  --muted: #aab2c5;
  --cyan: #2ee3f5;
  --mint: #42f29a;
  --gold: #ffd342;
  --orange: #ff7a32;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(46, 227, 245, 0.13), transparent 30rem),
    radial-gradient(circle at 12% 44%, rgba(66, 242, 154, 0.08), transparent 30rem),
    var(--bg);
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.35);
}

nav {
  display: flex;
  gap: 30px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
footer a:hover {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  min-height: calc(100vh - 88px);
  padding: 64px 0 100px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--mint);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.25rem;
}

.hero-text,
.section p,
.tips {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 64px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  min-width: 196px;
  color: #07121b;
  background: var(--cyan);
  box-shadow: 0 18px 50px rgba(46, 227, 245, 0.2);
}

.button-primary small {
  display: block;
  font-size: 0.65rem;
  font-weight: 750;
}

.apple-mark {
  width: 25px;
  height: 30px;
  border-radius: 42% 48% 48% 45%;
  display: grid;
  place-items: center;
  color: #07121b;
  background: #07121b;
  font-size: 0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.045);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.availability-note {
  margin: 14px 0 0;
  color: #707a91;
  font-size: 0.78rem;
}

.game-card {
  width: min(100%, 435px);
  aspect-ratio: 0.72;
  justify-self: end;
  padding: 13px;
  border: 1px solid rgba(46, 227, 245, 0.25);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(46, 227, 245, 0.15), rgba(66, 242, 154, 0.04));
  box-shadow: var(--shadow), inset 0 0 40px rgba(46, 227, 245, 0.05);
  transform: rotate(2deg);
}

.road {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 33px;
  background:
    linear-gradient(90deg, rgba(46, 227, 245, 0.85), transparent 2.5%, transparent 97.5%, rgba(46, 227, 245, 0.85)),
    #080b12;
}

.lane {
  position: absolute;
  top: -20%;
  width: 3px;
  height: 140%;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.2) 0 38px, transparent 38px 82px);
}

.lane-1 { left: 20%; }
.lane-2 { left: 40%; }
.lane-3 { left: 60%; }
.lane-4 { left: 80%; }

.traffic,
.rider {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 13px 10px rgba(0, 0, 0, 0.48));
}

.traffic {
  width: 13%;
  transform: rotate(180deg);
}

.traffic-left {
  left: 13.5%;
  top: 23%;
}

.traffic-right {
  right: 13.5%;
  bottom: 16%;
}

.rider {
  left: 42.5%;
  bottom: 32%;
  width: 15%;
}

.rider-glow {
  position: absolute;
  left: 44%;
  bottom: 34%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(28px);
  opacity: 0.62;
}

.score-chip {
  position: absolute;
  top: 5%;
  left: 50%;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: var(--muted);
  background: rgba(7, 10, 17, 0.84);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  transform: translateX(-50%);
}

.score-chip strong {
  color: var(--gold);
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

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

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

.info-card {
  min-height: 276px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.step {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.strategy {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.tips {
  max-width: 700px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.tips li {
  padding: 20px 0 20px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}

.tips li::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}

.tips strong {
  color: var(--text);
}

.reward-card {
  padding: 38px;
  border: 1px solid rgba(255, 211, 66, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0, rgba(46, 227, 245, 0.16), transparent 48%),
    var(--panel);
  text-align: center;
  box-shadow: var(--shadow);
}

.reward-card img {
  object-fit: contain;
  filter: drop-shadow(0 17px 23px rgba(46, 227, 245, 0.25));
}

.reward-number {
  margin: 24px 0 0;
  color: var(--gold) !important;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.support-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.support-section > div {
  max-width: 620px;
}

.support-mail {
  padding-bottom: 7px;
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 900;
  text-decoration: none;
}

footer {
  min-height: 120px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #727c91;
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 24px;
}

.legal-page {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 120px;
}

.legal-page .brand {
  margin-bottom: 72px;
}

.legal-page h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 5.7rem);
}

.legal-page h2 {
  margin-top: 55px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-page a {
  color: var(--cyan);
}

.updated {
  margin-bottom: 48px;
  color: #707a91 !important;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .game-card {
    width: min(88vw, 410px);
    justify-self: center;
    transform: none;
  }

  .card-grid,
  .strategy {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .step {
    margin-bottom: 35px;
  }

  .reward-card {
    max-width: 460px;
  }

  .support-section {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 26px, 1160px);
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    min-height: auto;
    padding: 55px 0 78px;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 88px 0;
  }

  .info-card,
  .reward-card {
    padding: 26px;
  }

  footer {
    padding: 30px 0;
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
