:root {
  color-scheme: dark;
  --bg: #0c0e17;
  --surface: #11131c;
  --surface-soft: #191b24;
  --surface-card: rgba(29, 31, 41, 0.64);
  --surface-strong: rgba(25, 29, 40, 0.88);
  --line: rgba(125, 244, 255, 0.14);
  --line-strong: rgba(125, 244, 255, 0.36);
  --text: #e9f7fb;
  --muted: #b9cacb;
  --dim: #849495;
  --cyan: #7df4ff;
  --cyan-strong: #00dbe9;
  --purple: #ad00fe;
  --purple-soft: #e5b4ff;
  --orange: #ff6b2c;
  --max: 1280px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 14%, rgba(0, 219, 233, 0.13), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(173, 0, 254, 0.1), transparent 28rem),
    linear-gradient(180deg, #0f111b 0%, #11131c 48%, #090b12 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.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;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 64px;
  border-bottom: 1px solid rgba(132, 148, 149, 0.18);
  background: rgba(12, 14, 23, 0.72);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.legal-nav {
  grid-template-columns: 1fr auto;
}

.brand-mark,
.footer-logo {
  width: max-content;
  color: var(--cyan);
  font-family: "Sora", "Microsoft YaHei", sans-serif;
  font-size: 23px;
  font-weight: 800;
  font-style: italic;
  text-shadow: 0 0 18px rgba(125, 244, 255, 0.45);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 21px 0 18px;
}

.main-nav a:hover,
.main-nav .active {
  color: #fff;
}

.main-nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box input {
  width: 192px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: rgba(50, 52, 62, 0.55);
  color: var(--text);
  padding: 0 38px 0 16px;
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--dim);
}

.search-box .material-symbols-outlined {
  position: absolute;
  top: 6px;
  right: 12px;
  color: var(--muted);
  font-size: 18px;
}

.download-pill {
  min-width: 92px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(125, 244, 255, 0.19);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.site-main {
  padding-top: 64px;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(125, 244, 255, 0.045) 47% 49%, transparent 49%),
    repeating-linear-gradient(90deg, rgba(125, 244, 255, 0.026) 0 1px, transparent 1px 118px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}

.hero-glow {
  position: absolute;
  width: min(760px, 80vw);
  height: min(760px, 80vw);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 219, 233, 0.18), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  justify-self: center;
  max-width: 1060px;
  grid-column: 1 / 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(125, 244, 255, 0.32);
  border-radius: 999px;
  background: rgba(125, 244, 255, 0.11);
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow .material-symbols-outlined {
  font-size: 17px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.16;
}

.hero h1 {
  margin: 0 auto 20px;
  max-width: 1060px;
  color: #fff;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--cyan);
  font-style: italic;
  text-shadow: 0 0 24px rgba(125, 244, 255, 0.68);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 0 30px;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(100deg, var(--cyan-strong), var(--cyan) 42%, var(--purple));
  color: #01262a;
  box-shadow: 0 0 34px rgba(0, 219, 233, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%) skewX(-16deg);
  background: rgba(255, 255, 255, 0.25);
  transition: transform 0.65s ease;
}

.btn-primary:hover::before {
  transform: translateX(105%) skewX(-16deg);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-ghost,
.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(29, 31, 41, 0.62);
  color: #fff;
  backdrop-filter: blur(12px);
}

.trust-icons {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(185, 202, 203, 0.68);
}

.trust-icons .material-symbols-outlined {
  font-size: 34px;
}

.section {
  padding: 72px 0;
}

.section-benefits {
  margin-top: -46px;
  padding-top: 72px;
}

.section-games {
  background: #0c0e17;
}

.section-guide {
  background: linear-gradient(180deg, rgba(25, 27, 36, 0.86), rgba(12, 14, 23, 0.96));
}

.section-friends {
  background: #0c0e17;
}

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

.section-head.center {
  text-align: center;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-head h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

.section-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.title-line {
  display: block;
  width: 78px;
  height: 6px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(125, 244, 255, 0.55);
}

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

.benefit-card,
.game,
.legal-box,
.guide-list article {
  border: 1px solid var(--line);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.benefit-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 244, 255, 0.38);
}

.benefit-card.featured {
  border-top: 2px solid var(--purple-soft);
}

.benefit-card h3,
.benefit-card p,
.benefit-top {
  padding-left: 32px;
  padding-right: 32px;
}

.benefit-top {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(125, 244, 255, 0.055);
  border-bottom: 1px solid rgba(132, 148, 149, 0.16);
}

.benefit-top .material-symbols-outlined {
  color: var(--cyan);
  font-size: 48px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 48;
}

.featured .benefit-top .material-symbols-outlined {
  color: var(--purple-soft);
}

.benefit-top em {
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #022023;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.featured .benefit-top em {
  background: var(--purple-soft);
  color: #30004b;
}

.benefit-card h3 {
  margin-top: -38px;
  font-size: 22px;
}

.benefit-card p {
  min-height: 58px;
  margin: 10px 0 24px;
  color: var(--muted);
}

.compare {
  min-height: 54px;
  margin: 0 32px 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--radius);
  color: var(--cyan);
  font-weight: 800;
}

.compare.good {
  border: 1px solid rgba(125, 244, 255, 0.24);
  background: rgba(125, 244, 255, 0.09);
}

.compare.purple {
  border: 1px solid rgba(229, 180, 255, 0.26);
  background: rgba(229, 180, 255, 0.1);
  color: var(--purple-soft);
}

.compare.muted {
  margin-bottom: 28px;
  color: rgba(185, 202, 203, 0.56);
  background: rgba(50, 52, 62, 0.22);
}

.compare.muted strong {
  font-weight: 500;
  text-decoration: line-through;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  font-weight: 800;
}

.text-link .material-symbols-outlined {
  font-size: 20px;
}

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

.game {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  border-color: rgba(132, 148, 149, 0.18);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.game:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 244, 255, 0.42);
}

.poster {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(0, 219, 233, 0.82), transparent 36%),
    linear-gradient(320deg, rgba(173, 0, 254, 0.72), transparent 42%),
    #182032;
}

.game:nth-child(2) .poster {
  background:
    linear-gradient(150deg, rgba(229, 180, 255, 0.8), transparent 38%),
    linear-gradient(320deg, rgba(0, 219, 233, 0.55), transparent 42%),
    #1e2130;
}

.game:nth-child(3) .poster {
  background:
    linear-gradient(150deg, rgba(255, 107, 74, 0.72), transparent 36%),
    linear-gradient(320deg, rgba(0, 219, 233, 0.66), transparent 42%),
    #161829;
}

.game:nth-child(4) .poster {
  background:
    linear-gradient(150deg, rgba(255, 179, 92, 0.78), transparent 36%),
    linear-gradient(320deg, rgba(17, 19, 28, 0.9), transparent 48%),
    #1b1722;
}

.game:nth-child(5) .poster {
  background:
    linear-gradient(150deg, rgba(125, 244, 255, 0.72), transparent 36%),
    linear-gradient(320deg, rgba(255, 179, 92, 0.7), transparent 42%),
    #17281f;
}

.game:nth-child(6) .poster {
  background:
    linear-gradient(150deg, rgba(132, 148, 149, 0.7), transparent 36%),
    linear-gradient(320deg, rgba(255, 107, 74, 0.5), transparent 42%),
    #17191f;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 22% 18%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transform: skew(-8deg);
}

.poster img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 6px;
  background: linear-gradient(120deg, #ff8a34, #f0441f);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 8px 18px rgba(240, 68, 31, 0.32);
}

.game-body {
  padding: 12px 2px 2px;
}

.game h3 {
  font-size: 15px;
  color: #fff;
}

.game p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.55fr;
  gap: 44px;
  align-items: start;
}

.guide-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(125, 244, 255, 0.24);
  border-radius: 999px;
  background: rgba(125, 244, 255, 0.08);
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.guide-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.guide-points div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(125, 244, 255, 0.14);
  border-radius: 12px;
  background: rgba(29, 31, 41, 0.5);
}

.guide-points strong {
  color: var(--cyan);
  font-size: 13px;
}

.guide-points span {
  color: var(--muted);
  font-size: 14px;
}

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

.guide-list article {
  min-height: 238px;
  padding: 22px;
  border-radius: 14px;
}

.guide-list span {
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.guide-list h3 {
  margin: 12px 0 10px;
  font-size: 19px;
}

.guide-list p {
  margin: 0;
  color: var(--muted);
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.guide-tags em {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(125, 244, 255, 0.09);
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.friend-grid a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(125, 244, 255, 0.14);
  border-radius: 12px;
  background: rgba(29, 31, 41, 0.56);
  color: var(--muted);
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.friend-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 244, 255, 0.38);
  color: var(--cyan);
}

.footer {
  padding: 54px 0 72px;
  border-top: 1px solid rgba(132, 148, 149, 0.14);
  background: #090b12;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

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

.socials {
  display: flex;
  gap: 16px;
}

.socials span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(132, 148, 149, 0.46);
  border-radius: 999px;
  color: var(--muted);
}

.copyright {
  max-width: 640px;
  margin: 0;
  color: var(--dim);
  font-size: 12px;
}

.mobile-tabbar {
  display: none;
}

.legal-page {
  min-height: 100vh;
  padding: 100px 0 84px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.doc-sidebar h2 {
  padding: 28px 26px;
  border-bottom: 1px solid rgba(132, 148, 149, 0.16);
  background: rgba(125, 244, 255, 0.055);
  font-size: 20px;
}

.doc-sidebar a {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  color: var(--muted);
  font-weight: 700;
  border-right: 4px solid transparent;
}

.doc-sidebar a:hover,
.doc-sidebar a.active {
  color: var(--cyan);
  background: rgba(125, 244, 255, 0.1);
  border-right-color: var(--cyan);
}

.doc-sidebar .material-symbols-outlined {
  font-size: 22px;
}

.legal-box {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 18px;
}

.legal-content h1 {
  font-size: clamp(30px, 4vw, 42px);
}

.legal-date {
  margin-top: 10px;
  font-style: italic;
}

.legal-content h2 {
  margin-top: 34px;
  color: var(--cyan);
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.25em;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto 1fr;
  }

  .main-nav,
  .search-box {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    display: block;
  }

  .hero-copy {
    grid-column: auto;
  }

  .benefit-grid,
  .guide-grid,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .topbar,
  .nav-wrap {
    height: 58px;
  }

  .brand-mark {
    font-size: 21px;
  }

  .download-pill {
    min-width: 86px;
  }

  .site-main {
    padding-top: 58px;
  }

  .hero {
    min-height: 590px;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  }

  .hero h1 {
    margin-top: 0;
    font-size: 42px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trust-icons {
    margin-top: 36px;
  }

  .section {
    padding: 52px 0;
  }

  .section-benefits {
    margin-top: -28px;
    padding-top: 54px;
  }

  .section-head.split {
    display: block;
  }

  .text-link {
    margin-top: 16px;
  }

  .benefit-grid,
  .guide-list {
    grid-template-columns: 1fr;
  }

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

  .benefit-card h3,
  .benefit-card p,
  .benefit-top {
    padding-left: 22px;
    padding-right: 22px;
  }

  .compare {
    margin-left: 22px;
    margin-right: 22px;
  }

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

  .footer {
    padding-bottom: 92px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-top: 1px solid rgba(132, 148, 149, 0.2);
    border-radius: 18px 18px 0 0;
    background: rgba(29, 31, 41, 0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 30px rgba(0, 219, 233, 0.08);
  }

  .mobile-tabbar a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 3px;
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
  }

  .mobile-tabbar a.active {
    color: var(--cyan);
  }

  .mobile-tabbar em {
    font-style: normal;
  }

  .legal-page {
    padding-top: 82px;
  }
}
