/* ============================================================
   Pusat4d — "Kartu Putih" Design System
   Editorial Swiss x estetika kartu kasino.
   Palet: kertas gading #FBF8F2, tinta #17130E, merah brand #D92B2B,
   emas #E9A820, hijau #1E7A46, biru #1D4ED8.
   ============================================================ */
:root {
  --paper: #fbf8f2;
  --card: #ffffff;
  --ink: #17130e;
  --ink-soft: #4a4238;
  --ink-mute: #7a7166;
  --red: #d92b2b;
  --red-dark: #b01f1f;
  --gold: #e9a820;
  --gold-soft: #fdf3dd;
  --green: #1e7a46;
  --green-soft: #e8f4ec;
  --blue: #1d4ed8;
  --blue-soft: #e9effc;
  --line: #e7e0d3;
  --shadow-card: 6px 6px 0 rgba(23, 19, 14, 0.9);
  --shadow-card-sm: 4px 4px 0 rgba(23, 19, 14, 0.9);
  --radius: 14px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { 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(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.015em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border: 2px solid var(--ink); border-radius: 10px;
  padding: 14px 26px; font-size: 15px; cursor: pointer; text-decoration: none !important;
  transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), background 0.16s;
  box-shadow: var(--shadow-card-sm);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(23,19,14,.9); }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--paper); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(23,19,14,.9); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.05); transform: translate(-1px, -1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; box-shadow: 3px 3px 0 rgba(23,19,14,.9); }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 44px; height: 44px; }
.brand-word {
  font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--ink); letter-spacing: -0.02em;
}
.brand-word em { font-style: normal; color: var(--red); }
.brand-light .brand-word { color: #fff; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--ink-soft);
  border-radius: 8px; text-decoration: none !important; transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: #f0ead9; color: var(--ink); }
.main-nav a.active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle, .nav-toggle {
  background: var(--card); border: 2px solid var(--ink); border-radius: 10px; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(23,19,14,.9); transition: transform 0.15s var(--ease-out);
}
.search-toggle:active, .nav-toggle:active { transform: scale(0.94); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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); }
.mobile-nav { display: none; border-top: 2px solid var(--ink); background: var(--paper); padding: 16px 20px 22px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 14px; font-weight: 700; color: var(--ink); border-radius: 10px; text-decoration: none !important; }
.mobile-nav a:hover, .mobile-nav a.active { background: #f0ead9; color: var(--red); }
.mobile-nav-cta { display: flex; gap: 10px; margin-top: 14px; }
.mobile-nav-cta .btn { flex: 1; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(23, 19, 14, 0.55);
  display: flex; align-items: flex-start; justify-content: center; padding: 90px 16px 16px;
}
.search-overlay[hidden] { display: none; }
.search-box {
  width: 100%; max-width: 640px; background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 2px solid var(--line); }
.search-input-row input {
  flex: 1; border: none; outline: none; font-size: 17px; font-family: var(--font-body); background: transparent; color: var(--ink);
}
.search-close { background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-mute); }
.search-results { max-height: 55vh; overflow-y: auto; padding: 10px; }
.search-hint { padding: 14px; color: var(--ink-mute); font-size: 14.5px; }
.search-item { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none !important; color: var(--ink); }
.search-item:hover { background: var(--paper); }
.search-item strong { display: block; font-family: var(--font-display); font-size: 15.5px; }
.search-item span { font-size: 13.5px; color: var(--ink-mute); }
.search-item mark { background: var(--gold-soft); color: var(--red-dark); padding: 0 2px; border-radius: 3px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 14px; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.crumb-sep { color: var(--gold); font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 2px solid var(--ink); background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,12,8,.96) 30%, rgba(15,12,8,.55) 65%, rgba(15,12,8,.25)); }
.hero-inner { position: relative; padding: 92px 0 84px; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  border: 1.5px dashed rgba(233, 168, 32, 0.65); border-radius: 999px; padding: 8px 18px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 900; margin-bottom: 20px; }
.hero h1 .hl { color: var(--gold); }
.hero h1 .hl-red { color: #ff6b5e; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: #e8e2d6; max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255,255,255,.28); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; font-size: 14px; color: #cfc7b8; }
.hero-meta b { color: #fff; font-family: var(--font-display); }

/* ---------- Slash divider ---------- */
.slash { height: 14px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--ink) 14px 28px); border-block: 2px solid var(--ink); }
.slash-gold { height: 4px; background: var(--gold); }
.slash + .slash-gold { margin-top: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: #f4efe3; border-block: 2px solid var(--ink); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-dark .kicker { color: var(--gold); }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-dark .section-head p { color: #cfc7b8; }

/* ---------- Cards (paper-card motif) ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 26px; position: relative;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.pcard:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(23,19,14,.9); }
.pcard h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.pcard p { color: var(--ink-soft); font-size: 15.5px; }
.pcard .icon-chip {
  width: 52px; height: 52px; border-radius: 50%; border: 2px dashed var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--paper);
}
.pcard .icon-chip svg { width: 26px; height: 26px; }
.pcard-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pcard-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 2px solid var(--ink); }
.pcard-img .pcard-body { padding: 22px 24px 26px; }
.chip-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.1em; padding: 5px 12px; border-radius: 999px; border: 2px solid var(--ink);
  margin-bottom: 12px; text-transform: uppercase;
}
.chip-gold { background: var(--gold-soft); color: #8a5c00; }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-red { background: #fdeaea; color: var(--red); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.steps-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-card-sm); padding: 24px; position: relative;
}
.step-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; font-size: 44px; color: var(--red);
  display: block; line-height: 1; margin-bottom: 12px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.split-media .float-chip {
  position: absolute; bottom: -18px; left: -14px; background: var(--gold); border: 2px solid var(--ink);
  border-radius: 12px; box-shadow: var(--shadow-card-sm); padding: 10px 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.split-body h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-bottom: 16px; }
.split-body > p { color: var(--ink-soft); margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.check-list li::before {
  content: '✓'; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-top: 2px;
}
.check-list li b { color: var(--ink); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-card-sm); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.testi .quote-mark { font-family: var(--font-display); font-size: 44px; font-weight: 900; color: var(--gold); line-height: 0.6; }
.testi p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--red);
  color: #fff; font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.testi .who b { display: block; font-size: 15px; }
.testi .who span { font-size: 13px; color: var(--ink-mute); }

/* ---------- Glossary ---------- */
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gloss {
  background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: 18px 20px;
  box-shadow: var(--shadow-card-sm);
}
.gloss b { font-family: var(--font-display); color: var(--red); font-size: 16.5px; display: block; margin-bottom: 6px; }
.gloss p { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--card); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-card-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-display);
  font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 26px; font-weight: 900; color: var(--red); flex: 0 0 auto; transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; border-top: 1.5px dashed var(--line); padding-top: 16px; margin: 0 22px 20px; padding-left: 0; padding-right: 0; }

/* ---------- Article ---------- */
.article-hero { padding: 40px 0 0; }
.article-head { max-width: 820px; margin: 0 auto 30px; }
.article-head h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; margin: 12px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--ink-mute); }
.article-meta .chip-badge { margin-bottom: 0; }
.article-hero-img { max-width: 980px; margin: 26px auto 0; }
.article-hero-img img { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; max-width: 1060px; margin: 44px auto 0; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-card-sm); padding: 18px; }
.toc h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.toc ul { list-style: none; display: grid; gap: 6px; }
.toc a { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.toc a:hover { color: var(--red); }
.article-body { max-width: 760px; font-size: 16.5px; }
.article-body h2 { font-size: 26px; font-weight: 900; margin: 40px 0 14px; scroll-margin-top: 96px; }
.article-body h3 { font-size: 20px; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; color: #2c261e; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; display: grid; gap: 8px; color: #2c261e; }
.article-body img { border: 2px solid var(--ink); border-radius: 12px; margin: 24px 0; }
.article-body blockquote {
  border-left: 5px solid var(--red); background: var(--card); border-radius: 0 12px 12px 0;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 18px 22px; margin: 24px 0; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-card-sm);
}
/* 编辑侧注：关键数字强调 */
.key-number {
  display: inline-block; font-family: var(--font-display); font-weight: 900;
  font-size: 1.15em; color: var(--red); padding: 0 4px;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; background: var(--card); }
.article-body th, .article-body td { border: 1.5px solid var(--ink); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; }
.article-body tr:nth-child(even) td { background: #f7f2e7; }
.callout {
  border: 2px solid var(--ink); border-radius: 12px; padding: 18px 22px; margin: 24px 0;
  box-shadow: var(--shadow-card-sm); background: var(--gold-soft);
}
.callout.green { background: var(--green-soft); }
.callout.blue { background: var(--blue-soft); }
.callout.red { background: #fdeaea; }
.callout b.tag-label { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.article-cta {
  margin-top: 44px; background: var(--ink); color: #fff; border-radius: var(--radius);
  border: 2px solid var(--ink); box-shadow: var(--shadow-card); padding: 30px; text-align: center;
}
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 24px; }
.article-cta p { color: #cfc7b8; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }

/* ---------- Promo table ---------- */
.promo-terms { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; background: var(--card); }
.promo-terms th, .promo-terms td { border: 1.5px solid var(--ink); padding: 12px 16px; text-align: left; vertical-align: top; }
.promo-terms th { background: var(--gold); font-family: var(--font-display); width: 220px; font-size: 14px; letter-spacing: 0.03em; }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); }
.auth-side { background: var(--ink); color: #fff; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.auth-side > * { position: relative; }
.auth-side h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; margin-bottom: 16px; }
.auth-side p { color: #cfc7b8; max-width: 420px; }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px; }
.auth-card h2 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-mute); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; border: 2px solid var(--ink); border-radius: 10px; padding: 13px 15px; font-size: 15.5px;
  font-family: var(--font-body); background: var(--paper); outline: none; transition: box-shadow 0.15s;
}
.field input:focus, .field select:focus { box-shadow: 3px 3px 0 rgba(217, 43, 43, 0.55); background: #fff; }
.field .hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14.5px; color: var(--ink-soft); }
.form-note { background: var(--blue-soft); border: 1.5px solid var(--blue); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: #1e3a8a; margin-bottom: 20px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d1c2; border-top: 4px solid var(--red); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 14.5px; margin: 16px 0 18px; color: #b3aa97; }
.age-badge {
  display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--red); color: #fff;
  border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 13.5px;
}
.age-badge span { background: var(--red); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; }
.footer-col h3 { color: #fff; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #b3aa97; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-responsible { border-top: 1px solid #3a332a; border-bottom: 1px solid #3a332a; padding: 20px 0; font-size: 13.5px; color: #a89f8b; }
.footer-responsible strong { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 90px; font-size: 13.5px; color: #8d8471; }
.footer-bottom a { color: #b3aa97; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 6px 13px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--card); text-decoration: none !important;
  transition: all 0.15s var(--ease-out);
}
.tag:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-1px); }
.site-footer .tag { background: transparent; border-color: #4a4238; color: #b3aa97; }
.site-footer .tag:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; pointer-events: none;
}
.float-cta-inner {
  pointer-events: auto; margin: 0 auto; max-width: 460px; width: calc(100% - 24px);
  background: linear-gradient(180deg, #241d14, #17130e);
  border: 2px solid var(--gold); border-bottom: none; border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 14px;
  position: relative; overflow: visible;
}
.slot-window {
  flex: 0 0 86px; background: #0c0906; border: 2px solid var(--gold); border-radius: 12px;
  padding: 6px; overflow: hidden; height: 52px; display: flex; align-items: center;
}
.slot-reels { display: flex; width: 100%; justify-content: space-around; }
.slot-reels span {
  font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--gold);
  animation: reelSpin 2.8s cubic-bezier(0.23, 1, 0.32, 1) infinite;
  text-shadow: 0 0 12px rgba(233, 168, 32, 0.6);
}
.slot-reels span:nth-child(2) { animation-delay: 0.35s; color: #ff6b5e; }
.slot-reels span:nth-child(3) { animation-delay: 0.7s; }
@keyframes reelSpin {
  0%, 55% { transform: translateY(0); }
  65% { transform: translateY(-6px); }
  75%, 100% { transform: translateY(0); }
}
.float-cta-btns { display: flex; gap: 10px; flex: 1; }
.btn-float {
  flex: 1; text-align: center; font-family: var(--font-display); font-weight: 900; letter-spacing: 0.08em;
  font-size: 16px; padding: 13px 10px; border-radius: 12px; border: 2px solid var(--ink);
  text-decoration: none !important; transition: transform 0.16s var(--ease-out), filter 0.16s;
  position: relative; overflow: hidden;
}
.btn-float:active { transform: scale(0.96); }
.btn-float-gold { background: linear-gradient(180deg, #ffd45e, var(--gold)); color: var(--ink); box-shadow: 0 4px 0 #8a5c00; }
.btn-float-red { background: linear-gradient(180deg, #f04848, var(--red)); color: #fff; box-shadow: 0 4px 0 #6d1212; }
.btn-float::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 130%; } }
.coin-burst { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.coin {
  position: absolute; bottom: 40px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe89a, var(--gold) 60%, #a86f00);
  border: 1.5px solid #8a5c00; animation: coinFly 1.6s var(--ease-out) forwards; opacity: 0;
}
@keyframes coinFly {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx), var(--cy)) scale(1) rotate(340deg); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* 兜底：JS 未加载时 1.2s 后自动显示，避免内容不可见 */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal { animation: revealFallback 0.01s linear 1.2s forwards; }
.reveal.in { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slot-reels span, .btn-float::after, .coin { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.note-legal { font-size: 13.5px; color: var(--ink-mute); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid #3a332a; border-radius: 12px; padding: 20px; text-align: center;
}
.stat b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--gold); }
.stat span { font-size: 13.5px; color: #b3aa97; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .glossary-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .mobile-nav-cta .btn { display: inline-flex; }
  .header-inner { height: 64px; gap: 12px; }
  .brand-word { font-size: 21px; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 64px 0 60px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .steps, .testi-grid, .glossary-grid, .related-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding-bottom: 96px; }
  .float-cta-inner { max-width: 100%; width: calc(100% - 16px); gap: 10px; padding: 10px 12px 12px; }
  .slot-window { flex-basis: 70px; height: 46px; }
  .slot-reels span { font-size: 22px; }
  .btn-float { font-size: 14px; padding: 12px 6px; }
  .promo-terms th { width: 130px; }
  .article-body { font-size: 16px; }
}
