:root {
  --night: #050816;
  --night-soft: #090f25;
  --panel: #0d142b;
  --panel-light: #121d3b;
  --gold: #ffbd32;
  --gold-dark: #d58c07;
  --blue: #1c83c7;
  --cyan: #65dcff;
  --text: #ffffff;
  --muted: #aeb7cb;
  --line: rgba(255, 255, 255, 0.14);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--night);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  transform: none !important;
}

a {
  color: inherit;
}

.page-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  min-height: 76px;
  background: rgba(3, 6, 18, 0.96);
  border-bottom: 1px solid rgba(101, 220, 255, 0.22);
}

.header-inner {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  max-width: 180px;
  max-height: 46px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions span {
  color: #8995ac;
  font-size: 13px;
}

.header-button {
  min-height: 42px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #251400;
  background: linear-gradient(180deg, #ffd861, #f3a910);
  border: 1px solid #ffe79b;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.6),
    0 9px 25px rgba(255, 177, 28, 0.18);
}

/* Hero */

.download-hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  border-bottom: 1px solid rgba(101, 220, 255, 0.3);
  background: #031613;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 48%, rgba(7, 198, 103, 0.34), transparent 35%),
    linear-gradient(90deg, rgba(3, 18, 16, 0.08), rgba(3, 18, 16, 0.2) 44%, rgba(3, 7, 22, 0.88) 74%),
    linear-gradient(180deg, rgba(3, 18, 16, 0.1), rgba(3, 7, 22, 0.96) 84%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 40px));
  min-height: 710px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(480px, 1.2fr) minmax(380px, 0.8fr);
  align-items: center;
}

.hero-visual {
  position: relative;
  align-self: end;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-visual img {
  width: min(760px, 100%);
  height: auto;
  max-height: 690px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.42));
}

.hero-content {
  max-width: 500px;
  padding: 74px 0;
}

.hero-logo {
  width: auto;
  max-width: 260px;
  max-height: 78px;
  margin-bottom: 25px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero-content h1 strong {
  display: block;
  color: var(--gold);
  font-weight: inherit;
}

.hero-content > p {
  margin: 25px 0 0;
  color: #c5cce0;
  font-size: 16px;
  line-height: 1.8;
}

.primary-actions {
  margin-top: 29px;
  display: grid;
  gap: 12px;
}

.play-button {
  min-height: 102px;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3c2100;
  background:
    linear-gradient(180deg, #fff1a5 0%, #ffc22e 28%, #e89505 72%, #ffc130 100%);
  border: 4px solid #ffdb69;
  border-radius: 19px;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 2px rgba(114, 63, 0, 0.35),
    inset 0 8px 16px rgba(255, 255, 255, 0.5),
    0 16px 34px rgba(255, 170, 10, 0.18);
}

.play-button span {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 1000;
  letter-spacing: 0.02em;
}

.play-button small {
  margin-top: 3px;
  color: rgba(75, 41, 0, 0.82);
  font-weight: 800;
}

.download-button {
  min-height: 78px;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  color: #fff;
  background:
    linear-gradient(180deg, #49b8e9 0%, #176898 49%, #0d355d 100%);
  border: 2px solid #75d5ff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 2px rgba(0, 25, 58, 0.42),
    inset 0 5px 10px rgba(255, 255, 255, 0.22);
}

.download-button:hover,
.play-button:hover,
.header-button:hover {
  filter: brightness(1.08);
}

.button-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(4, 20, 49, 0.55);
  border-radius: 12px;
}

.button-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
}

.download-button small {
  display: block;
  margin-bottom: 3px;
  color: #cdeeff;
  font-size: 12px;
}

.download-button strong {
  display: block;
  font-size: 21px;
}

.availability-note {
  margin-top: 19px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 8px;
  background: #3af0b5;
  border-radius: 50%;
  box-shadow: 0 0 14px #3af0b5;
}

.availability-note p {
  margin: 0;
  color: #8f9bb3;
  font-size: 13px;
  line-height: 1.65;
}

/* Download options */

.download-options {
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 16% 20%, rgba(40, 112, 215, 0.13), transparent 26%),
    #080d1d;
}

.options-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.options-heading {
  position: sticky;
  top: 28px;
}

.options-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.options-heading p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.option-list {
  border-top: 1px solid var(--line);
}

.option-item {
  min-height: 142px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.option-number {
  color: var(--gold);
  font-size: 23px;
  font-weight: 900;
}

.option-item h3 {
  margin: 0;
  font-size: 24px;
}

.option-item p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.option-item > a {
  min-width: 94px;
  min-height: 42px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(101, 220, 255, 0.55);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.option-item > a:hover {
  color: #07101d;
  background: var(--cyan);
}

/* Support */

.support-strip {
  padding: 34px 0;
  background: #050815;
  border-top: 1px solid rgba(101, 220, 255, 0.17);
  border-bottom: 1px solid rgba(101, 220, 255, 0.17);
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
}

.support-copy span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-copy strong {
  font-size: 17px;
}

.certification {
  max-width: 720px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.certification img {
  width: auto;
  max-width: 88px;
  max-height: 68px;
  object-fit: contain;
}

.certification p {
  margin: 0;
  color: #8d97ae;
  font-size: 13px;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 26px 0;
  background: #02040a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner img {
  width: auto;
  max-width: 145px;
  max-height: 38px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  color: #687087;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: minmax(380px, 1fr) minmax(360px, 0.85fr);
  }

  .hero-visual img {
    width: min(600px, 100%);
  }
}

@media (max-width: 860px) {
  .hero-shade {
    background:
      radial-gradient(circle at 50% 68%, rgba(7, 198, 103, 0.26), transparent 42%),
      linear-gradient(180deg, rgba(3, 18, 16, 0.18), rgba(3, 7, 22, 0.98) 68%);
  }

  .hero-inner {
    min-height: auto;
    padding: 46px 0 58px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
    margin-top: 28px;
  }

  .hero-visual img {
    width: min(620px, 100%);
    max-height: none;
  }

  .hero-content {
    max-width: 620px;
    padding: 0;
    text-align: center;
    margin: 0 auto;
  }

  .hero-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .availability-note {
    justify-content: center;
    text-align: left;
  }

  .options-layout {
    grid-template-columns: 1fr;
  }

  .options-heading {
    position: static;
  }

  .support-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .header-inner,
  .hero-inner {
    width: min(100% - 28px, var(--shell));
  }

  .site-header,
  .header-inner {
    min-height: 66px;
  }

  .brand img {
    max-width: 140px;
    max-height: 38px;
  }

  .header-actions > span {
    display: none;
  }

  .header-button {
    min-height: 38px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-logo {
    max-width: 265px;
  }

  .play-button {
    min-height: 88px;
  }

  .play-button span {
    font-size: 34px;
  }

  .download-button {
    min-height: 72px;
  }

  .option-item {
    grid-template-columns: 43px minmax(0, 1fr);
  }

  .option-item > a {
    grid-column: 2;
    width: fit-content;
  }

  .certification {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .certification img {
    max-width: 70px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
