/* ============================================================
   Hoki138 — Casino Editorial Design System
   Merah Hoki #C8102E · Emas #F5B301 · Arang #141414
   Typography: Plus Jakarta Sans (display+body) / Space Grotesk (numbers)
   ============================================================ */
:root {
  --red: #C8102E;
  --red-dark: #9B0C23;
  --gold: #F5B301;
  --gold-soft: #FFD34D;
  --ink: #141414;
  --ink-2: #1E1E24;
  --paper: #FAF7F2;
  --white: #FFFFFF;
  --green: #1E9E5A;
  --blue: #1F6FEB;
  --gray: #5C5C66;
  --gray-light: #E8E4DC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(20, 20, 20, .08);
  --shadow-lg: 0 12px 40px rgba(20, 20, 20, .14);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-num: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--ink);
  color: #cfcfd6;
  font-size: 12.5px;
  padding: 7px 0;
  letter-spacing: .02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar .age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700; font-family: var(--font-num);
}
.topbar .age-badge .circle {
  width: 22px; height: 22px; border: 2px solid var(--gold); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px;
}
.topbar .region { display: none; }
@media (min-width: 640px) { .topbar .region { display: inline; } }

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(20,20,20,.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand .wordmark {
  font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -.02em;
  line-height: 1;
}
.brand .wordmark em {
  font-style: normal; color: var(--gold);
  font-family: var(--font-num); font-weight: 700;
  display: inline-block; transform: rotate(-2deg);
}
.brand .tagline { display: block; font-size: 10.5px; color: var(--gray); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: none; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 14.5px;
  border-radius: 999px; transition: all .18s var(--ease);
}
.main-nav a:hover { background: var(--paper); color: var(--red); text-decoration: none; }
.main-nav a.active { color: var(--red); position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; background: var(--gold); border-radius: 2px;
}
@media (min-width: 1024px) { .main-nav { display: block; } }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; border-radius: 999px;
  padding: 11px 22px; border: 0; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E09E00 100%);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(245, 179, 1, .35);
}
.btn-gold:hover { box-shadow: 0 6px 20px rgba(245, 179, 1, .5); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-red {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 14px rgba(200, 16, 46, .3);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.search-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gray-light);
  background: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all .18s var(--ease);
}
.search-toggle:hover { border-color: var(--red); color: var(--red); }
.menu-toggle {
  width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--gray-light);
  background: var(--white); cursor: pointer; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav { display: none; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 24px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--paper);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); background: var(--paper); text-decoration: none; }

/* ---------- Search overlay ---------- */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(20, 20, 20, .7); backdrop-filter: blur(4px);
  padding: 80px 20px 20px;
}
.search-overlay.open { display: block; }
.search-box {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
}
.search-box h3 { font-size: 18px; margin-bottom: 14px; }
.search-box form { display: flex; gap: 10px; }
.search-box input[type="search"] {
  flex: 1; min-width: 0; padding: 13px 18px; border: 2px solid var(--gray-light);
  border-radius: 999px; font-size: 15px; font-family: inherit; outline: none;
}
.search-box input[type="search"]:focus { border-color: var(--gold); }
.search-results { margin-top: 18px; max-height: 320px; overflow-y: auto; }
.search-results a {
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.search-results a:hover { background: var(--paper); text-decoration: none; color: var(--red); }
.search-results .sr-cat { display: block; font-size: 11.5px; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.search-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--white); font-size: 20px; cursor: pointer;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--gray-light); padding: 12px 0; font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--gray); }
.breadcrumb li + li::before { content: "›"; color: var(--gold); font-weight: 700; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 75% 40%, rgba(200,16,46,.25), transparent 60%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,179,1,.12), transparent 60%);
}
.hero .container {
  position: relative; display: grid; gap: 36px;
  padding-top: 56px; padding-bottom: 56px;
}
@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 7fr 5fr; align-items: center; padding-top: 80px; padding-bottom: 80px; }
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px;
}
.hero .kicker::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  border: 3px dashed var(--gold); opacity: .8;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); line-height: 1.15;
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: clamp(16px, 2vw, 18.5px); color: #C9C9D2; max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: #9a9aa5; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--gold); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 1px solid rgba(245,179,1,.25); }
.hero-media .chip-float {
  position: absolute; top: -18px; right: -10px;
  background: var(--gold); color: var(--ink); font-family: var(--font-num);
  font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(245,179,1,.4); transform: rotate(4deg);
}

/* ---------- Section scaffolding ---------- */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 88px 0; } }
.section-dark { background: var(--ink); color: var(--white); }
.section-white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
}
.section-dark .section-head .kicker { color: var(--gold); }
.section-head .kicker::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  border: 3px dashed currentColor; opacity: .7;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 16.5px; }
.section-dark .section-head p { color: #B9B9C4; }

/* ---------- Steps (Panduan 4 Langkah) ---------- */
.steps-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--gray-light); position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.step-card .num {
  font-family: var(--font-num); font-size: 44px; font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; color: var(--gray); line-height: 1.7; }
.step-card .suit { position: absolute; top: 20px; right: 20px; font-size: 22px; opacity: .12; }

/* ---------- Promo / advantage cards ---------- */
.promo-band { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); border-radius: var(--radius); overflow: hidden; position: relative; }
.promo-band::after { content: "♦"; position: absolute; right: -20px; bottom: -50px; font-size: 220px; opacity: .08; }
.promo-band .inner { display: grid; gap: 28px; padding: 40px 28px; position: relative; z-index: 1; }
@media (min-width: 1024px) { .promo-band .inner { grid-template-columns: 1fr 1fr; align-items: center; padding: 56px; } }
.promo-band h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.promo-band p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.promo-band img { border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.promo-tag {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-family: var(--font-num); font-weight: 700; font-size: 12.5px;
  padding: 6px 14px; margin-bottom: 16px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.adv-grid { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 768px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
.adv-card {
  background: var(--paper); border-radius: var(--radius); padding: 26px 24px;
  border-top: 4px solid var(--gold);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--gold);
}
.adv-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 14.5px; color: var(--gray); }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 5fr 7fr; } }
.why-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.why-list { display: grid; gap: 16px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-top: 3px;
}
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: #B9B9C4; }
.section-dark .why-item p { color: #B9B9C4; }

/* ---------- Payment methods ---------- */
.pay-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .pay-grid { grid-template-columns: repeat(4, 1fr); } }
.pay-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.pay-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.pay-card .icon { font-size: 30px; margin-bottom: 10px; }
.pay-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pay-card p { font-size: 12.5px; color: var(--gray); line-height: 1.6; }
.pay-note {
  margin-top: 26px; background: #FFF8E6; border: 1px solid #F0DFA8; border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 13.5px; color: #6b5b1e;
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid var(--gray-light); position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 8px; right: 20px;
  font-size: 72px; color: var(--gold); opacity: .25; font-family: Georgia, serif; line-height: 1;
}
.testi-card p { font-size: 14.5px; color: var(--ink); margin-bottom: 18px; position: relative; z-index: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.testi-card .who b { display: block; font-size: 14px; }
.testi-card .who small { color: var(--gray); font-size: 12px; }
.testi-note { margin-top: 22px; font-size: 12.5px; color: var(--gray); font-style: italic; }

/* ---------- Glossary (innovative section) ---------- */
.glossary-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .glossary-wrap { grid-template-columns: 7fr 5fr; align-items: start; } }
.glossary-list { display: grid; gap: 12px; }
.glossary-item {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-sm);
  padding: 18px 20px; cursor: pointer; transition: border-color .18s var(--ease);
}
.glossary-item:hover { border-color: var(--gold); }
.glossary-item .term {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px;
}
.glossary-item .term .badge {
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  background: var(--ink); color: var(--gold); padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0;
}
.glossary-item .def { display: none; margin-top: 12px; font-size: 14.5px; color: var(--gray); border-top: 1px dashed var(--gray-light); padding-top: 12px; }
.glossary-item.open .def { display: block; }
.glossary-side { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 30px 26px; position: sticky; top: 96px; }
.glossary-side h3 { color: var(--gold); font-size: 19px; margin-bottom: 12px; }
.glossary-side p { font-size: 14.5px; color: #B9B9C4; margin-bottom: 18px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .sec-grid { grid-template-columns: 6fr 6fr; } }
.sec-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.sec-list { display: grid; gap: 14px; margin-top: 22px; }
.sec-list li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink);
}
.sec-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#fff,#fff);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  background: var(--green);
}

/* ---------- Responsible gaming ---------- */
.rg-band { background: linear-gradient(135deg, #0E3D24 0%, #14532D 100%); color: var(--white); border-radius: var(--radius); padding: 44px 28px; position: relative; overflow: hidden; }
@media (min-width: 1024px) { .rg-band { padding: 56px; } }
.rg-band::after { content: "♣"; position: absolute; right: -10px; top: -40px; font-size: 180px; opacity: .07; }
.rg-band h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.rg-band > p { color: rgba(255,255,255,.85); max-width: 760px; margin-bottom: 26px; position: relative; z-index: 1; }
.rg-grid { display: grid; gap: 14px; position: relative; z-index: 1; }
@media (min-width: 768px) { .rg-grid { grid-template-columns: repeat(3, 1fr); } }
.rg-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 20px; }
.rg-item h3 { font-size: 15.5px; margin-bottom: 8px; color: #A7F3C7; }
.rg-item p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.65; }
.rg-warning {
  margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  background: rgba(0,0,0,.25); border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 13.5px; color: #FFE9A8; position: relative; z-index: 1;
}
.rg-warning .age18 {
  width: 40px; height: 40px; border: 3px solid var(--gold); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; color: var(--gold); flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: inherit;
}
.faq-q .arrow { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); font-size: 13px; color: var(--red); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); background: var(--red); color: var(--white); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 14.5px; color: var(--gray); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); border-radius: var(--radius); padding: 48px 28px;
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(245,179,1,.15), transparent 60%);
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-band h2 .hl { color: var(--gold); }
.cta-band p { color: #B9B9C4; max-width: 560px; margin: 0 auto 26px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9a9aa5; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #9a9aa5; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand p { margin-top: 14px; line-height: 1.7; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: var(--ink-2); border: 1px solid rgba(245,179,1,.2); color: #cfcfd6;
  font-size: 12px; padding: 6px 12px; border-radius: 999px; transition: all .18s var(--ease);
}
.tag-cloud a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 90px; font-size: 12.5px; line-height: 1.8; }
.footer-legal .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.footer-legal .badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px;
  color: #cfcfd6; font-weight: 600;
}
.footer-legal .badge.gold { border-color: var(--gold); color: var(--gold); }

/* ---------- Floating CTA (slot machine style) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: linear-gradient(180deg, rgba(20,20,20,.92), var(--ink));
  border-top: 2px solid var(--gold);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}
.float-cta .wrap { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.float-cta .reels {
  display: flex; gap: 5px; flex-shrink: 0;
}
.float-cta .reel {
  width: 34px; height: 40px; border-radius: 8px;
  background: linear-gradient(180deg, #2a2a32, #17171c);
  border: 1px solid rgba(245,179,1,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 19px; color: var(--gold);
  animation: reelspin 3s infinite var(--ease);
}
.float-cta .reel:nth-child(2) { animation-delay: .35s; }
.float-cta .reel:nth-child(3) { animation-delay: .7s; }
@keyframes reelspin {
  0%, 12% { transform: translateY(0); }
  4% { transform: translateY(-4px); }
  8% { transform: translateY(3px); }
}
.float-cta .coins { position: relative; flex-shrink: 0; width: 34px; height: 40px; display: none; }
@media (min-width: 480px) { .float-cta .coins { display: block; } }
.float-cta .coin {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 60%, #B8860B);
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  animation: coinfloat 2.4s infinite ease-in-out;
}
.float-cta .coin:nth-child(1) { left: 0; top: 4px; }
.float-cta .coin:nth-child(2) { left: 14px; top: 16px; animation-delay: .8s; }
.float-cta .coin:nth-child(3) { left: 4px; top: 26px; animation-delay: 1.6s; }
@keyframes coinfloat {
  0%, 100% { transform: translateY(0) rotateY(0); }
  50% { transform: translateY(-6px) rotateY(180deg); }
}
.float-cta .btns { display: flex; gap: 10px; flex: 1; }
.float-cta .btn { flex: 1; padding: 13px 10px; font-size: 15px; }
.float-cta .btn-gold { animation: pulse-gold 2.6s infinite; }
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 14px rgba(245,179,1,.35); }
  50% { box-shadow: 0 4px 26px rgba(245,179,1,.65); }
}

/* ---------- Category & article pages ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 52px 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 20%, rgba(200,16,46,.3), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(26px, 4.5vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 800px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 13px; color: #9a9aa5; font-family: var(--font-num); }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.article-layout { display: grid; gap: 40px; padding: 48px 0 72px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 7fr 5fr; } }
.article-body { max-width: 760px; }
.article-body .lead { font-size: 18.5px; line-height: 1.8; color: var(--ink); font-weight: 500; margin-bottom: 26px; }
.article-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 38px 0 14px; padding-left: 16px; border-left: 4px solid var(--gold); }
.article-body p { margin-bottom: 18px; color: #2b2b31; }
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 14px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); display: table; }
.article-body thead { background: var(--ink); color: var(--gold); }
.article-body th { padding: 12px 14px; text-align: left; font-family: var(--font-num); font-size: 13px; }
.article-body td { padding: 12px 14px; border-top: 1px solid var(--gray-light); }
.article-body img.featured { border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow-lg); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: #2b2b31; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body em { color: var(--gray); }

.article-sidebar { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1024px) { .article-sidebar { position: sticky; top: 96px; } }
.side-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 24px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-card ul { list-style: none; display: grid; gap: 10px; }
.side-card ul a { color: var(--ink); font-weight: 600; font-size: 14px; display: flex; gap: 8px; }
.side-card ul a::before { content: "♦"; color: var(--gold); font-size: 11px; margin-top: 3px; }
.side-card ul a:hover { color: var(--red); text-decoration: none; }
.side-cta { background: var(--ink); color: var(--white); border: none; }
.side-cta h3 { color: var(--gold); border-color: var(--gold); }
.side-cta p { font-size: 13.5px; color: #B9B9C4; margin-bottom: 16px; }

.article-cards { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 768px) { .article-cards { grid-template-columns: repeat(2, 1fr); } }
.article-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card .meta { font-size: 12px; color: var(--gray); font-family: var(--font-num); display: flex; gap: 12px; }
.article-card h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--red); text-decoration: none; }
.article-card p { font-size: 14px; color: var(--gray); flex: 1; }
.article-card .more { font-weight: 700; font-size: 14px; color: var(--red); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 70vh; display: grid; align-items: center; padding: 56px 0; background: var(--ink); position: relative; overflow: hidden; }
.auth-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 20% 20%, rgba(200,16,46,.25), transparent 60%),
              radial-gradient(ellipse 40% 40% at 85% 85%, rgba(245,179,1,.12), transparent 60%);
}
.auth-card {
  position: relative; max-width: 440px; margin: 0 auto; width: calc(100% - 40px);
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.auth-card .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.auth-card .logo-row img { width: 40px; height: 40px; }
.auth-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { font-size: 13.5px; color: var(--gray); margin-bottom: 24px; }
.auth-card label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.auth-card input {
  width: 100%; padding: 13px 16px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; margin-bottom: 16px; outline: none; transition: border-color .18s;
}
.auth-card input:focus { border-color: var(--gold); }
.auth-card .btn { width: 100%; }
.auth-card .alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--gray); }
.auth-card .legal { margin-top: 18px; font-size: 11.5px; color: var(--gray); line-height: 1.6; text-align: center; }
.auth-card .age-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--red); font-weight: 700; }

/* ---------- 404 ---------- */
.nf-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.nf-wrap .code { font-family: var(--font-num); font-size: 90px; font-weight: 700; color: var(--gold); line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-cta .reel, .float-cta .coin, .float-cta .btn-gold { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.disclaimer-inline { font-size: 12.5px; color: var(--gray); font-style: italic; margin-top: 16px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 26px; }
.table-scroll table { margin: 0; min-width: 560px; }
@media (max-width: 640px) {
  .article-body, .article-layout { min-width: 0; }
}
