/* ============================================================
   Garuda888 — garuda888.games
   Tema: kasino merah / hitam / emas dengan aksen hijau & biru
   Struktur kelas mengikuti konvensi tema WordPress
   (site-header, site-main, entry-content, site-footer, widget)
   ============================================================ */

:root {
  --red: #c8102e;
  --red-dark: #8f0a20;
  --red-deep: #4d0512;
  --ink: #17141f;
  --ink-soft: #4b4657;
  --night: #120e18;
  --night-2: #1e1628;
  --gold: #f6c445;
  --gold-2: #ffdf8e;
  --gold-deep: #a97b08;
  --green: #0f9d6b;
  --green-deep: #0a6e4a;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --paper: #f7f5fa;
  --white: #ffffff;
  --line: #e7e2ee;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 14, 24, 0.09);
  --shadow-lg: 0 18px 50px rgba(18, 14, 24, 0.16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fab-h: 76px;
}

* { 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(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 55%, var(--gold-deep) 130%);
  color: var(--red-deep);
  box-shadow: 0 6px 18px rgba(246, 196, 69, 0.45), inset 0 -3px 0 rgba(169, 123, 8, 0.35);
}
.btn-red {
  background: linear-gradient(180deg, #e5193c 0%, var(--red) 55%, var(--red-dark) 120%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.38), inset 0 -3px 0 rgba(109, 6, 26, 0.45);
}
.btn-green {
  background: linear-gradient(180deg, #17b97e 0%, var(--green) 60%, var(--green-deep) 120%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 157, 107, 0.35), inset 0 -3px 0 rgba(7, 82, 56, 0.4);
}
.btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-red { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline-red:hover { background: rgba(200, 16, 46, 0.07); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Lencana & chip ---------- */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 0.85rem;
  background: #fff;
}
.badge-18.on-dark { color: #ffd989; border-color: #ffd989; background: rgba(0, 0, 0, 0.35); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); text-decoration: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 14px rgba(18, 14, 24, 0.12); }

.header-top { background: var(--red-deep); color: #ffe3b3; font-size: 0.8rem; }
.header-top-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.header-top p { margin: 0; }
.header-top .dot { color: var(--gold); }

.header-main { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); border-bottom: 3px solid var(--gold); }
.header-main-inner { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.site-logo .logo-coin {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8 0%, var(--gold) 45%, var(--gold-deep) 100%);
  display: grid; place-items: center;
  color: var(--red-deep); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(120, 80, 0, 0.5);
}
.logo-text { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: 0.3px; }
.logo-text b { color: var(--gold); }
.logo-text small { display: block; font-size: 0.6rem; font-weight: 600; color: #b9aecb; letter-spacing: 2.2px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: #e8e2f2; font-weight: 600; font-size: 0.92rem; text-decoration: none;
}
.main-nav a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.07); }
.main-nav a.is-active { color: var(--gold); background: rgba(246, 196, 69, 0.12); }

.header-search { display: flex; align-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 3px 4px 3px 14px; }
.header-search input {
  width: 168px; border: 0; outline: 0; background: transparent; color: #fff;
  font-family: var(--font); font-size: 0.88rem; padding: 7px 0;
}
.header-search input::placeholder { color: #9d92b3; }
.header-search button {
  border: 0; cursor: pointer; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: var(--red-deep); display: grid; place-items: center;
}

.header-actions { display: flex; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: transparent;
  border: 0; padding: 8px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--gold); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 11px 0; font-size: 0.85rem; }
.breadcrumb li { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #b6aec6; }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--red); font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(200, 16, 46, 0.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(37, 99, 235, 0.25), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, #1c0f1e 55%, #240a14 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding-top: 58px; padding-bottom: 58px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(246, 196, 69, 0.14); border: 1px solid rgba(246, 196, 69, 0.45); color: var(--gold-2); font-weight: 700; font-size: 0.82rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 .hl { color: var(--gold); }
.hero .lead { color: #d9d2e6; font-size: 1.04rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #cfc6dd; font-size: 0.85rem; font-weight: 600; }
.hero-trust .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.14); }
.hero-media .float-badge {
  position: absolute; left: -14px; bottom: 22px;
  background: linear-gradient(180deg, #17b97e, var(--green-deep));
  color: #fff; font-weight: 700; font-size: 0.8rem;
  padding: 9px 16px; border-radius: 12px; box-shadow: var(--shadow-lg);
}
.hero-media .float-badge.badge-red { left: auto; right: -10px; top: 20px; bottom: auto; background: linear-gradient(180deg, #e5193c, var(--red-dark)); }

.tagcloud-strip { position: relative; z-index: 1; background: rgba(10, 7, 14, 0.55); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tagcloud-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.tagcloud-strip .label { color: var(--gold); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.tagcloud-strip .chip { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); color: #e6e0f2; }
.tagcloud-strip .chip:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   SECTION UMUM
   ============================================================ */
.section { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); color: #e6e0f2; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { color: var(--red); font-weight: 800; letter-spacing: 1.6px; font-size: 0.8rem; text-transform: uppercase; }
.section-dark .section-head .kicker { color: var(--gold); }
.section-head .lead { color: var(--ink-soft); }
.section-dark .section-head .lead { color: #cfc6dd; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.section-dark .card { background: var(--night-2); border-color: rgba(255, 255, 255, 0.1); }
.card h3 { margin-top: 0; }

.icon-bubble {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff;
}
.ib-red { background: linear-gradient(145deg, #e5193c, var(--red-dark)); }
.ib-gold { background: linear-gradient(145deg, #ffdf8e, var(--gold-deep)); color: var(--red-deep); }
.ib-green { background: linear-gradient(145deg, #17b97e, var(--green-deep)); }
.ib-blue { background: linear-gradient(145deg, #5b8cff, var(--blue-deep)); }

/* ---------- Langkah (steps) ---------- */
.step-card { position: relative; counter-increment: step; overflow: hidden; }
.step-card .step-num {
  position: absolute; top: -14px; right: 6px; font-size: 4.6rem; font-weight: 800;
  color: rgba(200, 16, 46, 0.08); line-height: 1;
}
.step-card .step-tag {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: var(--red-deep); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(246, 196, 69, 0.4);
}
.step-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Kartu promosi ---------- */
.promo-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.promo-card .promo-media { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; }
.promo-card .promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card .promo-type {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(18, 14, 24, 0.82); color: var(--gold); border: 1px solid rgba(246, 196, 69, 0.5);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.promo-card .promo-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.promo-card h3 { margin-bottom: 8px; }
.promo-card p { color: var(--ink-soft); font-size: 0.93rem; }
.promo-terms { margin: 6px 0 16px; font-size: 0.85rem; border: 1px dashed #d9d2e6; border-radius: var(--radius-sm); padding: 12px 14px; background: #faf8fd; }
.promo-terms div { display: flex; gap: 8px; padding: 3px 0; }
.promo-terms dt { color: var(--ink-soft); min-width: 108px; font-weight: 600; flex-shrink: 0; }
.promo-terms dd { margin: 0; color: var(--ink); font-weight: 600; }
.promo-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Kenapa memilih ---------- */
.why-card { text-align: left; }
.why-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ---------- Split media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 38px; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(15, 157, 107, 0.12); color: var(--green-deep); font-weight: 800; font-size: 0.85rem;
}
.split-dark .check-list li::before { background: rgba(23, 185, 126, 0.2); color: #4fe0a8; }
.split-dark .check-list li { color: #cfc6dd; }

/* ---------- Testimoni ---------- */
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.testi-stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 0.95rem; }
.testi-card blockquote { margin: 0; font-size: 0.95rem; color: var(--ink); font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 0.9rem;
}
.testi-who .name { font-weight: 700; font-size: 0.93rem; }
.testi-who .meta { color: var(--ink-soft); font-size: 0.8rem; }
.testi-note { text-align: center; color: var(--ink-soft); font-size: 0.8rem; margin-top: 22px; margin-bottom: 0; }

/* ---------- Kalkulator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 0.9fr; gap: 26px; align-items: start; }
.calc-form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field .hint { font-weight: 500; color: var(--ink-soft); font-size: 0.8rem; }
.field input[type="number"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; outline: none; background: #fff; color: var(--ink);
}
.field input[type="number"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12); }
.calc-result { background: linear-gradient(160deg, var(--night), #2a0f1c); color: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid rgba(246, 196, 69, 0.3); }
.calc-result h3 { color: var(--gold); margin-bottom: 14px; }
.calc-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.calc-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-sm); font-size: 0.93rem; }
.calc-rows .val { font-weight: 800; color: var(--gold-2); white-space: nowrap; }
.calc-note { font-size: 0.78rem; color: #b9aecb; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 700; font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(200, 16, 46, 0.09); color: var(--red); font-weight: 800;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.94rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(246, 196, 69, 0.22), transparent 60%),
    linear-gradient(135deg, var(--red-dark), var(--red) 55%, #5c1030);
  color: #fff; text-align: center; padding: 58px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe4ea; max-width: 62ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ============================================================
   KONTEN ARTIKEL / ENTRY-CONTENT (gaya WordPress)
   ============================================================ */
.page-hero { background: linear-gradient(160deg, var(--night), #25091c); color: #fff; padding: 46px 0 40px; }
.page-hero .kicker { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 1.4px; text-transform: uppercase; }
.page-hero h1 { color: #fff; margin: 10px 0 12px; }
.page-hero .lead { color: #d9d2e6; max-width: 72ch; margin-bottom: 0; }
.page-hero .meta { color: #b9aecb; font-size: 0.85rem; margin: 14px 0 0; }

.layout-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 64px; align-items: start; }
.layout-with-aside > *, .split > *, .grid > *, .calc-wrap > *, .auth-wrap > *, .hero-inner > * { min-width: 0; }
.entry-content figure img { width: 100%; }
.table-wrap { max-width: 100%; }

.entry-content { font-size: 1.02rem; color: #262230; }
.entry-content > h2 { margin-top: 1.6em; padding-top: 0.4em; border-top: 1px solid var(--line); }
.entry-content > h2:first-child { border-top: 0; margin-top: 0.4em; }
.entry-content > h3 { margin-top: 1.4em; }
.entry-content a { font-weight: 600; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-content figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.45em; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 18px 22px; border-left: 5px solid var(--gold);
  background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.92rem; }
.entry-content th { background: var(--night-2); color: #fff; text-align: left; padding: 11px 14px; }
.entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: #faf8fd; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }

.notice {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; margin: 1.6em 0; border: 1px solid;
}
.notice-warn { background: #fff7ed; border-color: #fdba74; color: #7c2d12; }
.notice-safe { background: #ecfdf5; border-color: #6ee7b7; color: #064e3b; }
.notice-info { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }

.article-footer { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.author-box { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 1.6em; }
.author-box .testi-avatar { background: linear-gradient(145deg, var(--red), var(--red-dark)); }
.author-box p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.author-box .name { font-weight: 800; color: var(--ink); }

/* Sidebar / widget */
.widget-area { display: grid; gap: 24px; position: sticky; top: 96px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.widget h3 { font-size: 1.02rem; padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--ink); font-weight: 600; }
.widget li a:hover { color: var(--red); }
.widget .btn { margin-top: 6px; }

/* ---------- Kartu artikel ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-card .post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { color: var(--ink-soft); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.post-card .post-meta .cat { background: rgba(200, 16, 46, 0.08); color: var(--red); font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post-card p { color: var(--ink-soft); font-size: 0.9rem; }
.post-card .readmore { margin-top: auto; font-weight: 700; font-size: 0.88rem; color: var(--red); }

/* ============================================================
   FORM AUTH (daftar / masuk)
   ============================================================ */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 56px 0 72px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 22px; }
.auth-form { display: grid; gap: 16px; }
.auth-form input[type="text"], .auth-form input[type="password"], .auth-form input[type="email"], .auth-form input[type="tel"] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.98rem; outline: none; background: #fff;
}
.auth-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12); }
.auth-form .checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.auth-form .checkline input { margin-top: 3px; }
.auth-alt { text-align: center; font-size: 0.9rem; color: var(--ink-soft); margin: 14px 0 0; }
.auth-side { display: grid; gap: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--night); color: #cfc6dd; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a { color: #cfc6dd; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: 0.9rem; color: #b9aecb; }
.footer-about .badges { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.footer-about .badges span { font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 6px; padding: 4px 8px; color: #e6e0f2; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 0.8rem; color: #9d92b3; }
.footer-disclaimer p { margin: 0 0 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; font-size: 0.84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .right { display: flex; align-items: center; gap: 10px; }
.footer-bottom .badge-18 { border-color: var(--red); background: transparent; color: #ff8da2; }
.site-footer .container { padding-bottom: calc(var(--fab-h) + 26px); }

/* ============================================================
   FLOATING CTA (gaya mesin slot + koin emas)
   ============================================================ */
.fab-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 980; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #241833, #160d20);
  border: 2px solid var(--gold); border-radius: 999px;
  padding: 9px 14px 9px 11px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 196, 69, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  max-width: calc(100vw - 20px);
}
.fab-reels { display: flex; gap: 5px; flex-shrink: 0; }
.fab-reels .reel {
  width: 30px; height: 34px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #fff8e1, #ffe08a 45%, #eab308 55%, #a16207);
  border: 1.5px solid #7c4a03; display: grid; place-items: center;
  font-size: 1rem; line-height: 1;
}
.fab-reels .reel span { display: block; animation: reelSpin 2.4s steps(4, end) infinite; }
.fab-reels .r2 span { animation-delay: 0.3s; animation-duration: 2.1s; }
.fab-reels .r3 span { animation-delay: 0.6s; animation-duration: 2.7s; }
@keyframes reelSpin {
  0% { transform: translateY(0); }
  25% { transform: translateY(-20px); }
  50% { transform: translateY(-40px); }
  75% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}
.fab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #ffecb5 0%, var(--gold) 40%, #e79b0c 75%, var(--gold-deep) 100%);
  color: var(--red-deep); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.4px;
  text-decoration: none !important; position: relative;
  box-shadow: 0 5px 16px rgba(246, 196, 69, 0.5), inset 0 -3px 0 rgba(124, 74, 3, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.65);
  animation: fabPulse 1.8s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 5px 16px rgba(246, 196, 69, 0.45), inset 0 -3px 0 rgba(124, 74, 3, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.65); }
  50% { box-shadow: 0 5px 26px rgba(246, 196, 69, 0.85), inset 0 -3px 0 rgba(124, 74, 3, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.65); }
}
.fab-coin {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 8px rgba(246, 196, 69, 0.8);
  opacity: 0; animation: coinUp 3s ease-in infinite;
}
.fab-coin.fc1 { left: 18%; bottom: 4px; animation-delay: 0s; }
.fab-coin.fc2 { left: 55%; bottom: 2px; width: 10px; height: 10px; animation-delay: 0.9s; }
.fab-coin.fc3 { left: 82%; bottom: 6px; width: 12px; height: 12px; animation-delay: 1.7s; }
@keyframes coinUp {
  0% { opacity: 0; transform: translateY(6px) scale(0.6); }
  25% { opacity: 1; }
  70% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-46px) scale(1); }
}

/* ============================================================
   HALAMAN PENCARIAN
   ============================================================ */
.search-page-head { padding: 46px 0 10px; }
.search-big { display: flex; gap: 10px; max-width: 640px; margin: 18px auto 0; }
.search-big input { flex: 1; min-width: 0; padding: 14px 18px; border: 2px solid var(--line); border-radius: 999px; font-family: var(--font); font-size: 1rem; outline: none; }
.search-big input:focus { border-color: var(--red); }
.search-result-list { display: grid; gap: 14px; margin: 26px 0 60px; }
.search-hit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); }
.search-hit h3 { margin-bottom: 4px; font-size: 1.02rem; }
.search-hit p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.search-hit .url { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--green-deep); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 20px; }
.notfound .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; background: linear-gradient(180deg, var(--gold-2), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--night); border-bottom: 3px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; gap: 4px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
  .layout-with-aside { grid-template-columns: 1fr; }
  .widget-area { position: static; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .hero-media { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .calc-wrap, .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 46px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .header-actions .btn-outline-light { display: none; }
  .header-main-inner { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .header-top-inner { justify-content: center; }
  .header-top .right { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-band .hero-cta .btn { flex: 0 1 auto; }
  .auth-card { padding: 24px 18px; }
  .fab-cta { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: center; max-width: none; padding: 8px 10px; }
  .fab-btn { flex: 1; padding: 12px 10px; font-size: 0.92rem; }
  .fab-reels .reel { width: 26px; height: 30px; font-size: 0.9rem; }
  .entry-content { font-size: 0.98rem; }
  .entry-content table { font-size: 0.85rem; }
  .entry-content th, .entry-content td { padding: 9px 10px; }
}
@media (max-width: 520px) {
  .header-main-inner { gap: 10px; }
  .logo-text small { display: none; }
  .logo-text { font-size: 1.12rem; }
  .site-logo .logo-coin { width: 34px; height: 34px; font-size: 0.85rem; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 0.78rem; }
  .nav-toggle { padding: 6px; }
  .nav-toggle span { width: 22px; }
}
@media (max-width: 460px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .header-actions .btn-sm { padding: 9px 13px; font-size: 0.8rem; }
  .logo-text { font-size: 1.15rem; }
  .site-logo .logo-coin { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* Aksesibilitas: fokus jelas */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
