:root {
  --bg: #07070c;
  --elev: rgba(16, 16, 24, 0.72);
  --surface: rgba(22, 22, 32, 0.62);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f6f4ef;
  --muted: #a7a4b5;
  --faint: #6c6a78;
  --pink: #ff2e63;
  --purple: #8b5cf6;
  --gold: #ffc857;
  --gold2: #e89a1c;
  --ok: #34d399;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select { font: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(255, 46, 99, 0.18), transparent 58%),
    radial-gradient(820px 420px at 92% 8%, rgba(139, 92, 246, 0.2), transparent 55%),
    radial-gradient(700px 380px at 50% 110%, rgba(255, 200, 87, 0.1), transparent 60%),
    #07070c;
}
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 72%);
  transform: perspective(700px) rotateX(58deg) translateY(-8%);
  transform-origin: center top;
  animation: gridDrift 22s linear infinite;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(40px);
  mix-blend-mode: screen; opacity: 0.7;
}
.o1 { width: 420px; height: 420px; left: -80px; top: -40px; background: rgba(255, 46, 99, 0.28); animation: orbA 16s ease-in-out infinite; }
.o2 { width: 380px; height: 380px; right: -60px; top: 80px; background: rgba(139, 92, 246, 0.3); animation: orbB 20s ease-in-out infinite; }
.o3 { width: 320px; height: 320px; left: 38%; bottom: -80px; background: rgba(255, 200, 87, 0.16); animation: orbC 18s ease-in-out infinite; }

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 72px; }
}
@keyframes orbA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes orbB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.12); }
}
@keyframes orbC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

.nav, .hero, .section, .page-hero, .footer { position: relative; z-index: 1; }

.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 12, 0.62);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; }
.logo {
  width: 40px; height: 40px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.4), 0 8px 20px rgba(139, 92, 246, 0.28);
}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 12px; background: rgba(255,255,255,0.04);
  cursor: pointer; place-items: center; gap: 5px; flex-direction: column;
}
.nav-toggle span {
  display: block; width: 16px; height: 1.6px; border-radius: 2px;
  background: #f4f4f7; transition: transform .2s ease, opacity .2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.nav-mask { display: none; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  margin-left: 8px;
  padding: 8px 16px !important;
  color: #1a1204 !important;
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
}

.hero { padding: 80px 0 36px; }
.hero-stage {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: #e9c36a; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
}
.kicker-icon { width: 28px; height: 28px; border-radius: 8px; }
h1, .page-title {
  margin: 14px 0 16px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.06; letter-spacing: -0.035em;
}
.page-title { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 8px; }
.grad {
  background: linear-gradient(135deg, #ffe08a, #ff2e63 55%, #8b5cf6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 0 0 28px; color: var(--muted); font-size: 18px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0;
  font-size: 15px; font-weight: 800; cursor: pointer;
}
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-gold { color: #1a1204; background: linear-gradient(135deg, #ffe08a, #e89a1c); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--pink), var(--purple)); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
}
.btn-wide { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span {
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--stroke); background: rgba(0,0,0,0.25);
  color: var(--muted); font-size: 12px;
}
.chips b { color: var(--text); font-weight: 700; }

.hero-mark {
  position: relative; display: grid; place-items: center; min-height: 420px;
}
.ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255, 200, 87, 0.18);
}
.r1 { width: 320px; height: 320px; animation: spin 22s linear infinite; }
.r2 { width: 400px; height: 400px; border-color: rgba(139, 92, 246, 0.2); animation: spin 34s linear infinite reverse; }
.float-icon {
  position: relative; width: min(260px, 70vw); height: auto; border-radius: 58px;
  box-shadow:
    0 0 0 1px rgba(255, 205, 90, 0.4),
    0 30px 80px rgba(124, 58, 237, 0.38),
    0 12px 30px rgba(0, 0, 0, 0.5);
  animation: float 5.6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section { padding: 64px 0; }
.section-tight { padding-top: 8px; }
.section-end { padding-bottom: 20px; }
.sec-head { margin-bottom: 28px; }
.sec-head h2, .section h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.03em; }
.sub { margin: 0; color: var(--muted); }

.glass {
  background: var(--surface);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.bento, .timeline, .plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat, .step, .plat {
  padding: 24px; border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feat:hover, .step:hover, .plat:hover { transform: translateY(-4px); border-color: rgba(255, 200, 87, 0.28); }
.feat h3, .step h3 { margin: 12px 0 8px; font-size: 18px; }
.plat h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.feat p, .step p { margin: 0; color: var(--muted); font-size: 14px; }
.icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,200,87,0.16), rgba(139,92,246,0.18));
  color: #ffe08a; font-weight: 800;
}
.step span { color: var(--gold); font-weight: 800; letter-spacing: 0.1em; font-size: 13px; }

.plat { display: flex; flex-direction: column; gap: 10px; }
.plat.hit { border-color: rgba(255, 200, 87, 0.45); box-shadow: 0 0 0 1px rgba(255,200,87,.16); }
.other-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plat .ver { min-height: 22px; color: var(--muted); font-size: 14px; }
.plat-grid-space { margin-top: 28px; }

.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: 22px;
}
.cta-panel img { width: 56px; height: 56px; border-radius: 16px; }
.cta-panel h3 { margin: 0 0 6px; }
.cta-panel p { margin: 0; color: var(--muted); }

.page-hero { padding: 48px 0 8px; text-align: center; }
.page-hero-inner { display: grid; justify-items: center; }
.page-icon {
  width: 96px; height: 96px; border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255,200,87,0.35), 0 18px 40px rgba(124,58,237,0.28);
}

.dl-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.dl-card, .side-card { padding: 26px; border-radius: 22px; }
.dl-card.hit { border-color: rgba(255, 200, 87, 0.45); }
.side-card h3 { margin: 0 0 12px; }
.side-note { margin-top: 18px; color: var(--muted); }
.side-note a { color: #e9c36a; }
.tag { font-size: 12px; color: var(--gold); font-weight: 800; letter-spacing: 0.06em; }
.ver { color: var(--muted); font-size: 14px; }
.changelog {
  margin-top: 16px; padding: 14px; border-radius: 12px;
  background: rgba(0,0,0,0.22); color: var(--muted); font-size: 13px; white-space: pre-wrap;
}
.others { display: grid; gap: 12px; }
.other {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid var(--stroke);
}
.dl-icon {
  width: 72px; height: 72px; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.32), 0 10px 24px rgba(124, 58, 237, 0.22);
  margin-bottom: 10px;
}

.help-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
input.search, select.cat {
  min-height: 46px; padding: 0 14px; border-radius: 14px;
  border: 1px solid var(--stroke); background: var(--surface); color: var(--text); font-size: 14px;
}
input.search { flex: 1; min-width: 220px; }
.faq { border-radius: 16px; overflow: hidden; }
.faq + .faq { margin-top: 10px; }
.faq-q {
  width: 100%; text-align: left; padding: 16px 18px;
  background: transparent; color: var(--text); border: 0; font-size: 16px; font-weight: 700; cursor: pointer;
}
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 14px; white-space: pre-wrap; }
.faq.open .faq-a { display: block; }
.empty { padding: 40px 0; color: var(--faint); text-align: center; }
.help-extra { margin-top: 20px; padding: 20px 22px; border-radius: 18px; }
.help-extra p { margin: 8px 0 0; color: var(--muted); }
.help-extra a { color: #e9c36a; }

.legal-switch {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px;
}
.legal-switch a {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--stroke); color: var(--muted); font-size: 13px;
}
.legal-switch a.active, .legal-switch a:hover {
  color: #1a1204; background: linear-gradient(135deg, var(--gold), var(--gold2)); border-color: transparent;
}
.legal-wrap { width: min(820px, calc(100% - 40px)); }
.legal-lead {
  padding: 22px 24px; border-radius: 20px; margin-bottom: 18px;
}
.legal-lead p { margin: 0; color: var(--muted); font-size: 15px; }
.legal-sec {
  padding: 20px 22px 22px; border-radius: 18px; margin-bottom: 12px;
}
.legal-sec h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; font-size: 17px; letter-spacing: 0;
}
.legal-n {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a1204; font-size: 11px; font-weight: 800;
}
.legal-lead a, .legal-sec a { color: #e9c36a; }
.legal-sec p, .legal-sec li { color: var(--muted); font-size: 14px; }
.legal-sec p { margin: 0 0 10px; }
.legal-sec p:last-child, .legal-sec ul:last-child { margin-bottom: 0; }
.legal-sec ul { margin: 0; padding-left: 1.2em; }
.legal-sec li + li { margin-top: 6px; }
.legal-end { text-align: center; color: var(--faint); font-size: 12px; padding: 18px 0 8px; }

.footer {
  margin-top: 36px; padding: 28px 0 40px;
  border-top: 1px solid var(--stroke); color: var(--faint); font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.foot-icon { width: 18px; height: 18px; border-radius: 5px; vertical-align: -3px; margin-right: 6px; }

.reveal { animation: rise 0.8s ease both; }
.delay { animation-delay: 0.12s; }
.delay2 { animation-delay: 0.22s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-stage, .dl-grid, .bento, .timeline, .plat-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-mark { min-height: 300px; }
  .r2 { display: none; }
  .nav-toggle { display: flex; z-index: 3; }
  .nav-mask {
    position: fixed; inset: 0; z-index: 1;
    background: rgba(0, 0, 0, 0.46);
  }
  .nav.open .nav-mask { display: block; }
  .nav-links {
    display: none;
    position: absolute; z-index: 2;
    top: calc(100% + 10px); left: 16px; right: 16px;
    padding: 10px;
    flex-direction: column; align-items: stretch; gap: 4px;
    border-radius: 20px;
    background: rgba(16, 16, 24, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 50px rgba(0,0,0,0.45);
    backdrop-filter: blur(18px);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 13px 14px; border-radius: 14px; text-align: left; font-size: 15px;
  }
  .nav-links a.active {
    color: #ffe08a; background: rgba(255, 200, 87, 0.12);
  }
  .nav-cta {
    margin: 6px 0 0; text-align: center !important;
    min-height: 46px; display: grid; place-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .stage-grid, .float-icon, .ring, .reveal { animation: none !important; }
}
