/*
Theme Name: Idr89 Portal
Theme URI: https://idr89.games/
Author: Idr89 Dev Team
Description: Tema portal informasi hiburan daring Idr89 — gaya WordPress (header.php / footer.php / content-page) yang dirender statis. Responsif, SEO-friendly, tanpa dependensi eksternal.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: idr89
Tags: casino, magazine, responsive, custom-menu
*/

/* ===== 1. Root & Reset ===== */
:root {
  --ink: #0b0b10;
  --ink-2: #14141d;
  --ink-3: #1d1d29;
  --red: #c8102e;
  --red-deep: #8e0a20;
  --red-soft: #fdeef1;
  --gold: #f2b90c;
  --gold-2: #ffd75e;
  --gold-deep: #b8860b;
  --green: #0e9f6e;
  --green-deep: #0b7a55;
  --green-soft: #e9f8f2;
  --blue: #1f6feb;
  --blue-soft: #eaf2ff;
  --paper: #ffffff;
  --mist: #f6f7fb;
  --line: #e6e8f0;
  --text: #26262e;
  --muted: #5d5f6b;
  --shadow: 0 10px 30px rgba(11, 11, 16, .10);
  --shadow-lg: 0 18px 48px rgba(11, 11, 16, .16);
  --radius: 16px;
  --wrap: 1200px;
  --bar-h: 64px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1rem; overflow-wrap: break-word; }
h1, h2, h3, h4, h5 { line-height: 1.25; color: var(--ink); margin: 0 0 .6em; overflow-wrap: break-word; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: .4rem; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink-2); }
.section--red { background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; }
.section--red h2, .section--dark h2, .section--red h3, .section--dark h3 { color: #fff; }

/* ===== 2. Header (header.php) ===== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(11, 11, 16, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 185, 12, .25);
}
.top-strip {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: var(--ink);
  font-size: .78rem; font-weight: 600;
  text-align: center;
  padding: 4px 12px;
  letter-spacing: .3px;
}
.top-strip b { color: var(--red-deep); }
.header-main {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-name {
  font-size: 1.45rem; font-weight: 800; letter-spacing: .5px;
  color: var(--gold-2);
  text-shadow: 0 2px 8px rgba(242, 185, 12, .35);
  white-space: nowrap;
}
.brand-name small { display: block; font-size: .55rem; font-weight: 600; color: #9aa0b0; letter-spacing: 2.5px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  color: #e8e9ef; font-weight: 600; font-size: .92rem;
  padding: 8px 13px; border-radius: 10px;
  display: block; white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item a {
  color: var(--gold-2); background: rgba(242, 185, 12, .12); text-decoration: none;
}
.header-cta { display: flex; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid rgba(242,185,12,.4); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--gold-2); position: absolute; left: 11px;
  transition: transform .25s, top .25s, opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] span::after { opacity: 0; }

/* ===== 3. Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px;
  font-weight: 800; font-size: .95rem; letter-spacing: .3px;
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, filter .15s;
  min-height: 46px;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(242, 185, 12, .45);
}
.btn--red {
  background: linear-gradient(180deg, #e0173c, var(--red) 55%, var(--red-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, .45);
}
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--gold-2);
  border: 1.5px solid rgba(242, 185, 12, .55);
}
.btn--green {
  background: linear-gradient(180deg, #12b57d, var(--green) 55%, var(--green-deep));
  color: #fff; box-shadow: 0 6px 18px rgba(14, 159, 110, .4);
}
.btn--blue { background: linear-gradient(180deg, #3d83f7, var(--blue)); color: #fff; }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ===== 4. Hero ===== */
.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(242, 185, 12, .18), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(200, 16, 46, .35), transparent 60%),
    linear-gradient(180deg, #101018, var(--ink));
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  color: #f0f1f6; white-space: nowrap;
}
.badge--18 { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.badge--red { background: rgba(200, 16, 46, .35); border-color: #ff5d78; }
.hero h1 {
  color: #fff; font-size: 2.7rem; font-weight: 900; letter-spacing: -.5px;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-lead { color: #c9ccd8; font-size: 1.08rem; max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { font-size: .8rem; color: #8b8fa0; }
.hero-note a { color: var(--gold-2); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 20px; display: block; width: 100%;
  border: 2px solid rgba(242, 185, 12, .4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.hero-chip {
  position: absolute; background: rgba(11, 11, 16, .88);
  border: 1px solid rgba(242, 185, 12, .45); color: #fff;
  padding: 10px 16px; border-radius: 14px; font-size: .82rem; font-weight: 700;
  backdrop-filter: blur(6px); white-space: nowrap;
}
.hero-chip--a { top: -14px; left: -10px; color: var(--gold-2); }
.hero-chip--b { bottom: -14px; right: -6px; }
.hero-chip span { display: block; font-size: .68rem; color: #9aa0b0; font-weight: 500; }

/* ===== 5. Section headers ===== */
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section--dark .sec-eyebrow, .section--red .sec-eyebrow { color: var(--gold-2); }
.sec-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section--dark .sec-head p, .section--red .sec-head p { color: rgba(255,255,255,.8); }

/* ===== 6. Steps (Panduan 4 Langkah) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px 24px; position: relative;
  box-shadow: var(--shadow); transition: transform .2s;
}
.step-card:hover { transform: translateY(-4px); }
.step-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -16px; left: 20px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink); font-weight: 900; font-size: .95rem;
  padding: 4px 14px; border-radius: 10px;
  box-shadow: 0 6px 14px rgba(242, 185, 12, .5);
}
.step-ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 10px 0 14px;
  background: var(--red-soft);
}
.step-card:nth-child(2) .step-ico { background: var(--gold-2); }
.step-card:nth-child(3) .step-ico { background: var(--green-soft); }
.step-card:nth-child(4) .step-ico { background: var(--blue-soft); }
.step-card h3 { font-size: 1.12rem; }
.step-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ===== 7. Feature grids & cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0; transition: transform .2s, box-shadow .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
}
.feat-ico--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--ink); }
.feat-ico--green { background: linear-gradient(135deg, #12b57d, var(--green-deep)); }
.feat-ico--blue { background: linear-gradient(135deg, #3d83f7, #174ea6); }
.feat-card h3 { font-size: 1.06rem; margin: 4px 0 0; }
.feat-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.feat-card .btn { margin-top: auto; align-self: flex-start; }

/* checklist (Mengapa Memilih) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); margin-bottom: 10px;
}
.check-list .tick {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff; font-size: .85rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-list b { color: var(--ink); }
.check-list p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* ===== 8. Mobile showcase ===== */
.phone-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
.phone-shot {
  width: 150px; border-radius: 18px; overflow: hidden;
  border: 3px solid var(--ink-3); box-shadow: var(--shadow-lg);
  background: var(--ink-3);
}
.phone-shot img { display: block; width: 100%; }

/* ===== 9. Testimoni ===== */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative; min-width: 0;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 2px; right: 18px;
  font-size: 4.2rem; line-height: 1; color: var(--red); opacity: .16;
  font-family: Georgia, serif;
}
.quote-stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; margin-bottom: 8px; }
.quote-card p { font-size: .95rem; color: var(--text); }
.quote-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: .9rem; flex-shrink: 0;
}
.quote-who b { display: block; font-size: .9rem; color: var(--ink); }
.quote-who small { color: var(--muted); font-size: .76rem; }
.note-legal { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* ===== 10. Fakta vs Mitos (details cards) ===== */
.fm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fm-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
}
.fm-card summary {
  list-style: none; cursor: pointer;
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--ink); font-size: .98rem;
  user-select: none;
}
.fm-card summary::-webkit-details-marker { display: none; }
.fm-card summary::after {
  content: "+"; margin-left: auto; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 900;
  transition: transform .2s;
}
.fm-card details[open] summary::after, .fm-card[open] > summary::after { content: "\2212"; background: var(--green-soft); color: var(--green); }
.fm-tag {
  font-size: .68rem; font-weight: 900; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 8px; flex-shrink: 0;
}
.fm-tag--mitos { background: var(--red); color: #fff; }
.fm-tag--fakta { background: var(--green); color: #fff; }
.fm-body { padding: 0 20px 20px; color: var(--muted); font-size: .92rem; border-top: 1px dashed var(--line); padding-top: 14px; }
.fm-body b { color: var(--green-deep); }

/* ===== 11. Search & tag cloud ===== */
.search-box {
  display: flex; gap: 10px; max-width: 640px; margin: 0 auto 26px;
  background: #fff; padding: 10px; border-radius: 16px;
  border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.search-box input {
  flex: 1; min-width: 0; border: 0; outline: none;
  font-size: 1rem; padding: 8px 12px; font-family: inherit; color: var(--text);
  background: transparent;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; text-decoration: none !important;
  border: 1.5px solid transparent; transition: transform .15s, filter .15s;
}
.tag:hover { transform: translateY(-2px); filter: brightness(1.05); }
.tag--hot { background: var(--red-soft); color: var(--red); border-color: #f6c9d2; }
.tag--gold { background: #fff7e0; color: #9a7203; border-color: #f3df9a; }
.tag--green { background: var(--green-soft); color: var(--green-deep); border-color: #bfe9d9; }
.tag--blue { background: var(--blue-soft); color: #174ea6; border-color: #c4d9fb; }
.tag--dark { background: var(--ink-2); color: var(--gold-2); }

/* ===== 12. FAQ (details accordion) ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; user-select: none;
  padding: 18px 22px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 12px; font-size: .99rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "?"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--ink); font-weight: 900; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.faq-item[open] > summary { border-bottom: 1px dashed var(--line); color: var(--red); }
.faq-body { padding: 16px 22px 20px 62px; color: var(--muted); font-size: .93rem; }
.faq-body a { font-weight: 600; }

/* ===== 13. Breadcrumb ===== */
.breadcrumb {
  background: var(--ink-2); color: #b9bdc9;
  font-size: .8rem; padding: 10px 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "\203A"; color: var(--gold); font-weight: 800; }
.breadcrumb a { color: #d8dae2; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb [aria-current] { color: var(--gold-2); }

/* ===== 14. Page hero (inner pages) ===== */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(242, 185, 12, .16), transparent 60%),
    linear-gradient(180deg, #12121b, var(--ink));
  color: #fff; padding: 52px 0 46px;
}
.page-hero h1 { color: #fff; font-size: 2.2rem; margin: 10px 0 12px; }
.page-hero .meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-size: .82rem; color: #9aa0b0;
}
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .lead { color: #c9ccd8; max-width: 760px; font-size: 1.04rem; margin: 14px 0 0; }

/* ===== 15. Article layout (content-page) ===== */
.content-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px;
  padding: 48px 0 64px; align-items: start;
}
.entry-content {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 30px; box-shadow: var(--shadow); min-width: 0;
}
.entry-content h2 {
  font-size: 1.45rem; margin: 1.6em 0 .55em; padding-left: 14px;
  border-left: 5px solid var(--red);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; color: var(--ink); }
.entry-content p { color: var(--text); }
.entry-content img { border-radius: 12px; margin: 6px 0 10px; }
.entry-content figcaption { font-size: .78rem; color: var(--muted); text-align: center; margin: -4px 0 18px; }
.entry-content ul li, .entry-content ol li { color: var(--text); }
.entry-content blockquote {
  margin: 1.4em 0; padding: 16px 22px;
  background: var(--red-soft); border-left: 5px solid var(--red);
  border-radius: 0 12px 12px 0; color: #7d2436; font-style: italic;
}
.entry-content blockquote p { margin: 0; color: inherit; }
.article-img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.article-img--top { margin-bottom: 22px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0; border-radius: 12px; border: 1px solid var(--line); }
.table-wrap table { margin: 0; font-size: .9rem; min-width: min(520px, max(100%, 340px)); }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--ink-2); color: var(--gold-2); font-size: .82rem; letter-spacing: .5px; white-space: nowrap; }
.table-wrap tbody tr:nth-child(even) { background: var(--mist); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--gold-2); border: 1px solid #ecd27a;
  padding: 16px 18px; border-radius: 12px; margin: 1.3em 0;
}
.callout .ico { font-size: 1.4rem; flex-shrink: 0; }
.callout p { margin: 0; font-size: .93rem; color: #5f4a06; }
.callout--blue { background: var(--blue-soft); border-color: #bcd4fb; }
.callout--blue p { color: #174ea6; }
.callout--green { background: var(--green-soft); border-color: #b5e6d4; }
.callout--green p { color: var(--green-deep); }

/* Sidebar (sidebar.php style) */
.sidebar { display: grid; gap: 22px; position: sticky; top: 96px; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); min-width: 0;
}
.widget h3 {
  font-size: 1rem; display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 14px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li + li { border-top: 1px dashed var(--line); }
.widget li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; color: var(--text); font-weight: 600; font-size: .92rem;
}
.widget li a:hover { color: var(--red); text-decoration: none; }
.widget li a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.widget--cta { background: linear-gradient(150deg, var(--ink-2), var(--ink)); text-align: center; }
.widget--cta h3 { color: var(--gold-2); justify-content: center; border-color: rgba(242,185,12,.4); }
.widget--cta p { color: #b9bdc9; font-size: .88rem; }
.widget--cta .btn { width: 100%; margin-top: 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .9rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ===== 16. Promo cards ===== */
.promo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; min-width: 0;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-card figure { margin: 0; position: relative; }
.promo-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-flag {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .5px;
  padding: 5px 12px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.promo-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { font-size: 1.08rem; margin: 0; }
.promo-body p { font-size: .9rem; color: var(--muted); margin: 0; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .72rem; font-weight: 700; }
.promo-meta span { background: var(--mist); border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 8px; }
.promo-body .btn { margin-top: auto; align-self: flex-start; }

/* ===== 17. Forms ===== */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-lg); max-width: 520px; margin: 0 auto;
}
.form-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--text); background: var(--mist);
  transition: border-color .15s, background .15s;
}
.field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: 5px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 4px 0 18px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-alt { text-align: center; font-size: .9rem; margin-top: 18px; color: var(--muted); }
.form-msg {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: var(--green-soft); color: var(--green-deep); font-size: .88rem; font-weight: 600;
}

/* ===== 18. Footer (footer.php) ===== */
.site-footer {
  background: var(--ink); color: #a7abb8;
  margin-top: 0;
  padding: 56px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: #fff; font-size: .95rem; letter-spacing: .5px;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(242,185,12,.35);
  display: inline-block;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #a7abb8; font-size: .9rem; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { color: var(--gold-2); font-size: 1.3rem; letter-spacing: .5px; }
.footer-desc { font-size: .88rem; line-height: 1.75; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.f-badge {
  border: 1.5px solid rgba(242, 185, 12, .45); color: var(--gold-2);
  font-size: .74rem; font-weight: 800; padding: 5px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-disclaimer {
  background: rgba(255, 255, 255, .04); border: 1px dashed rgba(242,185,12,.3);
  border-radius: 12px; padding: 14px 18px; font-size: .78rem; line-height: 1.7;
  color: #8b8fa0; margin-bottom: 30px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0 calc(20px + var(--bar-h));
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom .age-badge {
  background: var(--gold); color: var(--ink); font-weight: 900;
  border-radius: 8px; padding: 4px 10px; font-size: .78rem; flex-shrink: 0;
}

/* ===== 19. Floating bar (slot machine style) ===== */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
  background: linear-gradient(180deg, #1b1b26, #0d0d13 45%, #0a0a0f);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .45);
  height: var(--bar-h);
  display: flex; align-items: center;
}
.float-bar::before, .float-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; pointer-events: none;
  background: radial-gradient(circle at 20% 0, rgba(200,16,46,.35), transparent 70%);
}
.float-bar::after { right: 0; background: radial-gradient(circle at 80% 0, rgba(14,159,110,.3), transparent 70%); }
.float-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; gap: 14px; width: 100%;
}
.slot-reels { display: flex; gap: 5px; flex-shrink: 0; }
.reel {
  width: 34px; height: 40px; border-radius: 9px;
  background: linear-gradient(180deg, #fff, #d8dbe4 30%, #f4f5f8 50%, #c9ccd6);
  border: 2px solid #3a3a48;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; overflow: hidden;
  box-shadow: inset 0 -8px 12px rgba(0,0,0,.18), inset 0 8px 12px rgba(255,255,255,.7);
  position: relative;
}
.reel::before, .reel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.38), transparent);
}
.reel::after { bottom: 0; transform: rotate(180deg); }
.reel span { display: block; animation: reelspin 0.9s linear infinite; will-change: transform; }
.reel--win { border-color: var(--gold); box-shadow: 0 0 14px rgba(242,185,12,.55), inset 0 -8px 12px rgba(0,0,0,.18); }
.reel--win span { animation-duration: 0.45s; }
@keyframes reelspin {
  0% { transform: translateY(-26px) rotateX(0deg); }
  100% { transform: translateY(26px) rotateX(360deg); }
}
.float-cta { display: flex; gap: 10px; margin-left: auto; position: relative; }
.float-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 900; font-size: .92rem; letter-spacing: 1px; text-decoration: none !important;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.float-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.float-btn--daftar {
  background: linear-gradient(180deg, #ffd75e, var(--gold) 45%, #c98f04);
  color: #3a2a00;
  box-shadow: 0 5px 0 #9a6d02, 0 10px 22px rgba(242, 185, 12, .5);
  animation: pulse-gold 1.8s ease-in-out infinite;
}
.float-btn--masuk {
  background: linear-gradient(180deg, #e0173c, var(--red-deep));
  color: #fff;
  box-shadow: 0 5px 0 #6d0717, 0 10px 22px rgba(200, 16, 46, .45);
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 5px 0 #9a6d02, 0 10px 22px rgba(242,185,12,.45); }
  50% { box-shadow: 0 5px 0 #9a6d02, 0 14px 30px rgba(242,185,12,.75); }
}
.coin {
  position: absolute; top: -14px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #a97a05);
  border: 1.5px solid #8a6404;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none; z-index: 1;
  animation: coinfly 2.6s ease-in infinite;
}
.coin::after {
  content: "Rp"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 900; color: #7a5a03;
}
.coin--1 { left: 12%; animation-delay: 0s; }
.coin--2 { left: 34%; animation-delay: .9s; }
.coin--3 { left: 58%; animation-delay: .4s; }
.coin--4 { left: 80%; animation-delay: 1.5s; }
.coin--5 { left: 95%; animation-delay: 1.2s; }
@keyframes coinfly {
  0% { transform: translateY(46px) scale(.4) rotate(0deg); opacity: 0; }
  18% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(-52px) scale(1) rotate(340deg); opacity: 0; }
}
.float-note { color: #8b8fa0; font-size: .68rem; line-height: 1.3; text-align: right; flex-shrink: 0; }
.float-note b { color: var(--gold-2); display: block; font-size: .74rem; }
@media (max-width: 640px) { .float-note { display: none; } .reel { width: 30px; height: 36px; font-size: 1rem; } }

/* ===== 20. Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.legal-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.legal-tags .f-badge { border-color: rgba(255,255,255,.3); color: #d8dae2; }
.alert-box {
  background: var(--red-soft); border: 1.5px solid #f3c3cd; border-radius: 12px;
  padding: 14px 18px; color: #7d2436; font-size: .88rem; margin: 1.2em 0;
  display: flex; gap: 10px;
}
.alert-box b { color: var(--red-deep); }

/* reveal on scroll (progressive enhancement only) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .reel span, .coin, .float-btn--daftar { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== 21. Responsive ===== */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 2px solid var(--gold);
    padding: 10px 16px 18px; margin: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .header-cta .btn--sm span.full { display: none; }
  .hero { padding: 52px 0 66px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.1rem; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .table-wrap thead th { white-space: normal; }
  .table-wrap th, .table-wrap td { word-break: break-word; }
  .section { padding: 46px 0; }
  .steps { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .entry-content { padding: 24px 20px; }
  .faq-body { padding-left: 22px; }
  .page-hero h1 { font-size: 1.7rem; }
  :root { --bar-h: 60px; }
  .float-btn { padding: 0 16px; font-size: .85rem; }
  .header-cta .btn { padding: 9px 14px; }
  .brand-name { font-size: 1.2rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 1.75rem; }
  .brand-name small { display: none; }
  .top-strip { font-size: .68rem; }
  .float-inner { gap: 8px; padding: 0 10px; }
  .slot-reels .reel:nth-child(3) { display: none; }
  .float-btn { padding: 0 13px; font-size: .8rem; letter-spacing: .5px; }
  .search-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
