/* ==========================================================================
   Ciputra — Portal Informasi Kasino Online (ciputra.games)
   Tema: gelap elegan · merah / emas / hijau / biru di atas hitam-navy
   ========================================================================== */

:root {
  --bg: #0a0d1a;
  --bg-2: #10152a;
  --surface: #151b33;
  --surface-2: #1b2344;
  --border: #273159;
  --red: #e0243f;
  --red-deep: #a5122a;
  --gold: #f5b301;
  --gold-soft: #ffd166;
  --green: #27c186;
  --blue: #4f7cff;
  --text: #eef1fb;
  --muted: #9aa6c8;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(3, 6, 18, 0.55);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(224, 36, 63, 0.14), transparent 60%),
    radial-gradient(900px 480px at -10% 12%, rgba(245, 179, 1, 0.08), transparent 55%),
    var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.28; color: #fff; overflow-wrap: break-word; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: #201500; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 0.98rem; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, #e8a200); color: #241a00; box-shadow: 0 8px 22px rgba(245, 179, 1, 0.25); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(245, 179, 1, 0.35); }
.btn-red { background: linear-gradient(180deg, #f0435c, var(--red) 60%, var(--red-deep)); color: #fff; box-shadow: 0 8px 22px rgba(224, 36, 63, 0.3); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(245, 179, 1, 0.12); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 13, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.brand-name { font-size: 1.28rem; font-weight: 800; letter-spacing: 0.4px; }
.brand-name .brand-tld { color: var(--gold); font-weight: 700; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 0.95rem;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(245, 179, 1, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.88rem;
}
.search-toggle:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.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); }

/* ---------- Overlay pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 1500; padding: 12vh 16px 16px;
  background: rgba(6, 8, 18, 0.85); backdrop-filter: blur(8px); overflow-y: auto;
}
.search-overlay[hidden] { display: none; }
.search-panel { max-width: 760px; }
.search-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
}
.search-bar svg { color: var(--gold); flex: none; }
.search-bar input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--text); font: inherit; font-size: 1.05rem; padding: 10px 0;
}
.search-bar input::placeholder { color: var(--muted); }
.search-close {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1.25rem; line-height: 1;
}
.search-close:hover { background: rgba(255, 255, 255, 0.16); }
.search-tags { margin: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-tags-label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.search-tags a {
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border); color: var(--text); font-size: 0.86rem; font-weight: 600;
}
.search-tags a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.search-results { margin-top: 10px; }
.search-result {
  display: block; padding: 14px 18px; margin: 10px 0; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: inherit;
}
.search-result:hover { border-color: var(--gold); text-decoration: none; }
.search-result h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--gold); }
.search-result p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.search-empty { color: var(--muted); padding: 12px 4px; }
.search-noscript { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 26, 0.55) 0%, rgba(10, 13, 26, 0.82) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0 66px; max-width: 780px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; margin-bottom: 18px;
  background: rgba(224, 36, 63, 0.16); border: 1px solid rgba(224, 36, 63, 0.45);
  color: #ffb3be; border-radius: 999px; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.4px;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { margin: 0 0 26px; color: #d7ddf0; font-size: 1.08rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 0.86rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.age-chip {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 6px;
  border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; font-size: 0.78rem;
}

/* ---------- Section umum ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  margin: 0 0 8px; font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 800;
  display: flex; align-items: center; gap: 12px;
}
.section-title::before { content: ""; width: 6px; height: 30px; border-radius: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); flex: none; }
.section-sub { margin: 0 0 34px; color: var(--muted); max-width: 720px; }
.section-head-center { text-align: center; }
.section-head-center .section-title { justify-content: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Kartu / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 12px; margin-bottom: 16px; font-size: 1.35rem;
  background: linear-gradient(160deg, rgba(245, 179, 1, 0.18), rgba(224, 36, 63, 0.14));
  border: 1px solid rgba(245, 179, 1, 0.3);
}
.card.gold .icon { background: linear-gradient(160deg, rgba(245, 179, 1, 0.24), rgba(245, 179, 1, 0.08)); }
.card.green .icon { background: linear-gradient(160deg, rgba(39, 193, 134, 0.22), rgba(39, 193, 134, 0.08)); border-color: rgba(39, 193, 134, 0.35); }
.card.blue .icon { background: linear-gradient(160deg, rgba(79, 124, 255, 0.22), rgba(79, 124, 255, 0.08)); border-color: rgba(79, 124, 255, 0.35); }
.card.red .icon { background: linear-gradient(160deg, rgba(224, 36, 63, 0.24), rgba(224, 36, 63, 0.08)); border-color: rgba(224, 36, 63, 0.4); }

/* ---------- Kartu kategori (gambar) ---------- */
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); color: #fff; box-shadow: var(--shadow); min-height: 230px;
}
.cat-card:hover { text-decoration: none; border-color: var(--gold); }
.cat-card img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-body {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 22, 0.94) 62%);
}
.cat-card h3 { margin: 0 0 4px; color: var(--gold); }
.cat-card p { margin: 0; font-size: 0.88rem; color: #cfd6ea; }

/* ---------- Split (gambar + teks) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li { position: relative; padding: 7px 0 7px 34px; color: #d7ddf0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 23px; height: 23px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(39, 193, 134, 0.16); color: var(--green); border: 1px solid rgba(39, 193, 134, 0.4);
  border-radius: 50%; font-size: 0.8rem; font-weight: 800;
}

/* ---------- Testimoni ---------- */
.testi-card { display: flex; flex-direction: column; gap: 12px; }
.testi-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testi-card blockquote { margin: 0; color: #d7ddf0; font-size: 0.95rem; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #241a00; background: linear-gradient(160deg, var(--gold-soft), var(--gold));
}
.testi-who strong { display: block; font-size: 0.92rem; color: #fff; }
.testi-who span { font-size: 0.8rem; color: var(--muted); }
.testi-note { margin: 22px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 0.83rem; }

/* ---------- Kamus istilah ---------- */
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.glossary-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.glossary-item dt { font-weight: 800; color: var(--gold); margin-bottom: 4px; font-size: 0.98rem; }
.glossary-item dd { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Artikel ---------- */
.article-hero { padding: 34px 0 8px; }
.article-head { max-width: 840px; margin: 0 auto; }
.article-head h1 { margin: 10px 0 14px; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.86rem; margin-bottom: 24px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-figure { margin: 0 auto 34px; max-width: 980px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-figure figcaption { padding: 10px 16px; background: var(--surface); color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--border); }
.article-body { max-width: 800px; margin: 0 auto; font-size: 1.03rem; color: #dbe1f3; }
.article-body h2 { margin: 40px 0 14px; font-size: 1.45rem; padding-left: 14px; border-left: 4px solid var(--gold); }
.article-body h3 { margin: 26px 0 10px; font-size: 1.12rem; color: var(--gold-soft); }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #fff; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.94rem; display: block; overflow-x: auto; }
.article-body th { background: var(--surface-2); color: var(--gold); text-align: left; }
.article-body th, .article-body td { padding: 11px 14px; border: 1px solid var(--border); vertical-align: top; }
.article-body .img-inline { margin: 26px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.callout {
  margin: 24px 0; padding: 18px 22px; border-radius: 12px; font-size: 0.97rem;
  background: rgba(79, 124, 255, 0.1); border: 1px solid rgba(79, 124, 255, 0.35);
}
.callout-green { background: rgba(39, 193, 134, 0.1); border-color: rgba(39, 193, 134, 0.35); }
.callout-red { background: rgba(224, 36, 63, 0.1); border-color: rgba(224, 36, 63, 0.4); }
.callout-gold { background: rgba(245, 179, 1, 0.1); border-color: rgba(245, 179, 1, 0.4); }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

/* ---------- Promo ---------- */
.promo-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.promo-card img { width: 100%; height: 200px; object-fit: cover; }
.promo-card .promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card h3 { margin: 0; }
.promo-card p { margin: 0; flex: 1; }
.promo-tag {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.4px; text-transform: uppercase; color: #241a00;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}
.terms-table th[scope="row"] { color: #fff; width: 34%; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(245, 179, 1, 0.14); color: var(--gold); font-weight: 800;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--border); }
.faq-answer { padding: 14px 20px 18px; color: var(--muted); font-size: 0.96rem; }
.faq-answer p { margin: 0; }

/* ---------- Form ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.form-card h1 { margin: 0 0 6px; font-size: 1.7rem; }
.form-sub { color: var(--muted); margin: 0 0 24px; font-size: 0.95rem; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="password"] {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none;
}
.form-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.18); }
.form-field .hint { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.form-field-error input { border-color: var(--red); }
.form-message { color: #ffb3be; font-size: 0.85rem; margin: -10px 0 14px; display: none; }
.form-message.show { display: block; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 0.88rem; color: var(--muted); }
.form-check input { margin-top: 4px; accent-color: var(--gold); width: 17px; height: 17px; flex: none; }
.form-note { margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: 0.85rem; color: var(--muted); background: var(--bg-2); border: 1px dashed var(--border); }
.form-note a { color: var(--gold); }
.form-alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumbs { padding: 16px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.84rem; }
.breadcrumbs li { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--gold); font-weight: 700; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: #d7ddf0; }

/* ---------- Terkait / tautan internal ---------- */
.related { max-width: 840px; margin: 34px auto 0; }
.related h2 { font-size: 1.25rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.related h2::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related a {
  display: block; padding: 13px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: #d7ddf0; font-weight: 600; font-size: 0.92rem;
}
.related a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.related a small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }

/* ---------- Mockup ponsel (visual CSS murni) ---------- */
.phone-mockup { display: flex; justify-content: center; }
.phone-frame {
  width: 280px; padding: 12px; border-radius: 38px;
  background: linear-gradient(160deg, #232c52, #10152a);
  border: 1.5px solid rgba(245, 179, 1, 0.5); box-shadow: var(--shadow);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: #0a0d1a; position: relative; }
.pm-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.pm-logo {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold)); color: #241a00; font-weight: 800;
}
.pm-lines { display: flex; flex-direction: column; gap: 4px; }
.pm-lines i { display: block; width: 44px; height: 4px; border-radius: 2px; background: #2a3358; }
.pm-hero { height: 88px; margin: 6px 12px; border-radius: 14px; background: linear-gradient(120deg, rgba(224, 36, 63, 0.5), rgba(245, 179, 1, 0.35)); }
.pm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 4px; }
.pm-cards span { height: 52px; border-radius: 10px; background: #151b33; border: 1px solid #273159; }
.pm-text { padding: 12px 16px 60px; }
.pm-text i { display: block; height: 6px; border-radius: 3px; background: #232c52; margin-bottom: 7px; }
.pm-text i:nth-child(1) { width: 90%; }
.pm-text i:nth-child(2) { width: 75%; }
.pm-text i:nth-child(3) { width: 55%; }
.pm-float {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 14px; background: rgba(27, 35, 68, 0.97);
  border: 1px solid rgba(245, 179, 1, 0.55);
}
.pm-chip { flex: 1; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, #f5b301 0 8px, #ffd166 8px 16px); opacity: 0.85; }
.pm-btn { padding: 7px 14px; border-radius: 999px; font-size: 0.7rem; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #241a00; }
.pm-btn-o { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #070a14; padding: 56px 0 120px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 36px; }
.footer-col h3 { margin: 4px 0 14px; font-size: 0.98rem; color: var(--gold); letter-spacing: 0.3px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 16px 0 0; }
.footer-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.badge-18 {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 7px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 0.82rem;
}
.badge-responsible {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 7px;
  background: rgba(39, 193, 134, 0.14); border: 1px solid rgba(39, 193, 134, 0.45);
  color: var(--green); font-weight: 700; font-size: 0.82rem;
}
.footer-legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); }
.footer-legal p { color: var(--muted); font-size: 0.84rem; margin: 0 0 12px; }
.footer-copy { color: #6c7799 !important; }

/* ---------- Widget mengambang (slot + koin) ---------- */
.float-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: flex; justify-content: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.float-widget-inner {
  pointer-events: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  max-width: 660px; width: 100%;
  padding: 10px 18px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(27, 35, 68, 0.97), rgba(16, 21, 42, 0.97));
  border: 1.5px solid rgba(245, 179, 1, 0.55);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(224, 36, 63, 0.25);
  backdrop-filter: blur(8px);
}
.float-slot { position: relative; width: 64px; height: 44px; flex: none; }
.slot-svg { display: block; }
.reel text { animation: reel-spin 6s linear infinite; }
.reel-b text { animation-delay: 0.35s; }
.reel-c text { animation-delay: 0.7s; }
@keyframes reel-spin {
  0%, 18% { transform: translateY(0); }
  28%, 62% { transform: translateY(3px); }
  72%, 100% { transform: translateY(0); }
}
.coin { position: absolute; }
.coin-1 { top: -8px; right: -4px; animation: coin-float 3.2s ease-in-out infinite; }
.coin-2 { bottom: -6px; right: -12px; animation: coin-float 3.2s ease-in-out infinite 0.7s; }
@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-5px) rotate(8deg); }
}
.float-text { margin: 0; font-size: 0.9rem; font-weight: 700; color: #fff; text-align: center; }
.float-actions { display: flex; gap: 10px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel text, .coin-1, .coin-2 { animation: none; }
  .cat-card img, .btn { transition: none; }
}

/* ---------- Artikel unggulan di beranda ---------- */
.home-article-title {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .search-toggle span { display: none; }
  .search-toggle { padding: 8px 11px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0c101f; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 10px 16px 16px; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; }
  .header-actions .btn-ghost { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-inner { padding: 54px 0 46px; }
  .section { padding: 44px 0; }
  .hero-actions .btn { width: 100%; }
  .related ul { grid-template-columns: 1fr; }
  .search-toggle span { display: none; }
  .float-widget-inner { gap: 10px; padding: 8px 12px; border-radius: 14px; }
  .float-text { display: none; }
  .float-actions { flex: 1; }
  .float-actions .btn { flex: 1; padding: 10px 12px; }
  .float-slot { width: 52px; height: 36px; }
  .slot-svg { width: 52px; height: 36px; }
  .form-card { padding: 26px 20px; }
  .article-body { font-size: 1rem; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; min-height: 60px; }
  .brand { gap: 7px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.02rem; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 7px 12px; font-size: 0.8rem; }
  .container { padding: 0 14px; }
}

@media (max-width: 400px) {
  .float-slot { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand-name .brand-tld { display: none; }
}
