/* 掼友赛务 · 宣传官网
   纯静态样式，无外部字体 / 图标 / CDN 依赖 */

:root {
  --bg: #071a13;
  --bg-soft: #0a2319;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f7f4;
  --muted: #98b3a6;
  --muted-2: #6f8c80;
  --green: #2fd6a0;
  --green-deep: #0b6b53;
  --green-dim: rgba(47, 214, 160, 0.12);
  --gold: #e0b061;
  --gold-dim: rgba(224, 176, 97, 0.13);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 4%, rgba(47, 214, 160, 0.13), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(224, 176, 97, 0.07), transparent 34%),
    radial-gradient(circle at 50% 96%, rgba(11, 107, 83, 0.16), transparent 46%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 26, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 26, 19, 0.92); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16b586, #0b6b53);
  color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(22, 181, 134, 0.32);
}
.brand-mark.small { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; letter-spacing: .5px; line-height: 1.25; }
.brand-en { font-size: 9px; letter-spacing: 2.2px; color: var(--muted-2); font-weight: 600; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--green); }

.header-actions { display: flex; gap: 10px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #2fd6a0, #14a67b);
  color: #04170f; box-shadow: 0 8px 22px rgba(47, 214, 160, .22);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(47, 214, 160, .34); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { background: var(--panel-strong); }
.btn-outline { border-color: rgba(47, 214, 160, .42); color: var(--green); background: rgba(47, 214, 160, .06); }
.btn-outline:hover { background: rgba(47, 214, 160, .13); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
  cursor: pointer; padding: 11px 9px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center;
  padding: 84px 0 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
  color: var(--green); text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(47,214,160,.14); }

.hero h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.24; letter-spacing: -1px; margin-bottom: 24px; font-weight: 800; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2fd6a0 8%, #9ae6c4 48%, #e0b061 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 32px; color: var(--muted-2); font-size: 12.5px; flex-wrap: wrap; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.hero-visual { position: relative; padding: 18px 0 34px 10px; }
.visual-card {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.visual-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.025);
}
.visual-logo { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.visual-chip { font-size: 11px; color: var(--green); background: var(--green-dim); border: 1px solid rgba(47,214,160,.22); padding: 4px 10px; border-radius: 20px; }
.visual-body { padding: 22px 20px 16px; }
.visual-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.visual-title { font-size: 19px; font-weight: 700; }
.visual-caption { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.timer-box { text-align: right; flex: none; }
.timer-label { display: block; font-size: 10.5px; color: var(--muted-2); }
.timer-box strong { display: block; font-size: 22px; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: 1px; line-height: 1.3; }

.rank-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rank-table th { text-align: left; color: var(--muted-2); font-weight: 500; font-size: 11px; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.rank-table td { padding: 11px 8px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-table td:nth-child(2) { color: var(--text); font-weight: 600; }
.rank-table tr:last-child td { border-bottom: none; }
.rank-first td:nth-child(2) { color: var(--gold); }
.rank-no { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 6px; background: rgba(255,255,255,.06); font-size: 11px; }
.rank-no.gold { background: var(--gold-dim); color: var(--gold); }
.visual-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted-2); }
.visual-foot-right { margin-left: auto; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,214,160,.14); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(12, 38, 28, .94); box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
}
.float-chip strong { display: block; font-size: 12.5px; }
.float-chip small { display: block; font-size: 10.5px; color: var(--muted-2); }
.chip-icon { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.chip-icon.green { background: var(--green-dim); color: var(--green); }
.chip-icon.gold { background: var(--gold-dim); color: var(--gold); letter-spacing: -.5px; }
.chip-a { top: 4px; right: -18px; }
.chip-b { bottom: 0; left: -18px; }

/* ---------- Stat band ---------- */
.stat-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.018); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--green); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.005)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.35; letter-spacing: -.5px; margin-bottom: 16px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.eyebrow { margin-bottom: 16px; }

.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card {
  padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: border-color .25s, transform .25s;
}
.pain-card:hover { border-color: rgba(224,176,97,.4); transform: translateY(-4px); }
.pain-num { display: block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 2px; margin-bottom: 18px; }
.pain-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.pain-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover { border-color: rgba(47,214,160,.4); transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dim); color: var(--green); border: 1px solid rgba(47,214,160,.18);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; margin-bottom: 11px; }
.feature-card p { font-size: 13.8px; color: var(--muted); margin: 0; }

/* ---------- Flow ---------- */
.flow-list { position: relative; max-width: 900px; margin: 0 auto; }
.flow-list::before { content: ''; position: absolute; left: 79px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg, transparent, rgba(47,214,160,.4) 12%, rgba(47,214,160,.4) 88%, transparent); }
.flow-item { display: grid; grid-template-columns: 70px 40px 1fr; gap: 24px; align-items: start; padding-bottom: 34px; position: relative; }
.flow-item:last-child { padding-bottom: 0; }
.flow-step { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--muted-2); padding-top: 15px; text-align: right; }
.flow-dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border: 1px solid rgba(47,214,160,.45); color: var(--green); font-weight: 800; font-size: 15px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.flow-content { padding: 8px 0 0 4px; }
.flow-content h3 { font-size: 19px; margin-bottom: 8px; }
.flow-content p { color: var(--muted); font-size: 14px; margin: 0; max-width: 640px; }

/* ---------- Ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.eco-flow { display: flex; flex-direction: column; gap: 0; }
.eco-node { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--panel); }
.eco-node-center { border-color: rgba(47,214,160,.4); background: linear-gradient(140deg, rgba(47,214,160,.10), rgba(255,255,255,.02)); }
.eco-node-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eco-badge { font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-dim); border: 1px solid rgba(47,214,160,.2); padding: 3px 10px; border-radius: 20px; }
.eco-tag { font-size: 11px; color: var(--muted-2); }
.eco-node h3 { font-size: 17px; margin-bottom: 7px; }
.eco-node p { font-size: 13.3px; color: var(--muted); margin: 0; }
.eco-link { display: flex; align-items: center; gap: 12px; padding: 12px 26px; }
.eco-link span { flex: 1; height: 1px; background: var(--line); }
.eco-link i { font-style: normal; font-size: 11px; color: var(--muted-2); letter-spacing: 1px; }
.eco-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eco-half { padding: 22px; }

.eco-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(170deg, rgba(224,176,97,.07), rgba(255,255,255,.02)); }
.eco-side h3 { font-size: 18px; margin-bottom: 20px; }
.scene-list li { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.scene-list li:last-child { border-bottom: none; }
.scene-list span { display: block; font-size: 14.5px; font-weight: 600; }
.scene-list small { display: block; font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.eco-note { margin-top: 22px; padding: 18px; border-radius: 12px; background: rgba(47,214,160,.07); border: 1px solid rgba(47,214,160,.18); }
.eco-note strong { font-size: 13.5px; color: var(--green); }
.eco-note p { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--green); border-radius: 2px; transition: transform .25s; }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item p { padding: 0 40px 22px 4px; margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 100px; }
.cta-card {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 52px 56px; border-radius: 26px; border: 1px solid rgba(47,214,160,.26);
  background:
    radial-gradient(circle at 88% 20%, rgba(224,176,97,.12), transparent 38%),
    linear-gradient(135deg, rgba(47,214,160,.11), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.cta-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.35; margin-bottom: 14px; font-weight: 800; }
.cta-copy p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-qr { text-align: center; }
.qr-frame {
  width: 168px; height: 168px; padding: 10px; border-radius: 16px;
  background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.34);
  display: flex; align-items: center; justify-content: center;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-placeholder { width: 100%; height: 100%; border-radius: 9px; background: linear-gradient(135deg, #0b6b53, #071a13); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.qr-mark { font-size: 40px; font-weight: 800; line-height: 1; }
.qr-placeholder-hint { font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,.62); }
.qr-caption { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 38px 0; background: rgba(0,0,0,.18); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 15px; }
.footer-brand p { margin: 0; font-size: 11.5px; color: var(--muted-2); }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { font-size: 12.5px; color: var(--muted); }
.footer-links a:hover { color: var(--green); }
.footer-meta { width: 100%; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--muted-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .hero { gap: 36px; }
  .chip-a { right: -6px; }
  .chip-b { left: -6px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 20px;
    background: rgba(7,26,19,.98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; padding: 64px 0 80px; }
  .hero-visual { max-width: 560px; padding-left: 0; }
  .visual-card { transform: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .pain-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .cta-card { padding: 40px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .header-inner { height: 66px; }
  .nav { top: 66px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .float-chip { padding: 9px 12px; }
  .chip-a { top: -12px; right: -4px; }
  .chip-b { bottom: -12px; left: -4px; }
  .stat strong { font-size: 25px; }
  .pain-grid, .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .flow-list::before { left: 19px; }
  .flow-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .flow-step { display: none; }
  .flow-dot { grid-column: 1; }
  .flow-content { grid-column: 2; padding-top: 6px; }
  .eco-row { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-qr { margin-top: 12px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
