/* ===============================================================
   Asiabet118 — styles.css
   Tema: Asiabet118 (gaya penulisan markup mengikuti konvensi
   template WordPress: header.php / footer.php / front-page.php /
   page.php / single.php — dirender menjadi HTML statis)
   Palet: Merah · Putih · Hijau · Kuning (emas) · Biru · Hitam
   =============================================================== */

/* ---------- 1. Variabel & Reset ---------- */
:root {
  --red: #c8102e;
  --red-dark: #9b0c23;
  --red-deep: #7a0a1c;
  --gold: #f5b301;
  --gold-soft: #ffd34d;
  --gold-pale: #ffedb0;
  --green: #0e9f6e;
  --green-dark: #0b7a54;
  --blue: #1e5aa8;
  --blue-deep: #143d73;
  --ink: #0d1117;
  --ink-2: #12141a;
  --ink-3: #181c26;
  --line: rgba(255, 255, 255, 0.09);
  --white: #ffffff;
  --text: #e8eaf0;
  --muted: #a3abba;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }
ul, ol { list-style-position: inside; }
p { overflow-wrap: break-word; }

h1, h2, h3, h4 { line-height: 1.3; overflow-wrap: break-word; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* ---------- 2. Utilitas ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--ink-2); }
.section-dark { background: #0a0c10; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--white); }
.section-head p { color: var(--muted); margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(180deg, #e01530, var(--red-dark));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 10px 24px rgba(200, 16, 46, 0.5); }
.btn-gold {
  background: linear-gradient(180deg, #ffd85e, var(--gold));
  color: #3a2a00;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); color: #3a2a00; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-block { width: 100%; }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 8px; border-radius: 50%;
  border: 2px solid var(--red); color: #ff8fa1; background: rgba(200, 16, 46, 0.12);
  font-weight: 800; font-size: 14px; flex: 0 0 auto;
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-3); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; padding: 8px 16px;
  font-size: 13.5px; font-weight: 500;
}
.chip svg, .chip .ico { flex: 0 0 auto; }

/* ---------- 3. Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--red-deep), var(--red-dark), var(--red-deep));
  font-size: 13px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.topbar a { color: var(--gold-pale); text-decoration: underline; text-underline-offset: 3px; }
.topbar span { color: #ffe9ed; }

/* ---------- 4. Header (header.php) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(13, 17, 23, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

.site-branding { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.site-branding .logo-coin {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe17d, var(--gold) 55%, #b07c00);
  display: grid; place-items: center;
  color: #4a3300; font-weight: 800; font-size: 13px;
  border: 3px solid #3a2c00;
  box-shadow: 0 3px 10px rgba(245, 179, 1, 0.4);
  letter-spacing: -0.5px;
}
.site-title { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: 0.2px; }
.site-title em { font-style: normal; color: var(--gold); }
.site-description { font-size: 11px; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; }

/* Navigasi utama */
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-navigation a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--text); font-size: 14.5px; font-weight: 600;
}
.main-navigation a:hover, .main-navigation .current-menu-item a {
  color: var(--gold-soft); background: rgba(245, 179, 1, 0.1);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }
.search-toggle {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ink-3); color: var(--text); cursor: pointer;
  display: grid; place-items: center;
}
.search-toggle:hover { color: var(--gold-soft); border-color: rgba(245, 179, 1, 0.4); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink-3); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 2.5px auto;
  background: var(--text); border-radius: 2px; transition: 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(10, 8, 6, 0.96) 22%, rgba(64, 6, 16, 0.82) 55%, rgba(13, 17, 23, 0.6) 100%),
    url("../img/hero-casino.jpg") center / cover no-repeat;
  padding: 84px 0 92px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 179, 1, 0.12); border: 1px solid rgba(245, 179, 1, 0.4);
  color: var(--gold-soft); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); color: var(--white); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: #d6dae4; font-size: clamp(15px, 1.8vw, 17.5px); margin: 18px 0 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }

/* koin dekoratif mengambang */
.hero-coins { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-coins i {
  position: absolute; display: block; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe17d, var(--gold) 55%, #b07c00);
  box-shadow: 0 0 14px rgba(245, 179, 1, 0.55);
  animation: coinFloat 7s ease-in-out infinite;
}
.hero-coins i:nth-child(1) { width: 26px; height: 26px; right: 12%; top: 22%; animation-delay: 0s; }
.hero-coins i:nth-child(2) { width: 16px; height: 16px; right: 26%; top: 58%; animation-delay: 1.4s; }
.hero-coins i:nth-child(3) { width: 20px; height: 20px; right: 7%; top: 66%; animation-delay: 2.8s; }
.hero-coins i:nth-child(4) { width: 13px; height: 13px; right: 34%; top: 30%; animation-delay: 3.6s; }
.hero-coins i:nth-child(5) { width: 18px; height: 18px; right: 18%; top: 80%; animation-delay: 0.9s; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
  50% { transform: translateY(-22px) rotate(12deg); opacity: 1; }
}

/* ---------- 6. Panduan 4 Langkah ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  position: relative; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 22px 26px; text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(245, 179, 1, 0.45); }
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, #ffd85e, var(--gold));
  color: #3a2a00; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(245, 179, 1, 0.45);
}
.step-card .ico { font-size: 34px; margin-bottom: 12px; }
.step-card h3 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* ---------- 7. Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-5px); border-color: rgba(200, 16, 46, 0.55); }
.cat-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 16, 0.92));
}
.cat-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 a { color: var(--white); font-size: 18px; }
.cat-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.cat-body .more { font-size: 14px; font-weight: 700; color: var(--gold-soft); }
.cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(13, 17, 23, 0.82); border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold-soft); font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.6px;
}

/* ---------- 8. Keunggulan (core advantages) ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.adv-card:hover { border-color: rgba(30, 90, 168, 0.6); transform: translateY(-4px); }
.adv-ico {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(160deg, rgba(30, 90, 168, 0.28), rgba(30, 90, 168, 0.08));
  border: 1px solid rgba(30, 90, 168, 0.5);
}
.adv-card h3 { font-size: 16.5px; color: var(--white); margin-bottom: 6px; }
.adv-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 9. Split (mengapa memilih / mobile) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-note {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(13, 17, 23, 0.88); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--gold-pale);
}
.split-copy .kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.split-copy h2 { font-size: clamp(23px, 3vw, 32px); color: var(--white); margin: 10px 0 14px; }
.split-copy p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 14.5px; }
.check-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(14, 159, 110, 0.16); border: 1.5px solid var(--green);
  color: #37d9a4; display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* ---------- 10. Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 20px;
  font-size: 64px; line-height: 1; color: rgba(245, 179, 1, 0.22); font-family: Georgia, serif;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.testi-card blockquote { font-size: 14.5px; color: var(--text); font-style: italic; margin-bottom: 18px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-user .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #2c1d00;
  background: linear-gradient(160deg, #ffd85e, var(--gold));
}
.testi-user .avatar.a-blue { background: linear-gradient(160deg, #6ea8ff, var(--blue)); color: #06162e; }
.testi-user .avatar.a-green { background: linear-gradient(160deg, #3ddda4, var(--green)); color: #03251a; }
.testi-user .avatar.a-red { background: linear-gradient(160deg, #ff8fa1, var(--red)); color: #350209; }
.testi-user strong { display: block; color: var(--white); font-size: 14.5px; }
.testi-user span { font-size: 12.5px; color: var(--muted); }

/* ---------- 11. Glosarium (bagian inovatif) ---------- */
.gloss-wrap { max-width: 860px; margin: 0 auto; }
.gloss-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.gloss-filter button {
  background: var(--ink-3); color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px; font-family: var(--font);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.15s;
}
.gloss-filter button:hover { color: var(--gold-soft); border-color: rgba(245, 179, 1, 0.4); }
.gloss-filter button.is-active {
  background: linear-gradient(180deg, #ffd85e, var(--gold)); color: #3a2a00; border-color: transparent;
}
.gloss-search {
  width: 100%; max-width: 460px; margin: 0 auto 26px; display: flex;
}
.gloss-search input {
  flex: 1; background: var(--ink-3); border: 1px solid var(--line);
  border-radius: 999px 0 0 999px; padding: 12px 20px; color: var(--white);
  font-family: var(--font); font-size: 14px; outline: none; min-width: 0;
}
.gloss-search input:focus { border-color: rgba(245, 179, 1, 0.55); }
.gloss-search button {
  border-radius: 0 999px 999px 0; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #e01530, var(--red-dark)); color: var(--white);
  padding: 0 22px; font-weight: 700;
}
.gloss-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gloss-item {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.gloss-item[data-cat="casino"] { border-left-color: var(--red); }
.gloss-item[data-cat="slot"] { border-left-color: var(--gold); }
.gloss-item[data-cat="sports"] { border-left-color: var(--green); }
.gloss-item[data-cat="promo"] { border-left-color: var(--blue); }
.gloss-item dt { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.gloss-item dd { font-size: 13.5px; color: var(--muted); }
.gloss-empty { text-align: center; color: var(--muted); padding: 18px 0; }

/* ---------- 12. Keamanan & privasi ---------- */
.security-band {
  background:
    linear-gradient(120deg, rgba(20, 61, 115, 0.94), rgba(13, 17, 23, 0.9)),
    url("../img/security.jpg") center / cover no-repeat fixed;
}
.security-band .split-copy .kicker { color: #7db4ff; }
.sec-points { display: grid; gap: 12px; margin: 18px 0 24px; }
.sec-point {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(13, 17, 23, 0.55); border: 1px solid rgba(125, 180, 255, 0.22);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.sec-point .ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-size: 19px;
  background: rgba(30, 90, 168, 0.25); border: 1px solid rgba(125, 180, 255, 0.35);
}
.sec-point strong { display: block; color: var(--white); font-size: 14.5px; }
.sec-point span { font-size: 13px; color: var(--muted); }

/* ---------- 13. Bertanggung jawab ---------- */
.resp-band {
  background:
    linear-gradient(120deg, rgba(11, 122, 84, 0.93), rgba(10, 14, 12, 0.92)),
    url("../img/table-felt.jpg") center / cover no-repeat;
}
.resp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.resp-card {
  background: rgba(8, 20, 15, 0.6); border: 1px solid rgba(61, 221, 164, 0.25);
  border-radius: var(--radius-sm); padding: 20px 18px; text-align: center;
}
.resp-card .ico { font-size: 28px; margin-bottom: 10px; }
.resp-card h3 { color: var(--white); font-size: 15px; margin-bottom: 6px; }
.resp-card p { font-size: 13px; color: #c4d9cf; }
.resp-note {
  margin-top: 26px; text-align: center; font-size: 13px; color: #bfe3d3;
  background: rgba(8, 20, 15, 0.55); border: 1px dashed rgba(61, 221, 164, 0.35);
  border-radius: var(--radius-sm); padding: 14px 18px;
}

/* ---------- 14. FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 600; color: var(--white); font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-ico {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(200, 16, 46, 0.16); border: 1px solid rgba(200, 16, 46, 0.5);
  color: #ff8fa1; display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.faq-item summary .chev { margin-left: auto; color: var(--muted); transition: transform 0.2s; flex: 0 0 auto; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 20px 18px 64px; color: var(--muted); font-size: 14px; }

/* ---------- 15. Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  background: var(--ink-3); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 500;
  transition: 0.15s;
}
.tag-cloud a:hover, .tag-cloud a.hot {
  border-color: rgba(245, 179, 1, 0.55); color: var(--gold-soft);
  background: rgba(245, 179, 1, 0.08);
}
.tag-cloud a.hot::before { content: "🔥 "; }

/* ---------- 16. CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--red-deep), var(--red-dark) 60%, #5c0714);
  border-radius: var(--radius); padding: 44px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe17d, var(--gold) 55%, #b07c00);
  opacity: 0.16;
}
.cta-band::before { width: 190px; height: 190px; left: -60px; top: -60px; }
.cta-band::after { width: 130px; height: 130px; right: -40px; bottom: -50px; }
.cta-band h2 { color: var(--white); font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-band p { color: #ffdfe4; max-width: 620px; margin: 0 auto 24px; font-size: 14.5px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- 17. Breadcrumb ---------- */
.breadcrumbs {
  font-size: 13px; color: var(--muted); padding: 18px 0 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #5c6575; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs [aria-current] { color: var(--gold-soft); font-weight: 600; }

/* ---------- 18. Layout halaman dalam (page.php / single.php) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 54px 0 50px;
  background:
    linear-gradient(115deg, rgba(10, 8, 6, 0.93), rgba(64, 6, 16, 0.8)),
    var(--ph-img, none) center / cover no-repeat;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); color: var(--white); max-width: 760px; }
.page-hero .meta { color: var(--muted); font-size: 13.5px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; }
.page-hero .meta .tag {
  background: rgba(245, 179, 1, 0.14); color: var(--gold-soft);
  border: 1px solid rgba(245, 179, 1, 0.4); padding: 3px 12px; border-radius: 999px;
}

.content-area { padding: 44px 0 64px; }
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content.wide { max-width: 980px; }
.entry-content h2 {
  font-size: clamp(20px, 2.6vw, 26px); color: var(--white);
  margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold);
}
.entry-content h3 { font-size: 18px; color: var(--gold-pale); margin: 26px 0 10px; }
.entry-content p { color: #c9cfda; margin-bottom: 15px; font-size: 15.5px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 6px; color: #c9cfda; display: grid; gap: 8px; }
.entry-content li { padding-left: 6px; }
.entry-content strong { color: var(--white); }
.entry-content img { border-radius: var(--radius); margin: 22px 0; border: 1px solid var(--line); }
.entry-content figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: -14px; margin-bottom: 18px; }

.info-box {
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0;
  font-size: 14.5px; border: 1px solid;
}
.info-box.blue { background: rgba(30, 90, 168, 0.12); border-color: rgba(125, 180, 255, 0.35); color: #d3e4fb; }
.info-box.green { background: rgba(14, 159, 110, 0.1); border-color: rgba(61, 221, 164, 0.35); color: #d3f0e4; }
.info-box.red { background: rgba(200, 16, 46, 0.1); border-color: rgba(255, 143, 161, 0.35); color: #ffdfe4; }
.info-box strong { color: var(--white); }

.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.entry-content th {
  background: var(--ink-3); color: var(--gold-soft); text-align: left;
  padding: 12px 14px; white-space: nowrap;
}
.entry-content td { padding: 11px 14px; border-top: 1px solid var(--line); color: #c9cfda; vertical-align: top; }

/* ---------- 19. Kartu promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: 0.2s;
}
.promo-card:hover { border-color: rgba(245, 179, 1, 0.5); transform: translateY(-4px); }
.promo-thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-flag {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(180deg, #e01530, var(--red-dark));
  color: var(--white); font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.5px;
}
.promo-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { font-size: 17px; }
.promo-body h3 a { color: var(--white); }
.promo-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-meta span {
  font-size: 11.5px; color: #9fc3f7; background: rgba(30, 90, 168, 0.14);
  border: 1px solid rgba(125, 180, 255, 0.3); padding: 3px 10px; border-radius: 999px;
}

/* ---------- 20. Form auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 26px; color: var(--white); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; background: var(--ink-3); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 16px; color: var(--white);
  font-family: var(--font); font-size: 14.5px; outline: none;
}
.field input:focus, .field select:focus { border-color: rgba(245, 179, 1, 0.55); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth-side { display: grid; gap: 16px; }
.auth-side .info-box { margin: 0; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- 21. Overlay pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 9800; background: rgba(8, 10, 14, 0.92);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 16px 30px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(680px, 100%); background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.search-bar { display: flex; }
.search-bar input {
  flex: 1; background: transparent; border: 0; outline: none;
  padding: 18px 22px; color: var(--white); font-size: 16px; font-family: var(--font); min-width: 0;
}
.search-bar .go {
  border: 0; cursor: pointer; padding: 0 26px; font-weight: 700; color: var(--white);
  background: linear-gradient(180deg, #e01530, var(--red-dark)); font-family: var(--font);
}
.search-bar .close-search {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 0 20px; font-size: 20px;
}
.search-results { max-height: 55vh; overflow-y: auto; border-top: 1px solid var(--line); }
.search-results .sr-item { display: block; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.search-results .sr-item:last-child { border-bottom: 0; }
.search-results .sr-item strong { display: block; color: var(--white); font-size: 14.5px; margin-bottom: 3px; }
.search-results .sr-item span { font-size: 13px; color: var(--muted); }
.search-results .sr-item:hover { background: var(--ink-3); }
.search-results .sr-empty { padding: 26px 22px; color: var(--muted); font-size: 14px; text-align: center; }
.search-hot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-hot b { font-size: 12px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.search-hot a { font-size: 12.5px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; color: var(--text); }

/* ---------- 22. Footer (footer.php) ---------- */
.site-footer { background: #08090d; border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin: 14px 0 18px; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: #78808f; display: grid; gap: 10px;
}
.footer-legal .legal-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-legal .badge-18 { width: 36px; height: 36px; min-width: 36px; font-size: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 18px; color: #6b7382; font-size: 12.5px; }

/* ---------- 23. Floating CTA (slot style) ---------- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 9500;
}
.float-cta a {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 9px 24px 9px 11px; border-radius: 999px;
  background: linear-gradient(180deg, #ef1935, #9b0c23);
  border: 2px solid var(--gold-soft);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 211, 77, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--white); text-decoration: none;
  animation: ctaGlow 2.4s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 211, 77, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 0 7px rgba(255, 211, 77, 0.22), 0 0 34px rgba(255, 211, 77, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}
.float-cta .reels {
  display: flex; gap: 3px; padding: 4px 6px; border-radius: 9px;
  background: #07080c; border: 1px solid rgba(255, 211, 77, 0.55);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}
.float-cta .reel { width: 21px; height: 25px; overflow: hidden; font-size: 14px; line-height: 25px; text-align: center; }
.float-cta .reel span { display: block; animation: reelSpin 1.5s steps(1) infinite; }
.float-cta .reel.r2 span { animation-delay: 0.18s; }
.float-cta .reel.r3 span { animation-delay: 0.36s; }
@keyframes reelSpin {
  0% { transform: translateY(0); } 25% { transform: translateY(-25px); }
  50% { transform: translateY(-50px); } 75% { transform: translateY(-25px); } 100% { transform: translateY(0); }
}
.float-cta .cta-text { font-weight: 800; font-size: 15.5px; letter-spacing: 0.6px; white-space: nowrap; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
.float-cta .cta-text small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 2.4px; color: var(--gold-pale); }
/* efek koin beterbangan */
.float-cta .coin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe17d, var(--gold) 55%, #b07c00);
  box-shadow: 0 0 8px rgba(245, 179, 1, 0.7);
  opacity: 0; pointer-events: none;
}
.float-cta .coin.c1 { left: 18%; bottom: 6px; animation: coinRise 2.2s ease-out infinite; }
.float-cta .coin.c2 { left: 48%; bottom: 4px; animation: coinRise 2.2s ease-out 0.7s infinite; }
.float-cta .coin.c3 { left: 76%; bottom: 6px; animation: coinRise 2.2s ease-out 1.4s infinite; }
@keyframes coinRise {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-64px) translateX(6px) scale(1.15); opacity: 0; }
}

/* ---------- 24. Animasi reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-coins i, .float-cta a, .float-cta .reel span, .float-cta .coin { animation: none; }
}

/* ---------- 25. Responsif ---------- */
@media (max-width: 1100px) {
  .main-navigation { display: none; }
  .nav-toggle { display: block; order: 3; }
  .header-actions { order: 2; }
  .site-header.menu-open .main-navigation {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 12px 4vw 18px;
  }
  .site-header.menu-open .main-navigation ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.menu-open .main-navigation a { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 50px 0; }
  .steps-grid, .cat-grid, .resp-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .testi-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .gloss-list { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 66px; }
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 42px 0; }
  .steps-grid, .cat-grid, .resp-grid { grid-template-columns: 1fr; }
  .adv-grid, .testi-grid, .promo-grid { grid-template-columns: 1fr; }
  .header-actions .btn { padding: 9px 14px; font-size: 12.5px; }
  .site-title { font-size: 19px; }
  .site-branding .logo-coin { width: 36px; height: 36px; font-size: 11px; }
  .site-description { display: none; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero-cta .btn { flex: 1 1 auto; }
  .cta-band { padding: 34px 22px; }
  .auth-card { padding: 26px 20px; }
  .faq-item .faq-a { padding-left: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .float-cta a { padding: 8px 16px 8px 9px; gap: 8px; max-width: 92vw; }
  .float-cta .cta-text { font-size: 13.5px; }
  .float-cta .cta-text small { letter-spacing: 1.6px; font-size: 8.5px; }
  .float-cta .reel { width: 17px; height: 21px; font-size: 11px; line-height: 21px; }
  .float-cta .coin { display: none; }
  .topbar { font-size: 11.5px; }
  .page-hero { padding: 40px 0 36px; }
}
