/* ============================================================
   Pandora188 — pandora188.games
   Tema: kasino terang — putih · hitam · merah · emas · hijau · biru
   Markup bergaya WordPress (site-header, entry-content, site-footer)
   ============================================================ */

:root {
  --ink: #17181c;
  --muted: #5b5f6b;
  --paper: #f7f5f0;
  --card: #ffffff;
  --line: #e6e2d8;
  --red: #d81b33;
  --red-deep: #a80f26;
  --red-soft: #fdeef0;
  --gold: #f0b429;
  --gold-deep: #b57e0f;
  --gold-soft: #fdf6e3;
  --green: #128a43;
  --green-soft: #e9f7ee;
  --blue: #175cd3;
  --blue-soft: #ecf2fe;
  --navy: #101322;
  --navy-2: #1b2138;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(16, 19, 34, .09);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip; /* cegah scroll horizontal tanpa memutus position:sticky */
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Pencegah overflow grid global */
.grid, .cards, [class*="grid-"] { min-width: 0; }
.grid > *, .cards > *, [class*="grid-"] > * { min-width: 0; max-width: 100%; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 800;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2; max-width: 100%;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(180deg, #ef3b52, var(--red-deep)); color: #fff; }
.btn-gold { background: linear-gradient(180deg, #ffd166, var(--gold-deep)); color: #3a2a00; border-color: #e6a800; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-green { background: linear-gradient(180deg, #17a354, #0c6d33); color: #fff; }
.btn-blue { background: linear-gradient(180deg, #2f74ec, #12429e); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { background: var(--card); }
.topbar { background: var(--navy); color: #cfd3e0; font-size: .78rem; }
.topbar .wrap { display: flex; gap: 14px; justify-content: space-between; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar b { color: var(--gold); font-weight: 800; }
.tb-right { white-space: nowrap; }

.header-main {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.header-main .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.brand span { line-height: 1.1; }

.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-navigation a {
  display: block; padding: 9px 12px; border-radius: 8px; font-weight: 700;
  font-size: .9rem; color: var(--navy);
}
.main-navigation a:hover { background: var(--red-soft); color: var(--red-deep); text-decoration: none; }
.main-navigation .current-menu-item a { background: var(--red); color: #fff; }

.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-search { display: flex; }
.hdr-search input {
  width: 170px; padding: 9px 12px; border: 2px solid var(--line); border-right: 0;
  border-radius: 999px 0 0 999px; font-size: .85rem; background: var(--paper); min-width: 0;
}
.hdr-search input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.hdr-search button {
  padding: 9px 16px; border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: .85rem;
}

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--paper); font-size: 1.15rem; cursor: pointer; color: var(--navy);
}

#mobile-nav { display: none; background: var(--navy); }
#mobile-nav.open { display: block; }
#mobile-nav ul { list-style: none; margin: 0; padding: 10px 20px 16px; columns: 2; column-gap: 18px; }
#mobile-nav li { break-inside: avoid; }
#mobile-nav a {
  display: block; padding: 9px 6px; color: #e8eaf2; font-weight: 700; font-size: .88rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#mobile-nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumbs { font-size: .8rem; color: var(--muted); padding: 14px 0 2px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold-deep); font-weight: 800; }
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #0c0f1c 0%, #1b2138 55%, #2a1430 100%); color: #fff; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: center; padding: 54px 20px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(240, 180, 41, .14);
  border: 1px solid rgba(240, 180, 41, .5); color: var(--gold); border-radius: 999px;
  padding: 6px 14px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 { color: #fff; margin: 16px 0 12px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #c9cde0; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span {
  font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #e6e8f2;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius); border: 3px solid rgba(240, 180, 41, .55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45); display: block;
}
.hero-media figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(16, 19, 34, .82);
  border: 1px solid rgba(240, 180, 41, .4); color: #f2f3f8; border-radius: 10px;
  padding: 8px 12px; font-size: .78rem; backdrop-filter: blur(4px);
}

/* ---------- Tata letak seksi ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--card); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 30px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 900; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); border-bottom: 3px solid var(--gold); padding-bottom: 4px;
}
.section-head p { color: var(--muted); margin: 10px 0 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-hero-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* ---------- Kartu umum ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 3px 12px rgba(16, 19, 34, .05);
}
.card h3 { margin-top: 0; }

/* ---------- Langkah 4 ---------- */
.step-card { position: relative; padding-top: 30px; overflow: clip; }
.step-num {
  position: absolute; top: -14px; left: 20px; width: 52px; height: 52px; border-radius: 14px 14px 14px 4px;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; color: #3a2a00;
  background: linear-gradient(160deg, #ffd166, var(--gold-deep)); box-shadow: 0 8px 18px rgba(181, 126, 15, .35);
}
.step-card .step-ico { font-size: 2rem; margin-bottom: 6px; }
.step-card .step-tag { font-size: .72rem; font-weight: 900; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; }
.step-card h3 { margin: 6px 0 8px; }
.step-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.step-card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: .9rem; }

/* ---------- Kartu keunggulan ---------- */
.adv-card { border-top: 4px solid var(--red); }
.adv-card:nth-child(2) { border-top-color: var(--gold); }
.adv-card:nth-child(3) { border-top-color: var(--green); }
.adv-card:nth-child(4) { border-top-color: var(--blue); }
.adv-card:nth-child(5) { border-top-color: var(--red); }
.adv-card:nth-child(6) { border-top-color: var(--gold); }
.adv-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px;
}
.adv-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Daftar centang ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-weight: 900; font-size: .85rem;
}

/* ---------- Mengapa memilih ---------- */
.why-band { background: var(--navy); color: #e8eaf2; border-radius: var(--radius); padding: 38px 30px; }
.why-band h2 { color: #fff; }
.why-band h2 em { font-style: normal; color: var(--gold); }
.why-band .grid-3 .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .12); }
.why-band .card h3 { color: #fff; }
.why-band .card p { color: #b9bed2; font-size: .92rem; }
.why-band .card .adv-ico { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }

/* ---------- Pembayaran ---------- */
.pay-card { text-align: center; padding: 22px 14px; }
.pay-ico { font-size: 2rem; }
.pay-card h3 { font-size: 1rem; margin: 8px 0 6px; }
.pay-card p { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.pay-chip {
  display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
}
.pay-note { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 18px; }

/* ---------- Testimoni ---------- */
.testi-card { position: relative; }
.testi-card .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.testi-card blockquote { margin: 10px 0 16px; font-size: .93rem; color: #3a3d47; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-ava {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: .95rem;
}
.ava-r { background: var(--red); } .ava-g { background: var(--green); }
.ava-b { background: var(--blue); } .ava-n { background: var(--navy-2); }
.testi-who b { display: block; font-size: .9rem; }
.testi-who span { font-size: .76rem; color: var(--muted); }
.testi-label {
  display: inline-block; margin-top: 18px; font-size: .74rem; color: var(--muted);
  background: var(--paper); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px;
}

/* ---------- Kamus istilah (inovasi) ---------- */
.kamus { background: var(--navy); border-radius: var(--radius); padding: 36px 26px; color: #e8eaf2; }
.kamus h2, .kamus h3 { color: #fff; }
.kamus-intro { color: #b9bed2; max-width: 72ch; margin: 0 0 18px; }
.kamus-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.kamus-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.kamus-letters button, .kamus-chip {
  min-width: 34px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05); color: #e8eaf2; font-weight: 800; font-size: .82rem; cursor: pointer;
}
.kamus-letters button:hover { border-color: var(--gold); color: var(--gold); }
.kamus-letters button.active { background: var(--gold); border-color: var(--gold); color: #3a2a00; }
.kamus-search { flex: 1 1 220px; display: flex; max-width: 340px; }
.kamus-search input {
  flex: 1; min-width: 0; padding: 8px 14px; border-radius: 999px 0 0 999px;
  border: 1px solid rgba(255, 255, 255, .25); border-right: 0; background: #0c0f1c; color: #fff; font-size: .88rem;
}
.kamus-search input:focus { outline: 2px solid var(--gold); }
.kamus-search button {
  padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 0 999px 999px 0;
  background: var(--gold); color: #3a2a00; font-weight: 800; cursor: pointer; font-size: .85rem;
}
.kamus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kamus-item {
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 16px;
}
.kamus-item[hidden] { display: none; }
.kamus-item dt { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); font-size: .95rem; }
.kamus-item dt .ltr {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: .72rem; font-weight: 900;
}
.kamus-item dd { margin: 6px 0 0; font-size: .84rem; color: #c3c8da; line-height: 1.55; }
.kamus-empty { display: none; padding: 14px; color: var(--gold); font-weight: 700; }
.kamus-empty.show { display: block; }
.kamus-more { margin-top: 18px; text-align: center; }
.kamus-more a { color: var(--gold); font-weight: 800; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #f04a5e);
  border-radius: var(--radius); color: #fff; padding: 34px 30px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe3e7; max-width: 66ch; margin: 0 auto 18px; }
.cta-band .btn + .btn { margin-left: 8px; }

/* ---------- Keamanan / RG ringkas ---------- */
.duo .card { display: flex; flex-direction: column; gap: 8px; }
.duo .card .adv-ico { margin-bottom: 2px; }
.duo .card p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.duo .card .btn { align-self: flex-start; }
.sec-ico { border-color: var(--green); background: var(--green-soft); }
.rg-ico { border-color: var(--gold); background: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: clip;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 800;
  position: relative; font-size: .97rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); font-weight: 900;
}
.faq-item[open] summary::after { content: "–"; background: var(--gold-soft); color: var(--gold-deep); }
.faq-item .faq-body { padding: 0 18px 16px; color: #3a3d47; font-size: .93rem; }
.faq-item .faq-body p { margin: 0 0 10px; }
.faq-item .faq-body p:last-child { margin: 0; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  font-size: .84rem; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.tag-cloud a:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.tag-cloud .t-hot { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); }
.tag-cloud .t-gold { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
.tag-cloud .t-green { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.tag-cloud .t-blue { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.tag-cloud .t-navy { border-color: var(--navy-2); background: #eef0f7; color: var(--navy); }

/* ---------- Konten artikel ---------- */
.page-hero { background: linear-gradient(135deg, #0c0f1c, #1b2138); color: #fff; }
.page-hero .wrap { padding: 40px 20px 30px; }
.page-hero h1 { color: #fff; margin: 8px 0 10px; }
.page-hero .breadcrumbs a { color: var(--gold); }
.page-hero .breadcrumbs li + li::before { color: var(--gold); }
.page-hero .breadcrumbs [aria-current] { color: #d5d9e8; }
.page-hero .lead { color: #c9cde0; max-width: 74ch; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: .8rem; color: #aeb3c6; }
.meta-row b { color: var(--gold); }

.content-area { padding: 38px 0 56px; }
.content-narrow { max-width: 840px; margin: 0 auto; }
.entry-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow); }
.entry-content > * + * { margin-top: 1.05em; }
.entry-content h2 { margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--red); }
.entry-content h3 { margin-top: 1.3em; color: var(--navy); }
.entry-content p, .entry-content li { color: #2c2f38; font-size: .98rem; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content li + li { margin-top: 6px; }
.entry-content a { font-weight: 600; }

.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.entry-content figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; text-align: center; }

.note { border-radius: 12px; padding: 16px 18px; font-size: .92rem; border: 1px solid; }
.note b { display: block; margin-bottom: 4px; }
.note-info { background: var(--blue-soft); border-color: #b9cff7; color: #14304f; }
.note-safe { background: var(--green-soft); border-color: #b9e4c9; color: #0e4d28; }
.note-warn { background: var(--gold-soft); border-color: #ecd9a3; color: #5c430a; }
.note-danger { background: var(--red-soft); border-color: #f3c3ca; color: #6b1220; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; border-radius: 12px; border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 520px; }
.entry-content th { background: var(--navy); color: var(--gold); text-align: left; padding: 11px 14px; font-size: .82rem; letter-spacing: .03em; }
.entry-content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #2c2f38; }
.entry-content tbody tr:nth-child(even) { background: var(--paper); }

blockquote {
  margin: 1.4em 0; padding: 14px 18px; border-left: 5px solid var(--green);
  background: var(--green-soft); border-radius: 0 12px 12px 0; color: #0e4d28; font-size: .95rem;
}

.article-footer { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); }
.prev-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.prev-next .card { padding: 16px 18px; }
.prev-next .card span { font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.prev-next .card b { display: block; margin-top: 4px; font-size: .95rem; }
.prev-next .card.next { text-align: right; }

/* ---------- Hub promosi ---------- */
.promo-card { position: relative; overflow: clip; padding-top: 56px; }
.promo-ribbon {
  position: absolute; top: 14px; left: 16px; font-size: .68rem; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.rb-red { background: var(--red-soft); color: var(--red-deep); }
.rb-gold { background: var(--gold-soft); color: var(--gold-deep); }
.rb-green { background: var(--green-soft); color: var(--green); }
.rb-blue { background: var(--blue-soft); color: var(--blue); }
.promo-card figure { margin: 0 0 14px; }
.promo-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; display: block; }
.promo-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.promo-card p { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.promo-mini { font-size: .78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; }

/* ---------- Formir ---------- */
.form-card { max-width: 620px; margin: 0 auto; }
.form-grid { display: grid; gap: 16px; margin-top: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 800; margin-bottom: 6px; }
.field .hint { font-size: .76rem; color: var(--muted); font-weight: 500; }
.field input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  font-size: .95rem; background: var(--paper); color: var(--ink); min-width: 0;
}
.field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-ok { display: none; margin-top: 14px; }
.form-ok.show { display: block; }

/* ---------- Pencarian ---------- */
.search-big { max-width: 720px; margin: 0 auto 26px; }
.search-big .kamus-search { max-width: none; }
#search-results { display: grid; gap: 14px; }
.result-card { display: flex; gap: 14px; align-items: flex-start; }
.result-card .rico { flex: none; font-size: 1.5rem; width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.result-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.result-card p { margin: 0; font-size: .86rem; color: var(--muted); }
.result-card .go { font-size: .8rem; font-weight: 800; color: var(--red-deep); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9bed2; margin-top: 60px; font-size: .9rem; }
.footer-widgets { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding: 46px 0 26px; }
.f-brand { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.widget h4 { color: var(--gold); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.widget a { color: #d5d9e8; }
.widget a:hover { color: var(--gold); }
.f-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 16px 40px; text-align: center; }
.f-legal p { max-width: 88ch; margin: 0 auto 10px; font-size: .82rem; color: #9ba1b7; }
.f-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.f-badges span {
  font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(240, 180, 41, .45); color: var(--gold);
}
.f-legal .copy { color: #7d8399; }

/* ---------- Floatbar (slot + koin) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, rgba(16, 19, 34, .88), rgba(9, 11, 20, .96));
  border-top: 2px solid var(--gold); backdrop-filter: blur(8px);
  padding: 8px 14px 12px;
}
.fb-row { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.fb-reels { display: flex; gap: 5px; }
.reel {
  width: 30px; height: 30px; border-radius: 7px; overflow: hidden; background: #fff;
  border: 2px solid var(--gold); display: grid; place-items: center;
}
.reel .strip { display: grid; gap: 0; animation: roll 2.4s steps(4) infinite; }
.reel .strip b { height: 30px; display: grid; place-items: center; font-size: 17px; line-height: 1; font-weight: 400; }
.reel:nth-child(2) .strip { animation-duration: 3.1s; }
.reel:nth-child(3) .strip { animation-duration: 2.7s; animation-delay: .4s; }
@keyframes roll { to { transform: translateY(-50%); } }

.fb-btn {
  flex: 1; max-width: 260px; text-align: center; padding: 11px 18px; border-radius: 12px;
  font-weight: 900; font-size: .98rem; letter-spacing: .04em; position: relative; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .25);
}
.fb-btn:hover { text-decoration: none; }
.fb-daftar { background: linear-gradient(180deg, #ef3b52, #a80f26); color: #fff; box-shadow: 0 6px 18px rgba(216, 27, 51, .45); }
.fb-masuk { background: linear-gradient(180deg, #ffd166, #b57e0f); color: #3a2a00; box-shadow: 0 6px 18px rgba(240, 180, 41, .4); }
.fb-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 38px; left: -60px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); animation: sheen 2.8s ease-in-out infinite;
}
.fb-btn.fb-masuk::after { animation-delay: 1.2s; }
@keyframes sheen { 0%, 55% { left: -60px; } 100% { left: 130%; } }

.fb-coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.coin {
  position: absolute; bottom: -12px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 55%, #b57e0f);
  box-shadow: 0 0 6px rgba(240, 180, 41, .8);
  animation: coinup 3.2s linear infinite;
}
.coin.c1 { left: 8%; animation-delay: 0s; }
.coin.c2 { left: 24%; animation-delay: .7s; width: 10px; height: 10px; }
.coin.c3 { left: 52%; animation-delay: 1.5s; }
.coin.c4 { left: 74%; animation-delay: .4s; width: 11px; height: 11px; }
.coin.c5 { left: 90%; animation-delay: 2.1s; width: 9px; height: 9px; }
@keyframes coinup {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-92px) rotate(320deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coin, .fb-btn::after { animation: none; }
  .btn:hover, .tag-cloud a:hover { transform: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .main-navigation { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .hdr-actions { margin-left: auto; }
  .hero .wrap { grid-template-columns: minmax(0,1fr); padding: 42px 20px; }
  .hero-media { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-hero-side { grid-template-columns: minmax(0,1fr); }
  .kamus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .topbar .wrap { justify-content: center; text-align: center; }
  .tb-right { display: none; }
  .hdr-search { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kamus-grid { grid-template-columns: minmax(0,1fr); }
  .kamus-tools { flex-direction: column; }
  .kamus-search { max-width: none; }
  .prev-next { grid-template-columns: minmax(0,1fr); }
  .prev-next .card.next { text-align: left; }
  .fb-reels { display: none; }
  .fb-btn { font-size: .9rem; padding: 10px 14px; }
  .cta-band .btn + .btn { margin-left: 0; }
  .cta-band .btn { display: block; max-width: 320px; margin: 10px auto 0; }
  #mobile-nav ul { columns: 1; }
  .footer-widgets { grid-template-columns: minmax(0,1fr); padding-bottom: 14px; }
  .section { padding: 38px 0; }
  .entry-content table { font-size: .84rem; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .brand span { font-size: 1.02rem; }
  .btn { padding: 12px 18px; }
}
