/* Mahkota188 - style utama (id-ID) */
:root {
  --merah: #C8102E;
  --merah-2: #9E0C23;
  --emas: #E3A62C;
  --emas-2: #F6D47C;
  --gelap: #191420;
  --gelap-2: #241C30;
  --gelap-3: #2F2540;
  --tinta: #272030;
  --abu: #6E6578;
  --garis: #ECE5D8;
  --lembut: #FAF7F0;
  --putih: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(25, 20, 32, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--putih);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--merah); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- aksesibilitas ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--gelap);
  color: var(--emas-2); padding: 10px 16px; z-index: 300;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- tipografi umum ---------- */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; color: var(--gelap); overflow-wrap: break-word; }
.kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--merah);
  margin-bottom: 10px;
}
.sec { padding: 58px 0; }
.sec-soft { background: var(--lembut); border-top: 1px solid var(--garis); border-bottom: 1px solid var(--garis); }
.sec-head { max-width: 780px; margin-bottom: 36px; }
.sec-head.center, .wrap .center.sec-head { margin-left: auto; margin-right: auto; }
.sec-lead { color: var(--abu); margin-top: 12px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: 0.02em; border-radius: 10px;
  padding: 13px 28px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--emas-2), var(--emas));
  color: var(--gelap); box-shadow: 0 6px 18px rgba(227, 166, 44, 0.35);
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(227, 166, 44, 0.5); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--merah); border-color: var(--merah); }
.btn-outline:hover { background: var(--merah); color: #fff; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.topbar { background: linear-gradient(90deg, var(--merah-2), var(--merah)); color: #fff; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar a { color: var(--emas-2); font-weight: 600; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.topbar-right { flex-shrink: 0; }
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(25, 20, 32, 0.97);
  border-bottom: 3px solid var(--emas);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 20px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; flex-shrink: 0; }
.brand svg { width: 42px; height: 42px; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.brand-name em { font-style: normal; color: var(--emas-2); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a {
  color: #EDE7F3; font-size: 14.5px; font-weight: 600; padding: 8px 12px;
  border-radius: 8px; text-decoration: none !important; white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,0.08); }
.nav a.active { color: var(--emas-2); background: rgba(227,166,44,0.12); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-mini { padding: 9px 18px; font-size: 14px; }
.search-mini { display: flex; }
.search-mini input {
  background: var(--gelap-3); border: 1px solid var(--gelap-3); color: #fff;
  padding: 9px 12px; font-size: 13.5px; border-radius: 8px 0 0 8px; outline: none;
  width: 150px; transition: width 0.2s ease; font-family: var(--sans);
}
.search-mini input:focus { width: 190px; border-color: var(--emas); }
.search-mini button {
  background: var(--emas); border: 1px solid var(--emas); color: var(--gelap);
  padding: 0 12px; border-radius: 0 8px 8px 0; cursor: pointer; display: flex; align-items: center;
}
.search-mini button svg { width: 16px; height: 16px; }
.burger {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px; color: #fff; padding: 8px 10px; cursor: pointer;
}
.burger svg { width: 20px; height: 20px; display: block; }

/* ---------- breadcrumbs ---------- */
.crumbs { background: var(--lembut); border-bottom: 1px solid var(--garis); font-size: 13px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--abu); }
.crumbs li + li::before { content: "\203A"; color: var(--emas); font-weight: 700; }
.crumbs a { color: var(--abu); font-weight: 600; }
.crumbs a:hover { color: var(--merah); }
.crumbs [aria-current] { color: var(--tinta); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(227,166,44,0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(200,16,46,0.28), transparent 60%),
    linear-gradient(180deg, var(--gelap), var(--gelap-2));
  color: #F4EFF8; padding: 64px 0 46px;
}
.hero-inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); gap: 44px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 6px 0 18px; }
.hero .kicker { color: var(--emas-2); }
.hero .lead { color: #CFC7DA; font-size: 17px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(246,212,124,0.55); color: var(--emas-2);
  padding: 5px 12px; border-radius: 999px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 12.5px; color: #9C92AB; margin-top: 14px; max-width: 520px; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius); aspect-ratio: 16 / 11; object-fit: cover;
  border: 1px solid rgba(246,212,124,0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  width: 100%;
}
.hero-frame { display: none; }
.tagband { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.tagband-label { color: #B9AFC7; font-size: 13px; margin-right: 4px; }
.chip {
  display: inline-block; background: rgba(255,255,255,0.07); color: var(--emas-2);
  border: 1px solid rgba(246,212,124,0.35); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; text-decoration: none !important;
}
.chip:hover { background: rgba(246,212,124,0.15); }

/* ---------- kartu ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.card, .promo-card {
  background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .promo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(25,20,32,0.16); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lembut); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body, .promo-card .card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3, .promo-card h3 { font-size: 20px; }
.card-body p { color: var(--abu); font-size: 14.5px; flex: 1; }
.card-link { font-weight: 700; font-size: 14px; color: var(--merah); }
.tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
}
.tag-gold { background: rgba(227,166,44,0.16); color: #8A6210; }
.tag-red { background: rgba(200,16,46,0.10); color: var(--merah); }
.tag-dark { background: rgba(25,20,32,0.08); color: var(--gelap); }

/* ---------- brand grid ---------- */
.brand-grid { align-items: center; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative; padding-left: 34px; color: var(--tinta); font-size: 15.5px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: linear-gradient(180deg, var(--emas-2), var(--emas));
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px;
  border-left: 2.5px solid var(--gelap); border-bottom: 2.5px solid var(--gelap);
  transform: rotate(-45deg);
}
.num-list li { margin-bottom: 10px; }

/* ---------- why ---------- */
.why-item {
  background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.why-item .num {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--emas);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--emas); margin-bottom: 14px; background: var(--lembut);
}
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--abu); font-size: 14.5px; }

/* ---------- mobile section ---------- */
.mobile-grid { align-items: center; gap: 40px; }
.mobile-media img, .secv-media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--garis); width: 100%; object-fit: cover;
}
.mobile-media img { aspect-ratio: 3 / 2; }

/* ---------- quotes ---------- */
.quote-card {
  background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); position: relative;
}
.quote-card::before {
  content: "\201C"; font-family: var(--serif); font-size: 64px; line-height: 1;
  color: rgba(227,166,44,0.45); position: absolute; top: 10px; left: 18px;
}
.quote-card blockquote { font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--gelap); margin: 18px 0 12px; }
.quote-card figcaption { font-size: 13px; color: var(--abu); font-weight: 600; }

/* ---------- kamus istilah ---------- */
.term-grid { margin-top: 8px; }
.term {
  background: var(--putih); border: 1px solid var(--garis); border-left: 4px solid var(--emas);
  border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow);
}
.term h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--merah); }
.term p { font-size: 14px; color: var(--abu); }

/* ---------- keamanan ---------- */
.secv-grid { align-items: center; gap: 40px; }
.secv-media img { aspect-ratio: 3 / 2; }
.secv-note {
  margin-top: 16px; background: rgba(200,16,46,0.06); border: 1px solid rgba(200,16,46,0.2);
  padding: 14px 18px; border-radius: 10px; font-size: 14px; color: var(--tinta);
}

/* ---------- artikel unggulan ---------- */
.feature-art { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 36px; align-items: start; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--garis); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- prose ---------- */
.prose h2 { font-size: 26px; margin: 34px 0 14px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: #3A3344; }
.prose ul, .prose ol { margin: 0 0 16px; color: #3A3344; }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 600; }
.prose strong { color: var(--gelap); }
.lead-in { font-size: 17.5px; color: var(--gelap); font-weight: 500; }
.art-img {
  width: 100%; border-radius: var(--radius); margin: 20px 0 8px;
  border: 1px solid var(--garis); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover;
}

/* ---------- tabel syarat ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; border-radius: 10px; border: 1px solid var(--garis); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; background: var(--putih); }
.table-wrap th {
  background: var(--gelap); color: var(--emas-2); text-align: left;
  padding: 12px 16px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--garis); vertical-align: top; color: #3A3344; }
.table-wrap td:first-child { font-weight: 700; color: var(--gelap); white-space: nowrap; }

/* ---------- note ---------- */
.note {
  border-radius: 10px; padding: 16px 20px; margin: 18px 0; font-size: 14.5px;
  border: 1px solid rgba(200,16,46,0.25); background: rgba(200,16,46,0.05); color: #4A2430;
}
.note-warn { border-left: 4px solid var(--merah); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--putih); border: 1px solid var(--garis); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 20px;
  font-weight: 700; font-size: 15.5px; color: var(--gelap); position: relative;
  font-family: var(--sans);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(227,166,44,0.18); color: #8A6210; font-weight: 800; font-size: 17px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--merah); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { color: #3A3344; font-size: 15px; }

/* ---------- promo grid ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin: 20px 0 10px; }
.wrap .btn.outline-center { margin-top: 26px; }

/* ---------- artikel halaman kategori ---------- */
.page-head {
  background:
    radial-gradient(800px 300px at 90% -40%, rgba(227,166,44,0.18), transparent 60%),
    linear-gradient(180deg, var(--gelap), var(--gelap-2));
  color: #F4EFF8; padding: 46px 0;
}
.page-head h1 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin: 6px 0 12px; }
.page-head .kicker { color: var(--emas-2); }
.page-head .desc { color: #CFC7DA; max-width: 760px; font-size: 16px; }
.page-main { padding: 44px 0 58px; }
.page-main .prose { max-width: 820px; }
.layout-2col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,320px); gap: 44px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 92px; }
.side-box { background: var(--lembut); border: 1px solid var(--garis); border-radius: var(--radius); padding: 22px; }
.side-box h2 { font-size: 18px; margin-bottom: 14px; }
.side-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.side-box a { font-weight: 600; font-size: 14.5px; }
.side-note { font-size: 13px; color: var(--abu); }
.meta-line { font-size: 13.5px; color: var(--abu); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.meta-line .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--emas); display: inline-block; }
.author-box {
  margin-top: 34px; display: flex; gap: 16px; align-items: center;
  background: var(--lembut); border: 1px solid var(--garis); border-radius: var(--radius); padding: 18px 22px;
}
.author-box .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(180deg, var(--emas-2), var(--emas));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--gelap); font-size: 20px;
}
.author-box .who { font-weight: 700; color: var(--gelap); }
.author-box small { color: var(--abu); }
.related { margin-top: 46px; }
.related h2 { font-size: 22px; margin-bottom: 18px; }
.related .grid-3 { margin-top: 8px; }

/* ---------- auth (daftar/login) ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding: 46px 0 64px; }
.auth-wrap h1 { font-size: 32px; margin: 8px 0 14px; }
.auth-wrap .check-list li { font-size: 14.5px; }
.auth-form {
  background: var(--lembut); border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 30px 30px 26px; box-shadow: var(--shadow);
}
.auth-form h2 { font-size: 20px; margin-bottom: 18px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; font-weight: 700; color: var(--gelap); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="search"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--garis); border-radius: 10px;
  font-size: 15px; font-family: var(--sans); background: #fff; outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--emas); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3A3344; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--merah); flex-shrink: 0; }
.auth-alt { margin-top: 14px; font-size: 14px; color: var(--abu); text-align: center; }
.form-note { font-size: 12.5px; color: var(--abu); margin: -8px 0 16px; line-height: 1.5; }

/* ---------- pencarian ---------- */
.search-hero { padding: 54px 0 10px; text-align: center; }
.search-hero h1 { font-size: 32px; margin-bottom: 10px; }
.search-hero > p { color: var(--abu); max-width: 520px; margin: 0 auto 22px; }
.search-form { display: flex; max-width: 620px; margin: 0 auto 20px; }
.search-form input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--garis); border-right: none;
  border-radius: 12px 0 0 12px; font-size: 15.5px; outline: none; font-family: var(--sans);
}
.search-form input:focus { border-color: var(--emas); }
.search-form .btn { border-radius: 0 12px 12px 0; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: 8px; }
.tagcloud .chip { background: var(--lembut); color: var(--merah); border-color: var(--garis); }
.tagcloud .chip:hover { border-color: var(--emas); background: rgba(227,166,44,0.12); }
.tagcloud .tagband-label { color: var(--abu); font-size: 13px; }
.search-results { padding: 26px 0 64px; min-height: 200px; }
.result-item {
  border: 1px solid var(--garis); border-radius: 12px; padding: 18px 22px;
  margin-bottom: 14px; background: #fff; box-shadow: var(--shadow);
}
.result-item h3 { font-size: 18px; margin-bottom: 4px; }
.result-item .url { font-size: 12.5px; color: #2E7D32; }
.result-item p { font-size: 14px; color: var(--abu); margin-top: 6px; }
.result-item mark { background: rgba(227,166,44,0.35); padding: 0 2px; border-radius: 3px; }
.search-empty { text-align: center; color: var(--abu); padding: 30px 0; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--gelap), #120E18); color: #CFC7DA;
  border-top: 3px solid var(--emas); margin-top: 0;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; padding: 48px 0 34px; }
.foot-col h3 {
  color: var(--emas-2); font-size: 16px; font-family: var(--sans); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.foot-col p { font-size: 14px; color: #B4ABC2; }
.foot-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: #EDE7F3; font-size: 14px; text-decoration: none; }
.foot-col a:hover { color: var(--emas-2); text-decoration: underline; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand svg { width: 38px; height: 38px; }
.foot-brand span { font-family: var(--serif); font-size: 20px; color: #fff; font-weight: 700; }
.foot-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--merah); color: #FF8DA0; font-weight: 800; font-size: 12px;
  border-radius: 8px; padding: 3px 8px; margin-top: 10px; letter-spacing: 0.05em;
}
.foot-disclaimer {
  background: rgba(200,16,46,0.10); border: 1px solid rgba(200,16,46,0.35);
  border-radius: 12px; padding: 18px 22px; font-size: 12.8px; color: #D8CFE4;
  margin-bottom: 26px; line-height: 1.75;
}
.foot-disclaimer strong { color: #fff; }
.foot-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: #9C92AB;
}
.foot-legal nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal a { color: #CFC7DA; }

/* padding bawah agar konten terakhir tidak tertutup widget melayang */
.site-footer { padding-bottom: 96px; }

/* ---------- widget melayang (mesin slot + koin) ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 100%); z-index: 200;
  background: linear-gradient(180deg, rgba(36,28,48,0.98), rgba(25,20,32,0.99));
  border: 1px solid rgba(246,212,124,0.5); border-bottom: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.45);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
}
.float-cta-visual { flex-shrink: 0; width: 96px; line-height: 0; }
.float-cta-visual svg { width: 96px; height: 76px; }
.float-cta-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.float-cta-copy .float-title {
  color: var(--emas-2); font-family: var(--serif); font-weight: 700; font-size: 14.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.float-cta-btns { display: flex; gap: 8px; }
.float-cta-btns .btn { flex: 1; padding: 10px 8px; font-size: 14px; text-align: center; border-radius: 9px; }
.float-cta-btns .btn-login {
  background: transparent; border: 1.5px solid rgba(246,212,124,0.7); color: var(--emas-2);
}
.float-cta-btns .btn-login:hover { background: rgba(246,212,124,0.12); }
.reel-strip { animation: reel-spin 5.5s linear infinite; }
.reel-strip.r2 { animation-duration: 7s; animation-delay: 0.4s; }
.reel-strip.r3 { animation-duration: 8.5s; animation-delay: 0.9s; }
.coin-float { animation: coin-bob 2.6s ease-in-out infinite; }
.coin-float.c2 { animation-delay: 0.9s; }
.coin-float.c3 { animation-delay: 1.6s; }
.slot-light { animation: light-blink 1.8s ease-in-out infinite; }
@keyframes reel-spin {
  0%, 18% { transform: translateY(0); }
  30%, 62% { transform: translateY(-34px); }
  74%, 100% { transform: translateY(-68px); }
}
@keyframes coin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes light-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-strip, .coin-float, .slot-light { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .layout-2col { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); display: grid; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 30px; }
  .float-cta-visual { width: 80px; }
  .float-cta-visual svg { width: 80px; height: 64px; }
}

@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--gelap-2); border-bottom: 3px solid var(--emas);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; }
  .burger { display: block; }
  .header-actions .btn-mini.btn-ghost { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px 14px; position: relative; }
  .search-mini { order: 5; width: 100%; }
  .search-mini input { flex: 1; width: auto; border-radius: 8px; }
  .search-mini input:focus { width: auto; }
  .hero { padding: 44px 0 36px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); }
  .hero-media img { aspect-ratio: 16 / 10; }
  .grid-3, .promo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-art { grid-template-columns: minmax(0,1fr); }
  .auth-wrap { grid-template-columns: minmax(0,1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 44px 0; }
}

@media (max-width: 640px) {
  .topbar .wrap { justify-content: center; }
  .topbar-left { display: none; }
  .grid-2, .grid-3, .grid-4, .promo-grid, .why-grid { grid-template-columns: minmax(0,1fr); }
  .brand-name { font-size: 19px; }
  .brand svg { width: 36px; height: 36px; }
  .header-actions .search-mini { display: none; }
  .hero h1 { font-size: 27px; }
  .hero-cta .btn { flex: 1; min-width: 140px; text-align: center; }
  .sidebar { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding-bottom: 118px; }
  .float-cta { width: 100%; border-radius: 0; border-left: none; border-right: none; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .float-cta-visual { width: 64px; }
  .float-cta-visual svg { width: 64px; height: 52px; }
  .float-cta-copy .float-title { font-size: 12.5px; }
  .float-cta-btns .btn { padding: 10px 6px; font-size: 13.5px; }
  .crumbs ol { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .crumbs ol::-webkit-scrollbar { display: none; }
  .prose h2 { font-size: 22px; }
  .page-main { padding: 30px 0 44px; }
  .auth-form { padding: 22px 18px; }
}

@media (max-width: 400px) {
  .float-cta-visual { display: none; }
  .float-cta { justify-content: center; }
}
