:root {
  --ink: #f8fafc;
  --muted: #c8d1dc;
  --paper: #fff8e6;
  --black: #09090d;
  --panel: rgba(18, 19, 24, 0.88);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #f7c44c;
  --gold-strong: #ff9f1c;
  --red: #e9363f;
  --teal: #20d4c7;
  --violet: #7c4dff;
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(233, 54, 63, 0.24), transparent 28rem),
    linear-gradient(135deg, #111111 0%, #251316 42%, #0d2829 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(8, 8, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 152px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #231200;
  background: linear-gradient(135deg, #ffe28a, #ff9f1c 52%, #e9363f);
  box-shadow: 0 0 22px rgba(247, 196, 76, 0.45);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #f4e7bf;
  font-size: 15px;
}

.nav-links a {
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--gold);
}

.header-cta,
.btn,
.download-buttons button,
.download-buttons a,
.game-card button {
  cursor: pointer;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
}

.header-cta {
  padding: 11px 18px;
  color: #261000;
  background: linear-gradient(135deg, #ffe28a, #ff9f1c);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(610px, 88vh, 820px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 6, 10, 0.95) 0%, rgba(12, 10, 12, 0.74) 38%, rgba(12, 10, 12, 0.2) 72%),
    linear-gradient(0deg, rgba(10, 9, 10, 0.92), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 530px;
  color: #f1e8d4;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 48px;
  padding: 14px 22px;
}

.btn-primary {
  color: #2b1300;
  background: linear-gradient(135deg, #ffe28a, #ff9f1c);
  box-shadow: 0 18px 42px rgba(255, 159, 28, 0.25);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span {
  min-width: 128px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
}

.notice-band,
.trust-band,
.section,
.promo-section,
.start-section,
.station-section,
.site-footer {
  padding-left: clamp(20px, 6vw, 84px);
  padding-right: clamp(20px, 6vw, 84px);
}

.notice-band {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  background: linear-gradient(90deg, #e9363f, #ff9f1c);
  color: #1b0900;
  font-weight: 700;
}

.notice-band span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.notice-band p {
  margin: 0;
}

.section {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.compact {
  background: #100f12;
}

.station-section {
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: clamp(56px, 7vw, 92px);
  background:
    radial-gradient(circle at 20% 0%, rgba(31, 180, 161, 0.18), transparent 28rem),
    linear-gradient(135deg, #102d3d, #0b2130 58%, #123b4d);
}

.station-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.station-head p:not(.eyebrow) {
  color: #c9d8df;
  line-height: 1.7;
}

.station-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.65fr);
  gap: 14px;
}

.station-feature,
.station-item,
.action-card {
  color: inherit;
  text-decoration: none;
}

.station-feature {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 254px;
  padding: 28px;
  border: 1px solid rgba(247, 196, 76, 0.54);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7, 24, 36, 0.98), rgba(8, 34, 50, 0.94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.rank-badge,
.hot-badge {
  position: absolute;
  top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.rank-badge {
  left: 16px;
  color: #1f1200;
  background: #f7c44c;
}

.hot-badge {
  right: 16px;
  color: #fff;
  background: #d92d36;
}

.station-logo {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #22d1be, #6bd64d);
  box-shadow: inset 0 0 0 8px rgba(0, 0, 0, 0.12);
  font-size: 30px;
  font-weight: 900;
}

.station-logo.big {
  width: 128px;
  height: 128px;
  font-size: 44px;
}

.station-logo.blue {
  background: linear-gradient(135deg, #1776d2, #79c5ff);
}

.station-logo.green {
  background: linear-gradient(135deg, #0d6d4d, #20e584);
}

.station-logo.sky {
  background: linear-gradient(135deg, #1f5d9c, #55b7ff);
}

.station-logo.lime {
  background: linear-gradient(135deg, #111, #35e06c);
}

.station-info strong,
.station-info em,
.station-info small,
.station-info b,
.station-item strong,
.station-item em,
.station-item small {
  display: block;
}

.station-info strong {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 38px);
}

.station-info em,
.station-item em {
  color: #dce8ef;
  font-style: normal;
  font-weight: 800;
}

.station-info small,
.station-item small {
  margin-top: 7px;
  color: #a8bcc7;
  line-height: 1.5;
}

.station-info b {
  margin-top: 12px;
  color: var(--gold);
  font-size: 18px;
}

.station-arrow,
.station-item b {
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
}

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

.station-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(6, 31, 49, 0.92);
}

.station-item strong {
  margin-bottom: 4px;
  font-size: 24px;
}

.station-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.action-card {
  min-height: 142px;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.action-card strong,
.action-card span {
  display: block;
}

.action-card strong {
  margin-bottom: 12px;
  font-size: 22px;
}

.action-card span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.red-action {
  background: linear-gradient(135deg, #ca1830, #8b1225);
}

.purple-action {
  background: linear-gradient(135deg, #7d42e8, #4a2ba1);
}

.amber-action {
  background: linear-gradient(135deg, #e99b10, #c56b08);
}

.green-action {
  background: linear-gradient(135deg, #10a26b, #0a7657);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow),
.promo-copy p:not(.eyebrow),
.download-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

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

.game-card {
  min-height: 272px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.game-card:hover {
  transform: translateY(-4px);
  transition: transform 0.18s ease;
}

.game-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-weight: 900;
}

.game-card p {
  min-height: 58px;
  color: #d7dde4;
  line-height: 1.6;
}

.game-card button,
.download-buttons button,
.download-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  color: #160b02;
  background: var(--paper);
}

.red .game-icon {
  background: #e9363f;
}

.gold .game-icon {
  color: #291300;
  background: #f7c44c;
}

.teal .game-icon {
  color: #001c1a;
  background: #20d4c7;
}

.violet .game-icon {
  background: #7c4dff;
}

.promo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding-top: clamp(68px, 8vw, 110px);
  padding-bottom: clamp(68px, 8vw, 110px);
  background:
    linear-gradient(135deg, rgba(233, 54, 63, 0.2), transparent 42%),
    #181115;
}

.promo-list {
  display: grid;
  gap: 12px;
}

.promo-list article {
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 248, 230, 0.08);
}

.promo-list strong,
.promo-list span {
  display: block;
}

.promo-list strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.promo-list span {
  color: var(--muted);
  line-height: 1.6;
}

.start-section {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
  color: #17120d;
  background: #fff;
}

.start-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.start-head .eyebrow {
  color: #d21726;
}

.start-head p:not(.eyebrow) {
  color: #5f6872;
  line-height: 1.7;
}

.official-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto 18px;
  padding: 22px clamp(20px, 4vw, 34px);
  border: 1px solid #f0d79b;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 226, 138, 0.52), rgba(255, 255, 255, 0.95)),
    #fffdf5;
  box-shadow: 0 16px 38px rgba(35, 18, 0, 0.09);
}

.official-account span,
.official-account strong,
.official-account p {
  display: block;
}

.official-account span {
  color: #d21726;
  font-size: 14px;
  font-weight: 900;
}

.official-account strong {
  margin: 5px 0;
  color: #1a1207;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.official-account p {
  margin: 0;
  color: #5f6872;
}

.official-account button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: #d21726;
  cursor: pointer;
  font-weight: 900;
}

.start-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.start-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(35, 18, 0, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(35, 18, 0, 0.12);
}

.start-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.start-card.primary {
  background: linear-gradient(135deg, #e9363f, #ff9f1c);
}

.start-card.install {
  background: linear-gradient(135deg, #0f7875, #20d4c7 54%, #f7c44c);
  color: #061012;
}

.start-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.26);
  color: #fff8e6;
  font-size: 22px;
  font-weight: 900;
}

.start-card.install .start-number {
  background: rgba(4, 18, 20, 0.18);
  color: #041214;
}

.start-card h3 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
}

.start-card p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}

.start-card.install p {
  color: rgba(4, 18, 20, 0.82);
}

.start-card button,
.start-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: #fff8e6;
  color: #220b00;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}

.mini-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-buttons button,
.mini-buttons a {
  flex: 1 1 140px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 6vw, 64px);
  align-items: center;
  background: #0e1819;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.steps div {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.steps span {
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: #e6edf5;
}

.download-panel {
  padding: 28px;
  border: 1px solid rgba(247, 196, 76, 0.38);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 196, 76, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.panel-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #2c1300;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.download-buttons button {
  flex: 1 1 150px;
  background: linear-gradient(135deg, #ffe28a, #ff9f1c);
}

.download-panel small {
  display: block;
  margin-top: 16px;
  color: #b8c6ce;
  line-height: 1.6;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #29100f;
}

.trust-band div {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 22px;
}

.trust-band span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: #08080b;
}

.site-footer p {
  max-width: 740px;
  margin-bottom: 0;
}

.back-top {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  max-width: min(90vw, 420px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #1b0b00;
  background: #ffe28a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 700;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 10, 13, 0.96);
  }

  .nav-links.is-open a {
    padding: 14px;
  }

  .hero {
    min-height: 720px;
    align-items: flex-end;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 8, 0.16) 0%, rgba(5, 5, 8, 0.62) 42%, rgba(5, 5, 8, 0.97) 100%),
      linear-gradient(90deg, rgba(5, 5, 8, 0.8), transparent 74%);
  }

  .game-grid,
  .promo-section,
  .station-layout,
  .station-list,
  .station-actions,
  .start-actions,
  .split,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .station-feature {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    min-height: 210px;
    padding: 24px 18px;
  }

  .station-logo.big {
    width: 92px;
    height: 92px;
    font-size: 34px;
  }

  .station-actions {
    margin-top: 18px;
  }

  .official-account {
    align-items: stretch;
    flex-direction: column;
  }

  .official-account button {
    width: 100%;
  }

  .notice-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 690px;
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .hero-bg {
    object-position: 60% center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats span {
    flex: 1 1 100%;
  }

  .game-card {
    min-height: 240px;
  }

  .station-feature,
  .station-item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .station-logo,
  .station-logo.big {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    font-size: 26px;
  }

  .station-info strong,
  .station-item strong {
    font-size: 21px;
  }

  .station-info small,
  .station-item small {
    font-size: 13px;
  }

  .rank-badge,
  .hot-badge {
    top: 10px;
  }

  .rank-badge {
    left: 10px;
  }

  .hot-badge {
    right: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
