/* ============================================================
   Joybola — Editorial Casino "杂志白" 设计系统
   设计哲学：白色阅读基底 + Joybola 红(#C8102E)主色，
   金(#F5B301)/绿(#0E7A3D)/蓝(#1B4F9C)/炭黑(#17181C) 功能分区。
   签名元素：扑克花色分隔符、筹码徽章、金币雨浮窗。
   ============================================================ */

:root {
  --red: #C8102E;
  --red-dark: #9E0C24;
  --red-soft: #FBEAED;
  --gold: #F5B301;
  --gold-dark: #C78F00;
  --gold-soft: #FEF6E0;
  --green: #0E7A3D;
  --green-soft: #E7F4EC;
  --blue: #1B4F9C;
  --blue-soft: #E8F0FA;
  --ink: #17181C;
  --ink-2: #3A3D45;
  --ink-3: #6B6F7A;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --line: #ECE9E2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05), 0 2px 8px rgba(23, 24, 28, .05);
  --shadow-md: 0 4px 14px rgba(23, 24, 28, .08), 0 12px 32px rgba(23, 24, 28, .07);
  --shadow-lg: 0 10px 28px rgba(23, 24, 28, .12), 0 24px 60px rgba(23, 24, 28, .10);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; transition: color .18s var(--ease-out); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { line-height: 1.28; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin-bottom: 1.05em; color: var(--ink-2); }
ul, ol { color: var(--ink-2); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--ink);
  color: #D9D5CC;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar .age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 20px; border: 1.5px solid var(--red); border-radius: 5px;
  color: #fff; font-weight: 800; font-size: 11px; background: var(--red); padding: 0 5px;
}
.topbar a { color: #F0EDE6; margin-left: 16px; }
.topbar a:hover { color: var(--gold); }

/* ---------- 页头 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 1px 0 rgba(23,24,28,.02);
}
.site-header .container { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand .wordmark { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.brand .wordmark .joy { color: var(--red); }
.brand .wordmark .bola { color: var(--ink); }
.brand .wordmark .bet { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .34em; color: var(--gold-dark); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--ink-2); font-weight: 600; font-size: 14.5px;
  padding: 9px 13px; border-radius: 8px; position: relative; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); background: var(--red-soft); }

.header-actions { display: flex; gap: 10px; margin-left: 8px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 11px; border: none; cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .2s var(--ease-out), background .18s;
  text-align: center; line-height: 1.3;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff !important; box-shadow: 0 4px 14px rgba(200,16,46,.28); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(200,16,46,.36); color: #fff; }
.btn-outline { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff !important; }
.btn-gold { background: linear-gradient(135deg, #FFD34D, var(--gold)); color: var(--ink) !important; box-shadow: 0 4px 14px rgba(245,179,1,.35); }
.btn-gold:hover { box-shadow: 0 6px 22px rgba(245,179,1,.5); color: var(--ink); }
.btn-sm { padding: 9px 17px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 15px 32px; font-size: 16.5px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 9px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease-out); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--white) 0%, var(--paper) 60%, var(--gold-soft) 130%); padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: "♠ ♥ ♦ ♣"; position: absolute; right: -30px; top: 18px;
  font-size: 130px; letter-spacing: 30px; color: rgba(200,16,46,.045); white-space: nowrap;
  pointer-events: none; font-weight: 800;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 13px;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px; letter-spacing: .02em;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: 18px; color: var(--ink-2); margin-bottom: 28px; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.hero-media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2.5px solid var(--gold); border-radius: 22px; opacity: .5;
}

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 13px;
}
.section-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.section-kicker.red { color: var(--red); }
.section-kicker.gold { color: var(--gold-dark); }
.section-kicker.green { color: var(--green); }
.section-kicker.blue { color: var(--blue); }
.section-head h2 { margin-bottom: 13px; }
.section-head p { font-size: 16.5px; color: var(--ink-3); margin-bottom: 0; }

.suit-divider { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: 15px; margin: 8px 0 0; }
.suit-divider::before, .suit-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #E2DED4; }

.chip-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 18px; color: #fff; font-weight: 800;
  border: 3.5px dashed rgba(255,255,255,.55); box-shadow: inset 0 0 0 2.5px rgba(0,0,0,.08), var(--shadow-sm);
}
.chip-icon.red { background: var(--red); }
.chip-icon.gold { background: var(--gold); color: var(--ink); }
.chip-icon.green { background: var(--green); }
.chip-icon.blue { background: var(--blue); }
.chip-icon.ink { background: var(--ink); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 14px; }
.card .text-link { font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.card .text-link::after { content: "→"; transition: transform .2s var(--ease-out); }
.card .text-link:hover::after { transform: translateX(4px); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 40px; font-weight: 800; color: var(--red); opacity: .16;
  position: absolute; top: 12px; right: 18px; line-height: 1; letter-spacing: -0.04em;
}
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
  margin-bottom: 16px; box-shadow: 0 4px 10px rgba(200,16,46,.3);
}
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { font-size: 14.5px; margin-bottom: 0; color: var(--ink-3); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #2A1218 55%, var(--red-dark) 130%);
  border-radius: 22px; padding: 52px 54px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "♦"; position: absolute; right: 40px; bottom: -46px; font-size: 200px;
  color: rgba(245,179,1,.12); line-height: 1;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #D8D4CC; max-width: 56ch; margin-bottom: 26px; }
.cta-band .hero-cta { margin-bottom: 0; }
.cta-band .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.65); }
.cta-band .btn-outline:hover { background: #fff; color: var(--ink) !important; }

/* ---------- 品牌亮点 ---------- */
.highlight-card { border-top: 4px solid var(--red); }
.highlight-card.gold-top { border-top-color: var(--gold); }
.highlight-card.green-top { border-top-color: var(--green); }
.highlight-card.blue-top { border-top-color: var(--blue); }

/* ---------- 移动端体验 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media img { border-radius: 18px; box-shadow: var(--shadow-md); }
.feature-list { list-style: none; margin-top: 22px; }
.feature-list li { display: flex; gap: 13px; margin-bottom: 16px; align-items: flex-start; }
.feature-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; margin-top: 2px;
}
.feature-list strong { display: block; font-size: 15.5px; color: var(--ink); }
.feature-list span { font-size: 14.5px; color: var(--ink-3); }

/* ---------- 读者评价 ---------- */
.quote-card { display: flex; flex-direction: column; }
.quote-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; margin-bottom: 13px; }
.quote-card blockquote { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.quote-card .avatar.g { background: var(--green); }
.quote-card .avatar.b { background: var(--blue); }
.quote-card .who strong { display: block; font-size: 14.5px; }
.quote-card .who span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 安全板块 ---------- */
.security-band { background: var(--green-soft); border-radius: 22px; padding: 48px 50px; }
.security-band .grid { margin-top: 30px; }
.security-item { display: flex; gap: 15px; align-items: flex-start; }
.security-item .chip-icon { width: 46px; height: 46px; font-size: 19px; margin-bottom: 0; flex-shrink: 0; }
.security-item strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.security-item p { font-size: 14px; margin-bottom: 0; color: var(--ink-3); }

/* ---------- 负责任游戏 ---------- */
.responsible { background: var(--ink); color: #E8E5DE; border-radius: 22px; padding: 52px 54px; position: relative; overflow: hidden; }
.responsible::before { content: "♣"; position: absolute; left: -20px; bottom: -60px; font-size: 210px; color: rgba(255,255,255,.05); }
.responsible h2 { color: #fff; }
.responsible p { color: #C9C5BC; }
.responsible .warn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.responsible .warn-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 20px; }
.responsible .warn-item strong { color: var(--gold); display: block; margin-bottom: 7px; font-size: 15px; }
.responsible .warn-item p { font-size: 13.5px; margin-bottom: 0; color: #BDB9B0; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 19px 24px; font-weight: 700; font-size: 15.5px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--red); flex-shrink: 0;
  transition: transform .22s var(--ease-out); line-height: 1;
}
.faq-item[open] summary { background: var(--red-soft); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 4px 24px 20px; font-size: 15px; }
.faq-item .faq-body p { margin-bottom: .6em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #B9B5AC; margin-top: 80px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 60px 0 44px; }
.footer-brand img { width: 52px; margin-bottom: 16px; }
.footer-brand .wordmark { font-size: 23px; font-weight: 800; margin-bottom: 12px; }
.footer-brand .wordmark .joy { color: var(--red); }
.footer-brand .wordmark .bola { color: #fff; }
.footer-brand p { font-size: 13.5px; color: #97938A; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #B9B5AC; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0 100px; font-size: 12.5px; color: #8A867D; }
.footer-legal .badges { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.footer-legal .badge-18 {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px; background: var(--red);
}
.footer-legal .badge-rg {
  border: 1.5px solid var(--green); color: #7BC79A; border-radius: 8px;
  padding: 8px 14px; font-weight: 700; font-size: 12px;
}

/* ---------- 底部浮窗（老虎机风格 + 金币特效） ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  pointer-events: none; padding: 0 14px 14px;
}
.float-cta-inner {
  pointer-events: auto; max-width: 620px; margin: 0 auto; position: relative;
  background: linear-gradient(135deg, #1A0A0E 0%, var(--ink) 40%, #2A0D14 100%);
  border: 2px solid var(--gold); border-radius: 18px;
  box-shadow: 0 -6px 40px rgba(200,16,46,.35), 0 10px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(245,179,1,.25);
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  animation: floatPulse 2.6s ease-in-out infinite;
  overflow: visible;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 -6px 40px rgba(200,16,46,.30), 0 10px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(245,179,1,.25); }
  50% { box-shadow: 0 -6px 52px rgba(245,179,1,.42), 0 10px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(245,179,1,.45); }
}
.float-cta .slot-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  border: 2px solid rgba(245,179,1,.7);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  animation: slotWiggle 3.2s ease-in-out infinite;
}
@keyframes slotWiggle {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-7deg); }
  94% { transform: rotate(6deg); }
  97% { transform: rotate(-3deg); }
}
.float-cta .float-text { flex: 1; min-width: 0; }
.float-cta .float-text strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; letter-spacing: .01em; }
.float-cta .float-text span { display: block; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.float-cta .float-btns { display: flex; gap: 9px; flex-shrink: 0; }
.float-cta .btn { white-space: nowrap; }
.float-coin {
  position: absolute; top: -8px; font-size: 17px; pointer-events: none; z-index: 2;
  animation: coinFall linear infinite; opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
@keyframes coinFall {
  0% { transform: translateY(-26px) rotate(0deg) scale(.7); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(76px) rotate(340deg) scale(1); opacity: 0; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: #C4C0B6; font-weight: 700; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--red); font-weight: 700; }

/* ---------- 文章页 ---------- */
.article-hero { padding: 34px 0 0; }
.article-hero .cat-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.cat-tag.red { background: var(--red-soft); color: var(--red); }
.cat-tag.gold { background: var(--gold-soft); color: var(--gold-dark); }
.cat-tag.green { background: var(--green-soft); color: var(--green); }
.cat-tag.blue { background: var(--blue-soft); color: var(--blue); }
.article-hero h1 { max-width: 21ch; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin-bottom: 30px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { border-radius: 18px; box-shadow: var(--shadow-md); margin-bottom: 40px; width: 100%; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
.article-body { max-width: 72ch; min-width: 0; }
.article-body h2 { margin: 1.7em 0 .65em; padding-left: 16px; border-left: 4px solid var(--red); }
.article-body h3 { margin: 1.5em 0 .55em; font-size: 1.18rem; }
.article-body p { font-size: 16px; }
.article-body ul, .article-body ol { margin: 0 0 1.1em 1.4em; font-size: 16px; }
.article-body li { margin-bottom: .45em; }
.article-body strong { color: var(--ink); }

.article-body table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px;
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
  display: block; overflow-x: auto;
}
.article-body table thead, .article-body table tbody, .article-body table tr { width: 100%; }
.article-body table { display: table; }
@media (max-width: 640px) { .article-body table { display: block; } .article-body table thead, .article-body table tbody { display: table; width: 100%; min-width: 520px; } }
.article-body th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-size: 13.5px; letter-spacing: .03em; }
.article-body td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.article-body tr:last-child td { border-bottom: none; }

.callout {
  border-radius: var(--radius-sm); padding: 20px 22px; margin: 1.5em 0; font-size: 15px;
  border-left: 4px solid;
}
.callout p { margin-bottom: .5em; }
.callout p:last-child { margin-bottom: 0; }
.callout.info { background: var(--blue-soft); border-color: var(--blue); }
.callout.warn { background: var(--gold-soft); border-color: var(--gold); }
.callout.safe { background: var(--green-soft); border-color: var(--green); }
.callout strong:first-child { display: block; margin-bottom: 4px; }

/* 侧边栏 */
.article-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.sidebar-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.sidebar-box h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; color: var(--ink); }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 9px; }
.toc-list a { color: var(--ink-3); font-size: 14px; display: block; padding-left: 14px; border-left: 2.5px solid var(--line); transition: .18s; }
.toc-list a:hover { color: var(--red); border-left-color: var(--red); }
.sidebar-cta { background: linear-gradient(150deg, var(--red), var(--red-dark)); border: none; text-align: center; }
.sidebar-cta h3 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 18px; margin-bottom: 8px; }
.sidebar-cta p { color: #F3D9DE; font-size: 13.5px; margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px; transition: .18s;
}
.tag-cloud a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

/* 热门搜索（首页） */
.search-section { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; box-shadow: var(--shadow-sm); }
.search-box { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 26px; }
.search-box input {
  flex: 1; font-family: var(--font); font-size: 15.5px; padding: 14px 20px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s; min-width: 0;
}
.search-box input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.09); }
.search-results { max-width: 640px; margin: 0 auto 8px; display: none; }
.search-results.show { display: block; }
.search-results a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 18px; margin-bottom: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 600;
}
.search-results a:hover { border-color: var(--red); color: var(--red); }
.search-results a span { font-size: 12px; color: var(--ink-3); font-weight: 600; flex-shrink: 0; }
.search-empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 12px; }

/* ---------- 促销卡片 ---------- */
.promo-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; padding: 0; }
.promo-card .promo-media { position: relative; min-height: 100%; }
.promo-card .promo-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.promo-card .promo-body { padding: 26px 28px; }
.promo-card .promo-badge {
  display: inline-block; background: var(--gold-soft); color: var(--gold-dark);
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 12px;
}
.promo-card h3 { margin-bottom: 9px; }
.promo-card h3 a { color: var(--ink); }
.promo-card h3 a:hover { color: var(--red); }
.promo-card p { font-size: 14.5px; margin-bottom: 14px; }
.promo-card .promo-terms { font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; margin-bottom: 14px; }

/* ---------- 认证页（注册/登录） ---------- */
.auth-wrap { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual {
  background: linear-gradient(150deg, var(--ink) 0%, #33121B 60%, var(--red-dark) 130%);
  color: #fff; padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-visual::before { content: "♠"; position: absolute; right: -30px; top: -40px; font-size: 260px; color: rgba(245,179,1,.08); }
.auth-visual h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 18px; }
.auth-visual p { color: #D8D4CC; font-size: 15.5px; max-width: 44ch; }
.auth-visual .feature-list li span { color: #C9C5BC; }
.auth-visual .feature-list strong { color: #fff; }
.auth-visual .feature-list .check { background: rgba(245,179,1,.16); color: var(--gold); }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 56px 28px; }
.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-form .sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); }
.form-group input, .form-group select {
  width: 100%; font-family: var(--font); font-size: 15px; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.09); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); margin: 18px 0; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.auth-form .btn { width: 100%; }
.auth-switch { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 22px; }
.auth-note { background: var(--gold-soft); border-radius: 10px; padding: 13px 16px; font-size: 12.5px; color: var(--ink-2); margin-top: 20px; border-left: 3px solid var(--gold); }

/* ---------- 落地页 ---------- */
.lp-hero { background: linear-gradient(165deg, var(--white), var(--gold-soft) 160%); padding: 56px 0 0; text-align: center; }
.lp-hero h1 { max-width: 24ch; margin: 0 auto 16px; }
.lp-hero .lead { max-width: 62ch; margin: 0 auto 34px; font-size: 17.5px; }
.lp-hero img { border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg); max-width: 960px; margin: 0 auto; }
.lp-hero img { width: 100%; }
.term-table { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.term-row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.term-row:last-child { border-bottom: none; }
.term-row .term-key { padding: 17px 22px; font-weight: 700; font-size: 14px; background: var(--paper); color: var(--ink); border-right: 1px solid var(--line); }
.term-row .term-val { padding: 17px 22px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.note-small { font-size: 13px; color: var(--ink-3); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-cta-inner, .float-cta .slot-icon, .float-coin { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-sidebar .sidebar-box { flex: 1 1 280px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { padding: 48px 34px; }
  .responsible .warn-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  body { font-size: 15.5px; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 14px 18px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 15.5px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }
  .header-actions { margin-left: 0; }
}

@media (max-width: 760px) {
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .cta-band, .responsible, .security-band { padding: 36px 26px; }
  .search-section { padding: 30px 22px; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card .promo-media { min-height: 190px; position: relative; }
  .promo-card .promo-media img { position: relative; height: 190px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 34px; }
  .float-cta .float-text span { display: none; }
  .float-cta .float-text strong { font-size: 13.5px; }
  .float-cta .btn { padding: 10px 14px; font-size: 13px; }
  .float-cta .slot-icon { width: 44px; height: 44px; font-size: 20px; }
  .term-row { grid-template-columns: 1fr; }
  .term-row .term-key { border-right: none; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
  .term-row .term-val { padding-top: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .topbar .top-links { display: none; }
}
