/* ============================================================
   Kaisar888 — Imperial Casino 设计系统
   墨黑/桌面绿底 · 帝王金描边 · 品牌红 CTA · 衬线展示字体
   ============================================================ */
:root {
  --black: #0b0b0d;
  --coal: #141416;
  --coal-2: #1b1b1f;
  --green: #0e3b2e;
  --green-deep: #0a2c22;
  --gold: #d4af37;
  --gold-bright: #f5c542;
  --red: #c8102e;
  --red-bright: #e62e4d;
  --blue: #1e5aa8;
  --cream: #f4f1ea;
  --white: #ffffff;
  --ink: #17171a;
  --muted: #9c9aa3;
  --muted-dark: #55535c;
  --line: rgba(212, 175, 55, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style-position: inside; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--black);
  padding: 0.6rem 1rem; z-index: 200; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.ic { display: inline-flex; width: 1.25em; height: 1.25em; vertical-align: -0.25em; }
.ic svg { width: 100%; height: 100%; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; border-radius: 10px; padding: 0.8rem 1.6rem;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms;
  border: 1px solid transparent; font-size: 0.95rem; line-height: 1.2; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, #a00d26 100%);
  color: var(--white); box-shadow: 0 4px 18px rgba(200, 16, 46, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%); box-shadow: 0 6px 24px rgba(200, 16, 46, 0.5); }
.btn-ghost { border-color: var(--line); color: var(--gold-bright); background: rgba(212, 175, 55, 0.06); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.14); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold-bright); background: transparent; }
.btn-outline-gold:hover { background: rgba(212, 175, 55, 0.12); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--gold-bright); transition: background 180ms, border-color 180ms;
}
.icon-btn:hover { background: rgba(212, 175, 55, 0.12); border-color: var(--gold); }

/* ---------- 页头 ---------- */
.top-strip { background: var(--green-deep); border-bottom: 1px solid var(--line); font-size: 0.78rem; }
.top-strip-inner { display: flex; align-items: center; gap: 0.6rem; padding-top: 0.4rem; padding-bottom: 0.4rem; }
.top-strip p { color: #b9d9c9; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: var(--red); color: var(--white); font-weight: 800; font-size: 0.75rem; flex-shrink: 0;
}
.age-badge.lg { min-width: 44px; height: 30px; font-size: 0.9rem; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 13, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .top-strip { position: relative; }
.header-main { display: flex; align-items: center; gap: 1.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--gold); white-space: nowrap; }
.brand-888 {
  display: inline-block; margin-left: 0.35rem; padding: 0.05rem 0.4rem; border-radius: 6px;
  background: var(--red); color: var(--white); font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
}
.main-nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav-link {
  padding: 0.5rem 0.85rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--cream);
  transition: color 160ms, background 160ms;
}
.nav-link:hover { color: var(--gold-bright); background: rgba(212, 175, 55, 0.08); }
.nav-link.active { color: var(--gold-bright); box-shadow: inset 0 -2px 0 var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--coal); padding: 0.75rem 1.25rem 1.25rem; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-nav-link { padding: 0.7rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 600; }
.mobile-nav-link:hover { color: var(--gold-bright); }
.mobile-nav-cta { display: flex; gap: 0.75rem; margin-top: 0.9rem; }
.mobile-nav-cta .btn { flex: 1; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding-top: 1rem; padding-bottom: 0.25rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; list-style: none; font-size: 0.85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb li[aria-current] span { color: var(--gold-bright); font-weight: 600; }
.bc-sep { width: 0.9em; height: 0.9em; color: var(--muted-dark); }

/* ---------- 通用区块 ---------- */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--coal); }
.section.green { background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-bright); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.9rem; margin-bottom: 1rem;
  background: rgba(212, 175, 55, 0.06);
}
h1, h2, h3 { font-family: var(--font-display); color: var(--white); line-height: 1.25; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.7rem; }
.section-lead { color: var(--muted); font-size: 1.02rem; }
.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,11,13,0.97) 20%, rgba(11,11,13,0.75) 55%, rgba(14,59,46,0.55) 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center;
  padding: 4.5rem 0 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700;
  color: var(--gold-bright); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 1rem;
  background: rgba(11, 11, 13, 0.6); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--gold-bright); }
.hero-lead { color: #d8d5ce; font-size: 1.08rem; max-width: 560px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem;
  background: rgba(20, 20, 22, 0.72);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }
.stat span { font-size: 0.78rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.hero-visual::before {
  content: "♠"; position: absolute; top: -1.4rem; right: -0.8rem; font-size: 3.2rem; color: var(--gold);
  opacity: 0.85; text-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--coal-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform 220ms var(--ease-out), border-color 220ms, box-shadow 220ms;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black); background: var(--gold-bright); border-radius: 6px; padding: 0.2rem 0.6rem;
}
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold-bright); font-weight: 700; font-size: 0.9rem; }
.card-link:hover { text-decoration: underline; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.feature-list { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.6rem; }
.feature-item { display: flex; gap: 1rem; }
.feature-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--line); color: var(--gold-bright);
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 700; }
.feature-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- 指南步骤 ---------- */
.steps { display: flex; flex-direction: column; gap: 1rem; counter-reset: step; }
.step {
  display: flex; gap: 1.2rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--coal-2); transition: border-color 200ms;
}
.step:hover { border-color: var(--gold); }
.step-num {
  flex-shrink: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold);
  width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(212,175,55,0.07);
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.3rem; font-family: var(--font-body); font-weight: 700; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- 读者声音 ---------- */
.quote-card {
  background: var(--coal-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.quote-card .ic { color: var(--gold); width: 1.8em; height: 1.8em; }
.quote-card blockquote { color: #d8d5ce; font-size: 0.95rem; font-style: italic; flex: 1; }
.quote-meta { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 0.9rem; }
.quote-meta strong { color: var(--gold-bright); font-size: 0.95rem; display: block; }
.quote-meta span { color: var(--muted); font-size: 0.8rem; }

/* ---------- 文章正文 ---------- */
.article-hero { padding: 2.5rem 0 0; }
.article-hero .kicker { margin-bottom: 0.9rem; }
.article-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 820px; margin-bottom: 0.9rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--muted); font-size: 0.85rem; margin-bottom: 1.6rem; }
.article-meta .ic { width: 1em; height: 1em; }
.article-hero-img { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 0.5rem; }
.article-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-caption { font-size: 0.8rem; color: var(--muted-dark); margin-bottom: 2rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; padding-bottom: 3.5rem; }
.article-body { max-width: 760px; }
.article-body h2 {
  font-size: 1.5rem; margin: 2.2rem 0 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body p { color: #cfccc5; margin-bottom: 1.1rem; font-size: 1rem; }
.article-body figure { margin: 1.6rem 0; }
.article-body figure img { border-radius: 12px; border: 1px solid var(--line); }
.article-body figcaption { font-size: 0.8rem; color: var(--muted-dark); margin-top: 0.5rem; }
.article-note {
  border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px;
  background: rgba(212, 175, 55, 0.06); padding: 1.1rem 1.3rem; margin: 1.8rem 0; font-size: 0.92rem; color: #d8d5ce;
}
.article-note.warn { border-left-color: var(--red); background: rgba(200, 16, 46, 0.07); }
.article-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.5rem; }
.toc { border: 1px solid var(--line); border-radius: 14px; background: var(--coal-2); padding: 1.3rem; }
.toc h3 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 800; margin-bottom: 0.8rem; color: var(--gold-bright); }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.toc a { color: var(--muted); font-size: 0.9rem; }
.toc a:hover { color: var(--gold-bright); }
.tag-cloud { border: 1px solid var(--line); border-radius: 14px; background: var(--coal-2); padding: 1.3rem; }
.tag-cloud h3 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 800; margin-bottom: 0.9rem; color: var(--gold-bright); display: flex; align-items: center; gap: 0.45rem; }
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem;
  background: rgba(212, 175, 55, 0.05); transition: all 160ms;
}
.tag-chip:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(212, 175, 55, 0.12); }

/* ---------- 条款表（促销页） ---------- */
.terms-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }
.terms-table th, .terms-table td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; font-size: 0.92rem; }
.terms-table th {
  width: 220px; color: var(--gold-bright); font-weight: 700; background: rgba(212, 175, 55, 0.07);
  border-bottom: 1px solid var(--line);
}
.terms-table td { color: #cfccc5; border-bottom: 1px solid rgba(255,255,255,0.06); }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: none; }
.promo-summary {
  border: 1px solid var(--gold); border-radius: 14px; background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  padding: 1.4rem 1.6rem; margin: 1.6rem 0; font-size: 1.02rem; color: var(--cream);
}
.promo-summary strong { color: var(--gold-bright); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--coal-2); overflow: hidden; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; font-weight: 700; font-size: 0.98rem; cursor: pointer; color: var(--cream);
  transition: color 160ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-chev { transition: transform 200ms var(--ease-out); color: var(--gold); flex-shrink: 0; }
.faq-item[open] .faq-chev { transform: rotate(90deg); }
.faq-answer { padding: 0 1.3rem 1.15rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 60%, #14503d 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.4rem; }
.cta-band p { color: #b9d9c9; max-width: 520px; }
.cta-band-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- 表单页（注册/登录/联系） ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 560px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 2.5rem 0 3.5rem; background: var(--coal-2); }
.auth-visual { position: relative; min-height: 280px; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(14,59,46,0.25), rgba(11,11,13,0.78)); }
.auth-visual-text { position: absolute; left: 1.8rem; right: 1.8rem; bottom: 1.8rem; z-index: 2; }
.auth-visual-text h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.auth-visual-text p { color: #d8d5ce; font-size: 0.92rem; }
.auth-form { padding: 2.4rem 2.4rem 2.6rem; }
.auth-form h1 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.auth-form .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--gold-bright); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--black); color: var(--cream); outline: none; transition: border-color 160ms, box-shadow 160ms;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-field .hint { font-size: 0.78rem; color: var(--muted-dark); margin-top: 0.35rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); margin: 1.2rem 0; }
.form-check input { margin-top: 0.25rem; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.form-submit { width: 100%; }
.auth-alt { margin-top: 1.3rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
.auth-alt a { color: var(--gold-bright); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--coal); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 1rem 0 1.2rem; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.footer-badge {
  font-size: 0.72rem; font-weight: 700; color: var(--gold-bright); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.3rem 0.8rem; background: rgba(212, 175, 55, 0.06);
}
.footer-col h3 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.4rem; padding-bottom: 7.5rem; }
.legal-warning { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.8rem; }
.legal-warning .ic { color: var(--red-bright); }
.legal-warning a { color: var(--gold-bright); text-decoration: underline; }
.legal-copy { font-size: 0.8rem; color: var(--muted-dark); }

/* ---------- 底部浮窗（老虎机风格） ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, rgba(20,20,22,0.97), rgba(11,11,13,0.99));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
  padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom, 0px));
}
.float-inner { display: flex; align-items: center; justify-content: center; gap: 1.2rem; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.slot-reels { display: flex; gap: 0.3rem; }
.reel {
  width: 40px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #232327, #141416); border: 1px solid var(--gold); border-radius: 8px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--gold-bright);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
}
.reel.win { color: var(--red-bright); text-shadow: 0 0 12px rgba(230, 46, 77, 0.7); border-color: var(--gold-bright); }
.float-text { display: flex; flex-direction: column; line-height: 1.3; }
.float-text strong { color: var(--white); font-size: 0.95rem; }
.float-text span { color: var(--muted); font-size: 0.78rem; }
.float-actions { display: flex; gap: 0.7rem; }
.btn-float { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
.btn-jackpot {
  position: relative; background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, #b8912a 100%);
  color: var(--black); font-weight: 800; overflow: hidden;
  box-shadow: 0 0 0 0 rgba(245, 197, 66, 0.55);
  animation: jackpotPulse 2.4s var(--ease-out) infinite;
}
.btn-jackpot:hover { background: linear-gradient(135deg, #ffd964 0%, var(--gold-bright) 60%, var(--gold) 100%); }
@keyframes jackpotPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(245, 197, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0); }
}
.coin-layer { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.coin {
  position: absolute; top: -26px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe89a, var(--gold-bright) 45%, #a07d1c 100%);
  border: 1px solid #8a6d15; box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  animation: coinFall 1.8s ease-in forwards;
}
@keyframes coinFall {
  0% { transform: translateY(0) rotateY(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(120px) rotateY(720deg); opacity: 0; }
}

/* ---------- 搜索弹层 ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 1.25rem 2rem;
}
.search-overlay[hidden] { display: none !important; }
.search-panel {
  width: 100%; max-width: 640px; background: var(--coal-2); border: 1px solid var(--gold);
  border-radius: 16px; padding: 1.2rem 1.3rem 1.4rem; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.search-head { display: flex; gap: 0.7rem; align-items: center; }
.search-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.65rem 0.9rem; background: var(--black); color: var(--muted);
}
.search-input-wrap input { flex: 1; background: none; border: none; outline: none; color: var(--cream); font-size: 1rem; }
.search-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 1rem 0; font-size: 0.8rem; color: var(--muted); }
.search-results { display: flex; flex-direction: column; gap: 0.5rem; max-height: 46vh; overflow-y: auto; }
.search-hit { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; transition: border-color 160ms, background 160ms; }
.search-hit:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.06); }
.search-hit strong { color: var(--gold-bright); font-size: 0.92rem; }
.search-hit span { color: var(--muted); font-size: 0.8rem; }
.search-hint { color: var(--muted-dark); font-size: 0.88rem; padding: 0.6rem 0.2rem; }

/* ---------- 搜索页结果 ---------- */
.search-page-form { display: flex; gap: 0.7rem; max-width: 640px; margin: 1.6rem 0 2rem; }
.search-page-form input {
  flex: 1; padding: 0.85rem 1.1rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--coal-2); color: var(--cream); outline: none;
}
.search-page-form input:focus { border-color: var(--gold); }
.search-page-results { display: flex; flex-direction: column; gap: 0.8rem; max-width: 860px; padding-bottom: 3rem; }

/* ---------- 入场动画 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: revealIn 480ms var(--ease-out) forwards; }
  .reveal.d1 { animation-delay: 60ms; } .reveal.d2 { animation-delay: 120ms; }
  .reveal.d3 { animation-delay: 180ms; } .reveal.d4 { animation-delay: 240ms; }
  @keyframes revealIn { to { opacity: 1; transform: translateY(0); } }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; padding: 3rem 0; }
  .hero-visual { max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-sidebar > * { flex: 1 1 280px; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 2.6rem 0; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split .split-media { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { min-height: 200px; }
  .header-actions .btn { display: none; }
  .float-text span { display: none; }
  .float-inner { gap: 0.8rem; }
  .reel { width: 32px; height: 40px; font-size: 1.1rem; }
  .btn-float { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .terms-table th { width: 130px; }
}
@media (max-width: 480px) {
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-text { display: none; }
  .hero h1 { font-size: 1.75rem; }
  .auth-form { padding: 1.6rem 1.3rem 2rem; }
}
