/* ============================================================
   Neng4d — Golden Casino Night 主题样式
   设计原则：深黑画布承载内容，金色仅用于强调与行动点；
   卡片式游戏大厅布局；交互带筹码/金币物理感。
   ============================================================ */
:root {
  --bg: #0B0E17;
  --bg-2: #12172A;
  --bg-3: #1A2138;
  --card: #141A2E;
  --gold: #F5C044;
  --gold-deep: #D4A017;
  --red: #E11D2E;
  --green: #16A34A;
  --blue: #2563EB;
  --text: #F8FAFC;
  --text-dim: #94A3B8;
  --border: rgba(245, 192, 68, 0.16);
  --radius: 14px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: 84px; /* 给底部浮窗留位 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .18s var(--ease-out); }
a:hover { color: #ffd97a; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.small { font-size: .85rem; color: var(--text-dim); }
.mt-1 { margin-top: 1rem; }

/* ---------- 顶部 18+ 条 ---------- */
.age-strip {
  background: linear-gradient(90deg, var(--red), #b3121f);
  color: #fff; text-align: center; font-size: .78rem;
  padding: 6px 12px; letter-spacing: .04em; font-weight: 600;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 14, 23, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(245,192,68,.45)); }
.brand-word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--gold); letter-spacing: .02em;
}
.brand-word em {
  font-style: normal; color: #fff; background: var(--red);
  border-radius: 6px; padding: 1px 6px; margin-left: 2px; font-size: .95em;
  box-shadow: 0 0 12px rgba(225,29,46,.5);
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--text-dim); font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); background: rgba(245,192,68,.08); }
.header-cta { display: flex; gap: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: 10px 22px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206; box-shadow: 0 4px 18px rgba(245,192,68,.35);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shine 2.6s linear infinite;
}
@keyframes shine { 0% { left: -80%; } 60%, 100% { left: 130%; } }
.btn-gold:hover { color: #1a1206; box-shadow: 0 6px 26px rgba(245,192,68,.55); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(248,250,252,.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-red {
  background: linear-gradient(135deg, var(--red), #a50f1e);
  color: #fff; box-shadow: 0 4px 18px rgba(225,29,46,.35);
}
.btn-red:hover { color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ---------- 汉堡菜单 ---------- */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--gold); border-radius: 2px; transition: .25s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 75% 30%, rgba(245,192,68,.12), transparent 60%), var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
  align-items: center; padding: 64px 0 72px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,.14); border: 1px solid rgba(22,163,74,.4);
  color: #4ade80; font-size: .8rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead { color: var(--text-dim); font-size: 1.1rem; margin: 18px 0 26px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 20px; border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(245,192,68,.12);
}
.hero-stats {
  display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap;
}
.hero-stats div { min-width: 110px; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.hero-stats span { font-size: .82rem; color: var(--text-dim); }

/* ---------- 分区通用 ---------- */
.section { padding: 64px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section.slant { clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%); margin-top: -3.5vw; padding-top: calc(64px + 3.5vw); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head .kicker {
  color: var(--red); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.section-head .kicker::before { content: ""; width: 26px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.section-head p { color: var(--text-dim); }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
  position: relative; overflow: hidden;
}
.gcard:hover {
  transform: translateY(-4px);
  border-color: rgba(245,192,68,.45);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 22px rgba(245,192,68,.1);
}
.gcard .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,192,68,.12); margin-bottom: 14px;
}
.gcard .icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.gcard h3 { margin-bottom: 8px; }
.gcard p { color: var(--text-dim); font-size: .92rem; margin-bottom: 0; }

/* ---------- 游戏大厅卡片 ---------- */
.lobby-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 200px;
  gap: 16px; overflow-x: auto; padding: 6px 2px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.lobby-scroll::-webkit-scrollbar { height: 8px; }
.lobby-scroll::-webkit-scrollbar-thumb { background: rgba(245,192,68,.3); border-radius: 4px; }
.game-card {
  scroll-snap-align: start; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s var(--ease-out), border-color .2s;
}
.game-card:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(245,192,68,.5); }
.game-card .thumb {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: rgba(255,255,255,.92); text-align: center; padding: 12px; line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.game-card .meta { padding: 12px 14px; }
.game-card .meta b { font-size: .9rem; display: block; }
.game-card .meta span { font-size: .75rem; color: var(--text-dim); }
.tag-hot {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--red); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .05em;
  box-shadow: 0 0 12px rgba(225,29,46,.6);
}
.game-wrap { position: relative; }

/* ---------- 支付徽章 ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pay-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; transition: border-color .2s, transform .2s var(--ease-out);
}
.pay-item:hover { border-color: rgba(37,99,235,.55); transform: translateY(-3px); }
.pay-item .pay-ico {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,99,235,.14); font-family: var(--font-display);
  font-weight: 800; color: #7aa5ff; font-size: .8rem;
}
.pay-item b { display: block; font-size: .95rem; }
.pay-item span { font-size: .78rem; color: var(--text-dim); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 10px; font-size: .78rem; color: var(--text-dim);
}

/* ---------- 比较表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.compare-table thead th { background: rgba(245,192,68,.1); color: var(--gold); font-family: var(--font-display); font-size: .85rem; letter-spacing: .04em; }
.compare-table tbody tr:hover { background: rgba(245,192,68,.04); }
.compare-table td:first-child { color: var(--text-dim); font-weight: 600; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206; font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(245,192,68,.35);
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--text-dim); font-size: .92rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; list-style: none; position: relative; padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 700; transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--text-dim); font-size: .94rem; }

/* ---------- 促销卡 ---------- */
.promo-card {
  background: linear-gradient(145deg, var(--bg-3), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.promo-card .promo-top { padding: 22px 22px 0; }
.promo-card .promo-tag {
  display: inline-block; background: rgba(225,29,46,.16); color: #ff8a94;
  border: 1px solid rgba(225,29,46,.4); font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; margin-bottom: 12px;
}
.promo-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.promo-card .promo-desc { color: var(--text-dim); font-size: .9rem; }
.promo-terms {
  margin: 16px 22px; padding: 14px 16px; border-radius: 10px;
  background: rgba(11,14,23,.6); border: 1px dashed rgba(245,192,68,.3);
  font-size: .8rem; color: var(--text-dim);
}
.promo-terms b { color: var(--gold); }
.promo-card .promo-foot { padding: 0 22px 22px; margin-top: auto; }

/* ---------- 文章页 ---------- */
.page-hero {
  background: radial-gradient(ellipse 70% 80% at 30% 20%, rgba(245,192,68,.1), transparent 60%), var(--bg-2);
  padding: 48px 0 40px; border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: .82rem; color: var(--text-dim); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(148,163,184,.5); }
.breadcrumb [aria-current] { color: var(--gold); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 48px 0 64px; }
.article-body { max-width: 46em; }
.article-body h2 { margin: 2.2rem 0 1rem; padding-top: .6rem; }
.article-body h3 { margin: 1.6rem 0 .7rem; color: var(--gold); }
.article-body p { color: #CBD5E1; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.4rem; color: #CBD5E1; }
.article-body li { margin-bottom: .45rem; }
.article-body strong { color: var(--text); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .9rem; }
.article-body th, .article-body td { border: 1px solid rgba(255,255,255,.1); padding: 10px 12px; text-align: left; }
.article-body th { background: rgba(245,192,68,.1); color: var(--gold); font-family: var(--font-display); font-size: .82rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold); background: rgba(245,192,68,.06);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.4rem 0;
  color: var(--text); font-style: italic;
}
.article-figure { margin: 1.8rem 0; }
.article-figure img { border-radius: var(--radius); border: 1px solid var(--border); }
.article-figure figcaption { font-size: .8rem; color: var(--text-dim); margin-top: 8px; text-align: center; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: .82rem; margin-top: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* 侧边栏 */
.article-aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 20px; }
.aside-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.aside-box h3 { font-size: 1rem; margin-bottom: 12px; color: var(--gold); }
.aside-box ul { list-style: none; }
.aside-box li { margin-bottom: 8px; }
.aside-box li a { color: var(--text-dim); font-size: .88rem; }
.aside-box li a:hover { color: var(--gold); }
.aside-cta { text-align: center; background: linear-gradient(160deg, rgba(245,192,68,.14), var(--card)); }
.aside-cta p { font-size: .85rem; color: var(--text-dim); }

/* 提示框 */
.note-box {
  border-radius: var(--radius); padding: 16px 20px; margin: 1.4rem 0;
  font-size: .92rem; border: 1px solid;
}
.note-box.warn { background: rgba(225,29,46,.08); border-color: rgba(225,29,46,.35); color: #fecdd3; }
.note-box.info { background: rgba(37,99,235,.08); border-color: rgba(37,99,235,.35); color: #bfdbfe; }
.note-box.ok { background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.35); color: #bbf7d0; }
.note-box b { color: var(--text); }

/* ---------- 标签云 & 搜索 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: .84rem; color: var(--text-dim); font-weight: 600;
  transition: all .18s var(--ease-out);
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.search-box { display: flex; gap: 10px; max-width: 560px; }
.search-box input {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem; outline: none;
  transition: border-color .18s;
}
.search-box input:focus { border-color: var(--gold); }
.search-results { margin-top: 22px; display: grid; gap: 12px; }
.search-hit {
  display: block; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
}
.search-hit b { color: var(--gold); display: block; margin-bottom: 4px; }
.search-hit span { color: var(--text-dim); font-size: .86rem; }
.search-hit:hover { border-color: rgba(245,192,68,.45); }

/* ---------- 表单页 ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 56px 20px 72px; }
.auth-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-dim); font-size: .88rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--text-dim); }
.field input, .field select {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,192,68,.12); }
.form-note { font-size: .78rem; color: var(--text-dim); margin-top: 16px; text-align: center; }
.auth-switch { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--text-dim); }
.w-full { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer { background: #080B12; border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: .86rem; margin-top: 14px; }
.footer-telegram a { font-weight: 700; }
.footer-col h3 { font-size: .95rem; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: .87rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; }
.footer-legal p { font-size: .8rem; color: var(--text-dim); margin-bottom: 10px; }
.footer-legal .copyright { color: rgba(148,163,184,.6); margin-top: 14px; }

/* ---------- 底部浮窗 ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  pointer-events: none;
}
#coinCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.float-cta-inner {
  pointer-events: auto;
  display: flex; gap: 12px; justify-content: center; align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11,14,23,.6), rgba(11,14,23,.96) 40%);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.float-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  padding: 13px 0; border-radius: 12px; flex: 1; max-width: 260px;
  position: relative; overflow: hidden;
  transition: transform .16s var(--ease-out), box-shadow .16s;
  animation: coinPulse 2.4s ease-in-out infinite;
}
.float-btn:active { transform: scale(.94); }
.float-btn-login {
  background: var(--bg-3); color: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 18px rgba(245,192,68,.25);
}
.float-btn-register {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  box-shadow: 0 6px 22px rgba(245,192,68,.45);
}
.float-btn-register::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.6), transparent);
  animation: shine 2s linear infinite;
}
@keyframes coinPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.coin-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, var(--gold-deep));
  border: 2px solid #b8860b;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.3), 0 0 8px rgba(245,192,68,.6);
  display: inline-block; flex-shrink: 0;
  animation: coinSpin 3s ease-in-out infinite;
}
.float-btn-login .coin-icon { border-color: var(--gold-deep); }
@keyframes coinSpin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
}
.coin-particle {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, var(--gold-deep));
  border: 1.5px solid #b8860b;
  box-shadow: 0 0 6px rgba(245,192,68,.7);
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 auto 0; top: 0; z-index: 95;
    flex-direction: column; background: rgba(8,11,18,.98);
    padding: 90px 24px 32px; gap: 6px;
    transform: translateY(-100%); transition: transform .3s var(--ease-out);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 1.05rem; padding: 13px 16px; }
  .nav-toggle { display: flex; z-index: 96; }
  .header-cta .btn-ghost { display: none; }
  .header-inner { height: 60px; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 52px; gap: 28px; }
  .hero-visual { order: -1; }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .step { flex-direction: column; gap: 12px; }
}
@media (max-width: 560px) {
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .lobby-scroll { grid-auto-columns: 158px; }
  .float-btn { font-size: .95rem; padding: 12px 0; }
  .search-box { flex-direction: column; }
  .auth-card { padding: 28px 20px; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
