/* ============================================================
   Deluna4d — Midnight Casino Luxe
   深黑底 #0B0E13 · 品牌金 #D4AF37 · 赌场红 #C8102E
   翡翠绿 #0E5E3F · 象牙白 #F7F4EC · 辅助蓝 #1E4FD8
   ============================================================ */
:root {
  --ink: #0b0e13;
  --ink-2: #10151d;
  --ink-3: #161d28;
  --line: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-hi: #f5d76e;
  --red: #c8102e;
  --red-hi: #e8364f;
  --green: #12805c;
  --green-deep: #0e5e3f;
  --ivory: #f7f4ec;
  --ivory-2: #efe9da;
  --blue: #1e4fd8;
  --txt: #e8e4d8;
  --txt-dim: #a9a396;
  --txt-dark: #2a2418;
  --txt-dark-dim: #6b6250;
  --radius: 14px;
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.18);
  --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-body);
  background: var(--ink);
  color: var(--txt);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid > *, .article-layout > *, .hero-inner > *, .footer-grid > *, .auth-wrap > *, .float-inner > *, .header-inner > * { min-width: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }

/* ---------- Top bar ---------- */
.topbar {
  background: #07090d;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--txt-dim);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar .badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; border: 1.5px solid var(--red-hi); border-radius: 6px;
  color: var(--red-hi); font-weight: 800; font-size: 12px; letter-spacing: 0.5px;
}
.topbar a { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(11, 14, 19, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 60%, #b8912c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.brand-name small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 2.5px; color: var(--txt-dim); -webkit-text-fill-color: var(--txt-dim); margin-top: 3px; text-transform: uppercase; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 8px; color: var(--txt);
  font-size: 14.5px; font-weight: 600; transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-hi); background: rgba(212, 175, 55, 0.08); text-decoration: none; }
.header-cta { display: flex; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: transform 0.16s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s;
  text-decoration: none !important; line-height: 1.2; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #a8842a);
  color: #241b04; box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover { filter: brightness(1.08); box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5); }
.btn-red {
  background: linear-gradient(135deg, var(--red-hi), var(--red) 60%, #8f0a20);
  color: #fff; box-shadow: 0 4px 18px rgba(200, 16, 46, 0.4);
}
.btn-red:hover { filter: brightness(1.1); box-shadow: 0 6px 26px rgba(200, 16, 46, 0.55); }
.btn-outline {
  background: transparent; color: var(--gold-hi); border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.1); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 78% 20%, rgba(212, 175, 55, 0.14), transparent 60%),
              radial-gradient(800px 400px at 10% 90%, rgba(14, 94, 63, 0.25), transparent 60%), var(--ink);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: 72px 0 84px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; color: #fff; margin-bottom: 20px; }
.hero h1 .gold { background: linear-gradient(120deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18.5px; color: var(--txt-dim); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--gold-hi); }
.hero-stats .stat span { font-size: 13px; color: var(--txt-dim); letter-spacing: 0.4px; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-gold); }
.hero-figure::after {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--line);
  border-radius: 24px; pointer-events: none; transform: rotate(-1.5deg);
}
.coin-divider {
  height: 3px; border: none; margin: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-hi) 50%, var(--gold) 80%, transparent);
  opacity: 0.6;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.dark { background: var(--ink-2); }
.section.light { background: var(--ivory); color: var(--txt-dark); }
.section.light a { color: var(--green-deep); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section.light .section-head .kicker { color: var(--green-deep); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.section.light .section-head h2 { color: var(--txt-dark); }
.section-head p { color: var(--txt-dim); font-size: 17px; }
.section.light .section-head p { color: var(--txt-dark-dim); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transition: width 0.35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.5); box-shadow: var(--shadow-gold); }
.card:hover::before { width: 100%; }
.card .suit { position: absolute; top: 14px; right: 18px; font-size: 30px; color: rgba(212, 175, 55, 0.35); }
.card h3 { font-size: 21px; color: #fff; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--txt-dim); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.12); border: 1px solid var(--line); font-size: 22px; margin-bottom: 16px;
}
.section.light .card { background: #fff; border-color: #e3dcc8; }
.section.light .card h3 { color: var(--txt-dark); }
.section.light .card p { color: var(--txt-dark-dim); }
.section.light .card:hover { border-color: var(--gold); }

/* ---------- Game cards ---------- */
.game-card { display: flex; flex-direction: column; }
.game-card .badge {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #241b04; background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.game-card ul { list-style: none; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.game-card ul li {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--txt-dim);
}
.game-card .btn { margin-top: auto; }

/* ---------- Payment strip ---------- */
.pay-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px;
  background: #fff; border: 1px solid #e3dcc8; flex: 1 1 200px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}
.pay-item:hover { transform: translateY(-3px); border-color: var(--gold); }
.pay-item .pay-logo {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0; letter-spacing: 0.3px;
}
.pay-item b { display: block; font-size: 15px; color: var(--txt-dark); }
.pay-item span { font-size: 12.5px; color: var(--txt-dark-dim); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); max-width: 100%; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--ink-3); }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(212, 175, 55, 0.12); font-size: 15px; }
table.cmp thead th { background: rgba(212, 175, 55, 0.1); color: var(--gold-hi); font-family: var(--font-body); font-weight: 800; font-size: 13.5px; letter-spacing: 0.5px; text-transform: uppercase; }
table.cmp tbody tr:hover { background: rgba(212, 175, 55, 0.05); }
table.cmp td { color: var(--txt); }
table.cmp .yes { color: #4ade80; font-weight: 700; }
table.cmp .no { color: #f87171; font-weight: 700; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid #e3dcc8; border-radius: var(--radius); padding: 24px;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #241b04;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}
.step h3 { color: var(--txt-dark); font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--txt-dark-dim); font-size: 15px; }

/* ---------- Trust ---------- */
.trust-band { background: linear-gradient(135deg, var(--green-deep), #0a3f2b); border-radius: 20px; padding: 46px; color: #eafff5; position: relative; overflow: hidden; }
.trust-band::after { content: "♠"; position: absolute; right: -20px; bottom: -60px; font-size: 220px; color: rgba(255,255,255,0.05); }
.trust-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.trust-band p { color: #c9e8da; max-width: 640px; margin-bottom: 26px; }
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; position: relative; z-index: 1; }
.trust-list li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 18px; border-radius: 12px; font-size: 14.5px;
}
.trust-list li::before { content: "✓"; color: var(--gold-hi); font-weight: 900; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid #e3dcc8; border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 700; color: var(--txt-dark);
}
.faq-q .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform 0.25s var(--ease-out), background 0.25s; }
.faq-item.open .chev { transform: rotate(45deg); background: var(--gold); color: #241b04; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-out); }
.faq-a p { padding: 0 22px 20px; color: var(--txt-dark-dim); font-size: 15.5px; }

/* ---------- Tag cloud & search ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  font-size: 13.5px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--txt-dim); transition: all 0.18s var(--ease-out);
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(212, 175, 55, 0.08); text-decoration: none; }
.search-box { display: flex; gap: 10px; max-width: 560px; margin-bottom: 22px; }
.search-box input {
  flex: 1; padding: 13px 18px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ink-3); color: var(--txt); font-size: 15px; font-family: var(--font-body);
}
.search-box input:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13.5px; color: var(--txt-dim); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--gold); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--txt-dim); }
.breadcrumb a:hover { color: var(--gold-hi); }

/* ---------- Article layout ---------- */
.article-hero { padding: 40px 0 34px; background: radial-gradient(900px 300px at 20% 0%, rgba(212, 175, 55, 0.1), transparent 60%), var(--ink-2); border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; max-width: 860px; margin: 14px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--txt-dim); }
.article-meta .cat { color: var(--gold-hi); font-weight: 700; }
.article-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; padding: 48px 0 72px; }
.toc { position: sticky; top: 96px; align-self: start; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toc h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.toc ol { list-style: none; }
.toc a { display: block; padding: 7px 0; font-size: 14px; color: var(--txt-dim); border-bottom: 1px dashed rgba(212, 175, 55, 0.12); }
.toc a:hover { color: var(--gold-hi); text-decoration: none; }
.article-body { max-width: 780px; min-width: 0; }
.article-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body table thead, .article-body table tbody { display: table; min-width: 480px; width: max(100%, 480px); }
.article-body table.terms thead, .article-body table.terms tbody { min-width: 0; width: 100%; }
.article-body .featured { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 30px; }
.article-body p { margin-bottom: 20px; color: var(--txt); }
.article-body p.lead { font-size: 19.5px; color: #fff; border-left: 3px solid var(--gold); padding-left: 18px; }
.article-body h2 { font-size: 28px; color: var(--gold-hi); margin: 42px 0 18px; scroll-margin-top: 100px; }
.article-body h3 { font-size: 21px; color: #fff; margin: 30px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--txt); }
.article-body li { margin-bottom: 10px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.article-body th, .article-body td { padding: 12px 15px; border: 1px solid rgba(212, 175, 55, 0.18); text-align: left; }
.article-body thead th { background: rgba(212, 175, 55, 0.12); color: var(--gold-hi); }
.article-body p.note { font-size: 13.5px; color: var(--txt-dim); font-style: italic; }
.article-body table.terms th { width: 38%; color: var(--gold-hi); font-weight: 700; }
.article-body .promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 34px; }
.article-body .promo-card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.article-body .promo-card h3 { margin: 10px 0 8px; }
.article-body .promo-card p { font-size: 14.5px; color: var(--txt-dim); }
.article-body .promo-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #241b04; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); padding: 3px 11px; border-radius: 999px; }
.article-body .promo-card table.terms { font-size: 13.5px; margin-top: 14px; }
.article-body .promo-card table.terms th, .article-body .promo-card table.terms td { padding: 8px 10px; }
.article-faq { margin-top: 48px; }
.article-faq .faq-item { background: var(--ink-3); border-color: var(--line); }
.article-faq .faq-q { color: #fff; }
.article-faq .faq-a p { color: var(--txt-dim); }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin: 48px 0 72px; }
.auth-side { background: linear-gradient(160deg, #132018, var(--green-deep) 55%, #082b1e); padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::after { content: "♦"; position: absolute; right: -30px; top: -40px; font-size: 200px; color: rgba(212, 175, 55, 0.08); }
.auth-side h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.auth-side p { color: #c9e8da; font-size: 15.5px; margin-bottom: 14px; }
.auth-side ul { list-style: none; margin-top: 10px; }
.auth-side li { display: flex; gap: 10px; color: #eafff5; font-size: 14.5px; margin-bottom: 12px; }
.auth-side li::before { content: "✓"; color: var(--gold-hi); font-weight: 900; }
.auth-form { background: var(--ivory); padding: 52px 44px; color: var(--txt-dark); }
.auth-form h1 { font-size: 30px; margin-bottom: 8px; color: var(--txt-dark); }
.auth-form .sub { color: var(--txt-dark-dim); font-size: 15px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--txt-dark); }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid #d8d0ba;
  background: #fff; font-size: 15px; font-family: var(--font-body); color: var(--txt-dark);
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field .hint { font-size: 12.5px; color: var(--txt-dark-dim); margin-top: 5px; }
.auth-form .btn { width: 100%; margin-top: 8px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14.5px; color: var(--txt-dark-dim); }
.auth-alt a { color: var(--green-deep); font-weight: 700; }
.age-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--txt-dark-dim); margin: 16px 0; }
.age-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-deep); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #07090d; border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 44px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--txt-dim); font-size: 14.5px; }
.footer-grid a:hover { color: var(--gold-hi); }
.footer-brand p { color: var(--txt-dim); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(212, 175, 55, 0.12); padding: 20px 0 90px; font-size: 13px; color: var(--txt-dim); }
.footer-bottom .legal { margin-top: 10px; line-height: 1.7; }
.footer-bottom .legal b { color: var(--red-hi); }

/* ---------- Floating CTA (satu-satunya yang ke lookynnn123) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.88), #07090d);
  border-top: 1px solid var(--gold);
  backdrop-filter: blur(10px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.float-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.float-coin { position: relative; width: 54px; height: 54px; flex-shrink: 0; perspective: 300px; }
.float-coin .coin {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-hi), var(--gold) 55%, #8a6b1f);
  border: 2px solid #f9e7a8;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; color: #4a3605; font-size: 20px;
  box-shadow: 0 0 18px rgba(245, 215, 110, 0.55), inset 0 -4px 8px rgba(0,0,0,0.25);
  animation: coinspin 5s linear infinite;
}
@keyframes coinspin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.float-coin .spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi);
  box-shadow: 0 0 8px var(--gold-hi); animation: sparkfly 2.4s ease-in-out infinite;
}
.float-coin .spark:nth-child(2) { top: -4px; left: 8px; animation-delay: 0s; }
.float-coin .spark:nth-child(3) { top: 12px; right: -6px; animation-delay: 0.8s; }
.float-coin .spark:nth-child(4) { bottom: -2px; left: 20px; animation-delay: 1.6s; }
@keyframes sparkfly {
  0%, 100% { opacity: 0; transform: translateY(4px) scale(0.6); }
  50% { opacity: 1; transform: translateY(-6px) scale(1); }
}
.float-text { flex: 1; min-width: 0; }
.float-text b { display: block; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-text span { display: block; font-size: 12px; color: var(--gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-btns { display: flex; gap: 10px; flex-shrink: 0; }
.float-btns .btn { position: relative; overflow: hidden; }
.float-btns .btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -80%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .float-coin .coin, .float-coin .spark, .float-btns .btn::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #1a1206, #2b1e08 50%, #1a1206);
  border: 1px solid var(--line); border-radius: 20px; padding: 52px 46px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after { position: absolute; font-size: 150px; color: rgba(212, 175, 55, 0.07); }
.cta-band::before { content: "♠"; left: -20px; top: -30px; }
.cta-band::after { content: "♥"; right: -20px; bottom: -40px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--txt-dim); max-width: 620px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 52px 0 60px; }
  .hero-figure { order: -1; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 36px 28px; }
  .auth-form { padding: 36px 28px; }
  .trust-band { padding: 32px 24px; }
  .trust-list { grid-template-columns: 1fr; }
  .article-body .promo-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0d1117; border-bottom: 1px solid var(--line); padding: 12px 20px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
    background: transparent; color: var(--gold-hi); font-size: 20px; cursor: pointer;
  }
  .header-inner { flex-wrap: nowrap; }
  .header-cta .btn { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-stats { gap: 22px; }
  .float-text span { display: none; }
  .float-text b { font-size: 12.5px; }
  .float-btns .btn { padding: 10px 14px; font-size: 13px; }
  .float-coin { width: 42px; height: 42px; }
  .float-coin .coin { font-size: 15px; }
  .brand-name { font-size: 21px; }
  .brand img { width: 38px; height: 38px; }
  .step { grid-template-columns: 1fr; }
  .step::before { width: 44px; height: 44px; font-size: 20px; }
}
