:root {
  --ink: #0c0326;
  --ink-soft: rgba(12, 3, 38, 0.72);
  --paper: #f9f8fa;
  --white: #ffffff;
  --blue: #0ba8ff;
  --blue-deep: #0475e8;
  --cyan: #39ddff;
  --purple: #5e36dd;
  --violet: #8f63ff;
  --lime: #d8ff3f;
  --mint: #a7fff0;
  --pink: #ff70b8;
  --line: rgba(12, 3, 38, 0.1);
  --shadow: 0 28px 70px rgba(12, 3, 38, 0.16);
  --soft-shadow: 0 18px 45px rgba(12, 3, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(57, 221, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(216, 255, 63, 0.14), transparent 20rem),
    var(--paper);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Verdana, sans-serif;
}

a {
  color: inherit;
}

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

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

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(4, 117, 232, 0.78), rgba(4, 117, 232, 0));
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(12, 3, 38, 0.16);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
}

.hero {
  min-height: 710px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 116px 0 58px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.28), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(57, 221, 255, 0.4), transparent 21rem),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 58%, #0062ca 100%);
}

.hero::before,
.hero::after,
.page-hero::before,
.cta-banner::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  right: -130px;
  bottom: -130px;
  border-radius: 44% 56% 50% 50%;
  background: rgba(216, 255, 63, 0.28);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -70px;
  top: 140px;
  border-radius: 55% 45% 60% 40%;
  background: rgba(143, 99, 255, 0.35);
}

.game-hero {
  min-height: 720px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: min(196px, 64vw);
  margin: 0 0 20px;
  padding: 18px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 28px 22px 36px 84px;
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.24), transparent 12rem),
    linear-gradient(145deg, var(--purple), var(--violet));
  box-shadow: 0 34px 90px rgba(12, 3, 38, 0.28);
}

.hero-showcase::after {
  content: "";
  position: absolute;
  right: 48px;
  top: 48px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 18px rgba(216, 255, 63, 0.18);
}

.showcase-main,
.showcase-card {
  position: absolute;
  object-fit: cover;
  object-position: top;
  border: 8px solid var(--white);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(12, 3, 38, 0.28);
}

.showcase-main {
  top: 0;
  right: 92px;
  z-index: 3;
  width: 286px;
  height: 552px;
  transform: rotate(3deg);
}

.showcase-card {
  z-index: 2;
  width: 162px;
  height: 314px;
  opacity: 0.98;
}

.showcase-card.one {
  left: 4px;
  top: 116px;
  transform: rotate(-9deg);
}

.showcase-card.two {
  right: 0;
  bottom: 42px;
  transform: rotate(10deg);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 88px;
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 255, 63, 0.24), transparent 18rem),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.page-hero::before {
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -140px;
  border-radius: 45% 55% 52% 48%;
  background: rgba(94, 54, 221, 0.35);
}

.kicker,
.tag {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

h1,
.page-title {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 17px;
}

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

.actions.centered {
  justify-content: center;
}

.btn,
.btn-light,
.store-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn,
.store-btn {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 14px 28px rgba(12, 3, 38, 0.16);
}

.btn {
  padding: 0 24px;
}

.btn-light {
  padding: 0 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.section .btn-light,
.panel .btn-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-btn {
  min-width: 168px;
  flex-direction: column;
  align-items: flex-start;
  padding: 11px 21px;
}

.store-btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.store-btn span {
  font-size: 10px;
  opacity: 0.76;
}

.store-btn strong {
  font-size: 17px;
  line-height: 1.15;
}

.section {
  position: relative;
  padding: 86px 0;
  background: var(--paper);
}

.section.alt {
  background:
    radial-gradient(circle at 12% 0%, rgba(57, 221, 255, 0.18), transparent 22rem),
    #eef9ff;
}

.game-intro {
  background: var(--paper);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 34px;
}

.feature-split {
  align-items: center;
}

.card,
.panel,
.poster-panel,
.phone-frame {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.panel {
  padding: 32px;
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 30px;
}

.card .tag {
  margin-bottom: 16px;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.poster-panel {
  padding: 16px;
  background:
    radial-gradient(circle at 84% 10%, rgba(216, 255, 63, 0.34), transparent 13rem),
    linear-gradient(145deg, rgba(11, 168, 255, 0.18), rgba(143, 99, 255, 0.12)),
    var(--white);
}

.poster-panel img,
.phone-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
}

.phone-frame {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 14px;
  background:
    linear-gradient(145deg, var(--white), #e9fbff);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(11, 168, 255, 0.14);
}

.product-strip,
.screenshot-wall {
  display: grid;
  gap: 18px;
}

.product-strip {
  grid-template-columns: repeat(3, 1fr);
}

.screenshot-wall {
  grid-template-columns: repeat(3, 1fr);
}

.product-strip img,
.screenshot-wall img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border: 8px solid var(--white);
  border-radius: 34px;
  box-shadow: var(--soft-shadow);
}

.developer-band {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(167, 255, 240, 0.36), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f0f8ff);
}

.developer-band::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 60px;
  width: 260px;
  height: 260px;
  border-radius: 48% 52% 42% 58%;
  background: rgba(255, 112, 184, 0.14);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.capability-list span {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  text-align: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--purple), var(--blue-deep));
}

.cta-banner::before {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -150px;
  border-radius: 54% 46% 58% 42%;
  background: rgba(216, 255, 63, 0.24);
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.cta-banner p {
  max-width: 620px;
  margin: 16px auto 28px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  min-height: 142px;
  padding: 26px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.stat strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.legal {
  max-width: 960px;
}

.legal h2 {
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 30px);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  margin-bottom: 0;
}

.legal h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 22px);
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal li {
  margin: 6px 0;
  line-height: 1.7;
}

.legal table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
}

.legal th {
  background: rgba(12, 3, 38, 0.04);
  font-weight: 700;
}

.footer {
  padding: 54px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 0%, rgba(57, 221, 255, 0.18), transparent 18rem),
    #0c0326;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 16px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer a {
  display: block;
  margin: 9px 0;
  text-decoration: none;
}

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

@media (max-width: 980px) {
  .header {
    position: static;
    background: var(--blue-deep);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .links {
    justify-content: flex-start;
  }

  .hero,
  .game-hero {
    min-height: auto;
    padding: 60px 0 68px;
  }

  .page-hero {
    padding: 68px 0;
  }

  .hero-grid,
  .split,
  .grid,
  .grid.two,
  .stat-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 560px;
  }

  .showcase-main {
    right: 50%;
    transform: translateX(50%) rotate(3deg);
  }

  .showcase-card.one {
    left: 4%;
  }

  .showcase-card.two {
    right: 3%;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 1160px);
  }

  .links {
    gap: 6px;
  }

  .links a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  h1,
  .page-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .hero-logo {
    width: 178px;
    border-radius: 30px;
  }

  .hero-showcase {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-showcase::before,
  .hero-showcase::after {
    display: none;
  }

  .showcase-main,
  .showcase-card {
    position: static;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .section {
    padding: 58px 0;
  }

  .product-strip,
  .screenshot-wall,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .product-strip img,
  .screenshot-wall img,
  .phone-frame img {
    height: auto;
  }

  .panel,
  .card-body {
    padding: 24px;
  }
}
