@font-face {
  font-family: DynaPuff;
  src: url('assets/DynaPuff.ttf') format('truetype');
  font-display: swap;
  font-weight: 400 700;
}
:root {
  color-scheme: dark;
  --bg: #09031b;
  --surface: #15102a;
  --surface-2: #20143d;
  --ink: #fffaf2;
  --muted: #bcb5d1;
  --gold: #ffbf00;
  --orange: #ff6a00;
  --cyan: #17d9ee;
  --green: #38e67a;
  --blue: #614cff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(97, 76, 255, 0.2), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: DynaPuff, system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 99;
  background: #fff;
  color: #111;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
}
.skip-link:focus {
  top: 1rem;
}
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}
.ambient-one {
  width: 30rem;
  height: 30rem;
  background: var(--cyan);
  left: -18rem;
  top: 30%;
}
.ambient-two {
  width: 24rem;
  height: 24rem;
  background: var(--orange);
  right: -14rem;
  top: 60%;
}
.topbar {
  height: 78px;
  max-width: 1240px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1rem;
}
.brand img {
  border-radius: 12px;
}
.topbar nav {
  display: flex;
  gap: 28px;
}
.topbar nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.86rem;
}
.topbar nav a:hover {
  color: var(--ink);
}
.language-picker select {
  font: inherit;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.65rem 2rem 0.65rem 0.9rem;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 28px;
}
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
  padding: 50px 0 90px;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--cyan);
  font-size: 0.76rem;
}
.hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 780px;
  padding-bottom: 0.06em;
  background: linear-gradient(130deg, #fff 18%, var(--gold) 62%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-family: system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--muted);
  max-width: 650px;
  margin: 28px 0 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 0.86rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.primary {
  color: #241200;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 12px 34px rgba(255, 106, 0, 0.28);
}
.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}
.quick-facts {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  gap: 38px;
}
.quick-facts li {
  display: flex;
  flex-direction: column;
}
.quick-facts strong {
  font-size: 1.45rem;
  color: var(--green);
}
.quick-facts span {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}
.store-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.store-button {
  min-width: 156px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 15px;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.store-button > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green);
  color: #07160c;
  font-family: DynaPuff, sans-serif;
}
.store-button small {
  display: block;
  color: #c9c7d0;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.store-button:not(.disabled):hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.store-button.disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.store-button.disabled > span:first-child {
  background: #777;
  color: #fff;
}
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
}
.phone {
  position: relative;
  width: min(330px, 72vw);
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 46px;
  background: #06030d;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  z-index: 2;
}
.phone img {
  border-radius: 38px;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.orbit-a {
  width: 180px;
  height: 180px;
  background: var(--blue);
  right: 1%;
  top: 4%;
  box-shadow: -300px 370px 0 -45px var(--green);
}
.orbit-b {
  width: 90px;
  height: 90px;
  background: var(--orange);
  left: 4%;
  bottom: 14%;
  box-shadow: 250px 40px 0 -15px var(--cyan);
}
.mechanics,
.score-section,
.showcase {
  padding: 90px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 0;
}
.mechanic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mechanic-grid article {
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(32, 20, 61, 0.9),
    rgba(21, 16, 42, 0.75)
  );
  border: 1px solid var(--line);
  border-radius: 26px;
}
.mechanic-grid article > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(23, 217, 238, 0.12);
  color: var(--cyan);
  font-size: 1.05rem;
}
.mechanic-grid h3 {
  margin: 20px 0 8px;
  font-size: 1.15rem;
}
.mechanic-grid p {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, sans-serif;
}
.refresh {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.7rem 1rem;
  cursor: pointer;
}
.refresh:hover {
  background: var(--surface);
}
.champion-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: linear-gradient(
    105deg,
    rgba(255, 191, 0, 0.23),
    rgba(255, 106, 0, 0.08)
  );
  border: 1px solid rgba(255, 191, 0, 0.45);
  border-radius: 28px;
  padding: 22px 28px;
  margin-bottom: 18px;
  box-shadow: 0 18px 60px rgba(255, 106, 0, 0.08);
}
.crown {
  font-size: 2.6rem;
  color: var(--gold);
  filter: drop-shadow(0 5px 12px rgba(255, 191, 0, 0.5));
}
.champion-card p {
  margin: 0;
  color: var(--gold);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.champion-card h3 {
  margin: 2px 0 0;
  font-size: 1.45rem;
}
.champion-card > strong {
  font-size: 1.8rem;
  color: var(--gold);
}
.leaderboard-card {
  background: rgba(21, 16, 42, 0.86);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px 22px;
  backdrop-filter: blur(18px);
}
.score-status {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  padding: 24px;
  text-align: center;
}
.leaderboard {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rank;
}
.leaderboard li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
}
.leaderboard li:last-child {
  border: 0;
}
.leaderboard li::before {
  content: counter(rank, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.75rem;
}
.player {
  overflow: hidden;
  text-overflow: ellipsis;
}
.points {
  color: var(--cyan);
}
.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 210px));
  justify-content: center;
  gap: 24px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}
.screenshots figure {
  margin: 0;
  background: #05030b;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 6px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.screenshots figure:nth-child(3) {
  transform: rotate(2deg);
}
.screenshots figure:nth-child(4) {
  transform: rotate(1deg);
}
.screenshots .raised {
  transform: translateY(-18px);
  position: relative;
  z-index: 2;
}
.screenshots img {
  border-radius: 22px;
}
.cta {
  margin: 90px 0 110px;
  padding: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(
    120deg,
    var(--surface-2),
    rgba(97, 76, 255, 0.25)
  );
  border: 1px solid var(--line);
  border-radius: 34px;
}
.cta img {
  border-radius: 24px;
}
.cta p:not(.eyebrow) {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  margin: 10px 0 0;
}
footer {
  max-width: 1240px;
  margin: auto;
  padding: 30px 28px 46px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
}
footer div {
  display: flex;
  gap: 20px;
}
footer a {
  text-decoration: none;
}
.cta-downloads {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cta-downloads .store-buttons {
  flex-wrap: nowrap;
}
.cta-downloads .store-button {
  min-width: 138px;
}
.cta-downloads .button {
  width: 100%;
}
.legal-page {
  max-width: 860px;
  padding-top: 70px;
  padding-bottom: 110px;
}
.legal-page h1 {
  font-size: 4rem;
  word-break: break-all;
  margin: 0 0 26px;
  background: linear-gradient(130deg, #fff 18%, var(--gold) 62%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal-intro {
  font-size: 1.15rem;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  margin: 0 0 48px;
}
.legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.legal-section p,
.legal-section li {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
}
.legal-section ul {
  padding-left: 1.2rem;
}
.legal-updated {
  color: var(--muted);
  font:
    0.85rem system-ui,
    sans-serif;
  margin-top: 38px;
}
@media (max-width: 820px) {
  .topbar nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    text-align: center;
    gap: 58px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }
  .quick-facts {
    justify-content: center;
  }
  .phone {
    width: min(300px, 75vw);
  }
  .mechanics,
  .score-section,
  .showcase {
    padding: 65px 0;
  }
  .mechanic-grid {
    grid-template-columns: 1fr;
  }
  .screenshots {
    grid-template-columns: repeat(4, minmax(0, 160px));
    gap: 16px;
    padding: 10px 0;
  }
  .screenshots figure {
    border-radius: 20px;
    padding: 4px;
  }
  .screenshots img {
    border-radius: 16px;
  }
  .cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .cta .button {
    width: 100%;
  }
}
@media (max-width: 820px) {
  .cta-downloads {
    width: 100%;
  }
  .cta-downloads .store-buttons {
    justify-content: center;
  }
}
@media (max-width: 540px) {
  .topbar,
  main,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .topbar:has(.topbar-actions) {
    height: auto;
    min-height: 78px;
    padding-top: 15px;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .topbar-actions .language-picker,
  .topbar-actions select {
    min-width: 0;
    max-width: 100%;
  }
  .legal-page h1 {
    font-size: 2.5rem;
    overflow-wrap: anywhere;
  }
  .brand span {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-bottom: 65px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button {
    flex: 1;
  }
  .quick-facts {
    gap: 25px;
    width: 100%;
    justify-content: space-between;
  }
  .section-heading {
    align-items: start;
  }
  .refresh span {
    display: none;
  }
  .champion-card {
    grid-template-columns: auto 1fr;
    padding: 18px;
  }
  .champion-card > strong {
    grid-column: 2;
  }
  .leaderboard-card {
    padding: 8px 14px;
  }
  .leaderboard li {
    grid-template-columns: 42px 1fr auto;
  }
  .screenshots {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: start;
    grid-template-columns: repeat(4, 44vw);
    margin-right: 0;
    padding: 8px 0 18px;
  }
  .screenshots figure,
  .screenshots .raised {
    transform: none;
    scroll-snap-align: center;
  }
  .cta {
    margin: 65px 0;
    padding: 30px 22px;
  }
  footer {
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  .store-buttons {
    width: 100%;
  }
  .store-button {
    flex: 1;
    min-width: 0;
  }
  .cta-downloads .store-button {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
