/*
Theme Name: Kilau4d Press
Theme URI: https://kilau4d.games
Description: Tema portal informasi hiburan Kilau4d - struktur kelas mengikuti konvensi WordPress (site-header, entry-content, widget-area, site-footer).
Author: Kilau4d
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kilau4d
*/

/* =========================================================
   1. Variabel & Reset
   ========================================================= */
:root {
  --c-bg: #0b0e14;
  --c-bg-2: #10141d;
  --c-panel: #151a26;
  --c-panel-2: #1b2130;
  --c-line: #262e40;
  --c-red: #e0263c;
  --c-red-dark: #b01a2d;
  --c-gold: #f6c445;
  --c-gold-2: #ffdd7a;
  --c-green: #1fb45b;
  --c-green-dark: #158c45;
  --c-blue: #2f7de1;
  --c-blue-soft: #173a63;
  --c-white: #f4f6fb;
  --c-muted: #a7b0c4;
  --c-muted-2: #7c869c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 10px 30px rgba(246, 196, 69, 0.22);
  --grad-red: linear-gradient(135deg, #e0263c 0%, #8f1424 100%);
  --grad-gold: linear-gradient(135deg, #ffe083 0%, #f0b429 55%, #d99414 100%);
  --grad-green: linear-gradient(135deg, #27c967 0%, #128a43 100%);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

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

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

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-white);
  background:
    radial-gradient(1100px 500px at 85% -8%, rgba(224, 38, 60, 0.16), transparent 60%),
    radial-gradient(900px 460px at -10% 12%, rgba(246, 196, 69, 0.07), transparent 55%),
    var(--c-bg);
  min-height: 100vh;
}

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

a { color: var(--c-gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-gold-2); }

ul, ol { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }

::selection { background: var(--c-red); color: #fff; }

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; border-radius: 4px; }

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

/* =========================================================
   2. utilitas layout
   ========================================================= */
.container { width: min(1180px, 92%); margin: 0 auto; }

.site-content { padding: 34px 0 64px; min-height: 45vh; }

.section { padding: 60px 0; }
section[id] { scroll-margin-top: 86px; }
.section--alt { background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }

.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-gold);
  padding: 6px 14px; border: 1px solid rgba(246, 196, 69, 0.35);
  border-radius: 999px; background: rgba(246, 196, 69, 0.07);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.section-title .hl { color: var(--c-gold); }

.section-sub { color: var(--c-muted); margin-top: 12px; font-size: 1rem; }

.grid { display: grid; gap: 22px; }
.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)); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   3. tombol & lencana
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--gold { background: var(--grad-gold); color: #2a1c02; box-shadow: var(--shadow-gold); }
.btn--gold:hover { filter: brightness(1.06); color: #2a1c02; }

.btn--red { background: var(--grad-red); color: #fff; box-shadow: 0 10px 26px rgba(224, 38, 60, 0.35); }
.btn--red:hover { filter: brightness(1.08); color: #fff; }

.btn--green { background: var(--grad-green); color: #fff; box-shadow: 0 10px 26px rgba(31, 180, 91, 0.3); }
.btn--green:hover { filter: brightness(1.07); color: #fff; }

.btn--ghost { background: transparent; border-color: rgba(244, 246, 251, 0.32); color: var(--c-white); }
.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 15px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 11px; border-radius: 999px;
}
.badge--red { background: rgba(224, 38, 60, 0.16); color: #ff8f9e; border: 1px solid rgba(224, 38, 60, 0.4); }
.badge--gold { background: rgba(246, 196, 69, 0.12); color: var(--c-gold); border: 1px solid rgba(246, 196, 69, 0.4); }
.badge--green { background: rgba(31, 180, 91, 0.14); color: #52d98a; border: 1px solid rgba(31, 180, 91, 0.4); }
.badge--blue { background: rgba(47, 125, 225, 0.16); color: #7db4ff; border: 1px solid rgba(47, 125, 225, 0.42); }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 6px; border-radius: 50%;
  border: 2px solid var(--c-red); color: #ff98a6; font-weight: 800; font-size: 0.92rem;
  background: rgba(224, 38, 60, 0.12); flex: none;
}

/* =========================================================
   4. site-header (WordPress: .site-header/.main-navigation)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); }

.header-bar { display: flex; align-items: center; gap: 18px; min-height: 70px; }

.custom-logo-link { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-coin {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.15rem; color: #2a1c02;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), 0 6px 16px rgba(246, 196, 69, 0.35);
}
.logo-text { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1; }
.logo-text em { font-style: normal; color: var(--c-red); }
.logo-text small { display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.3em; color: var(--c-muted-2); margin-top: 3px; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; margin: 0; }
.main-navigation a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--c-muted); font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.main-navigation a:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.05); }
.main-navigation .current-menu-item a,
.main-navigation a[aria-current="page"] { color: var(--c-gold); background: rgba(246, 196, 69, 0.09); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn--gold, .header-actions .btn--ghost { padding: 9px 18px; font-size: 0.85rem; }

/* pencarian di header */
.search-box { position: relative; }
.search-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--c-line);
  color: var(--c-white); font-size: 1.05rem; cursor: pointer; align-items: center; justify-content: center;
}
.search-input {
  width: 200px; padding: 9px 14px 9px 36px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--c-line);
  color: var(--c-white); font-family: var(--font); font-size: 0.87rem; outline: none;
}
.search-input::placeholder { color: var(--c-muted-2); }
.search-input:focus { border-color: var(--c-gold); background: rgba(246, 196, 69, 0.06); }
.search-box .icon-search {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--c-muted-2); font-size: 0.9rem; pointer-events: none;
}
.search-drop {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(360px, 88vw);
  background: var(--c-panel-2); border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 950; max-height: 340px; overflow: auto;
}
.search-drop.is-open { display: block; }
.search-drop a {
  display: block; padding: 10px 12px; border-radius: 9px; color: var(--c-white);
}
.search-drop a:hover, .search-drop a.active { background: rgba(246, 196, 69, 0.1); }
.search-drop .sd-title { font-weight: 700; font-size: 0.92rem; }
.search-drop .sd-desc { font-size: 0.78rem; color: var(--c-muted); line-height: 1.5; display: block; }
.search-drop .sd-empty { padding: 12px; color: var(--c-muted); font-size: 0.88rem; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--c-line); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-white); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   5. breadcrumb
   ========================================================= */
.breadcrumbs { font-size: 0.82rem; color: var(--c-muted-2); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-muted-2); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-gold); }
.breadcrumbs [aria-current="page"] { color: var(--c-gold); font-weight: 600; }

/* =========================================================
   6. hero beranda
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(11, 14, 20, 0.55) 0%, rgba(11, 14, 20, 0.88) 62%, var(--c-bg) 100%),
    url("../img/hero.jpg") center 38% / cover no-repeat;
  border-bottom: 1px solid var(--c-line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 320px at 18% 30%, rgba(224, 38, 60, 0.22), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-copy .kicker { margin-bottom: 18px; }
.hero-title { font-size: clamp(1.9rem, 4.6vw, 3.3rem); line-height: 1.14; font-weight: 900; letter-spacing: -0.015em; }
.hero-title .hl { color: var(--c-gold); }
.hero-title .hl-red { color: #ff5c70; }
.hero-sub { margin: 18px 0 26px; color: var(--c-muted); font-size: clamp(0.98rem, 1.6vw, 1.1rem); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--c-muted); font-size: 0.85rem; }
.hero-note .badge-18 { min-width: 36px; height: 36px; font-size: 0.78rem; }

.hero-panel {
  background: linear-gradient(160deg, rgba(27, 33, 48, 0.94), rgba(16, 20, 29, 0.96));
  border: 1px solid var(--c-line); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow);
}
.hero-panel h2 { font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-list { list-style: none; padding: 0; margin: 0; }
.hero-list li {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px;
  padding: 12px 14px; background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-line); border-radius: 12px; font-size: 0.92rem; color: var(--c-muted);
}
.hero-list li:last-child { margin-bottom: 0; }
.hero-list .ic {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  background: rgba(246, 196, 69, 0.12); border: 1px solid rgba(246, 196, 69, 0.3);
}
.hero-list strong { color: var(--c-white); display: block; font-size: 0.95rem; }

.hero-strip {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  position: relative; z-index: 2;
}
.hero-strip .badge { font-size: 0.8rem; padding: 7px 14px; }

/* =========================================================
   7. langkah panduan
   ========================================================= */
.steps { counter-reset: step; }
.step-card {
  position: relative; background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 26px 22px 22px; overflow: hidden;
}
.step-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 12px; right: 14px;
  font-size: 2.6rem; font-weight: 900; line-height: 1;
  color: rgba(246, 196, 69, 0.13);
}
.step-card .ic {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: rgba(224, 38, 60, 0.14); border: 1px solid rgba(224, 38, 60, 0.35);
}
.step-card h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: var(--c-muted); font-size: 0.92rem; }

/* =========================================================
   8. kartu umum (kategori, keunggulan, promo)
   ========================================================= */
.card {
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(246, 196, 69, 0.45); box-shadow: var(--shadow); }
.card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .badge { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(4px); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.08rem; font-weight: 800; }
.card-body h3 a { color: var(--c-white); }
.card-body h3 a:hover { color: var(--c-gold); }
.card-body p { color: var(--c-muted); font-size: 0.92rem; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--c-muted-2); }

.feat-card {
  text-align: center; padding: 28px 20px;
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.feat-card .ic {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47, 125, 225, 0.13); border: 1px solid rgba(47, 125, 225, 0.4);
}
.feat-card--gold .ic { background: rgba(246, 196, 69, 0.12); border-color: rgba(246, 196, 69, 0.4); }
.feat-card--red .ic { background: rgba(224, 38, 60, 0.13); border-color: rgba(224, 38, 60, 0.4); }
.feat-card--green .ic { background: rgba(31, 180, 91, 0.12); border-color: rgba(31, 180, 91, 0.4); }
.feat-card h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: 8px; }
.feat-card p { color: var(--c-muted); font-size: 0.92rem; }

/* =========================================================
   9. mengapa memilih kami
   ========================================================= */
.why-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; }
.why-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 14, 20, 0.85)); }
.why-media .why-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 0.85rem; font-weight: 700; color: var(--c-gold);
  background: rgba(11, 14, 20, 0.78); border: 1px solid rgba(246, 196, 69, 0.4);
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}
.check-list { list-style: none; padding: 0; margin: 22px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--c-line); }
.check-list li:last-child { border-bottom: 0; }
.check-list .tick {
  width: 26px; height: 26px; border-radius: 8px; flex: none; margin-top: 3px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31, 180, 91, 0.16); color: #52d98a; border: 1px solid rgba(31, 180, 91, 0.45);
  font-size: 0.8rem; font-weight: 800;
}
.check-list strong { display: block; color: var(--c-white); }
.check-list span:not(.tick) { color: var(--c-muted); font-size: 0.92rem; }

/* =========================================================
   10. mobile & pembayaran
   ========================================================= */
.split-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split-card {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 26px;
}
.split-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; }
.split-card h3 .ic {
  width: 40px; height: 40px; border-radius: 11px; font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31, 180, 91, 0.13); border: 1px solid rgba(31, 180, 91, 0.4); flex: none;
}
.split-card p { color: var(--c-muted); font-size: 0.94rem; }
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pay-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 13px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--c-line); border-radius: 11px;
  font-size: 0.86rem; font-weight: 600; color: var(--c-white);
}
.pay-item .ic { font-size: 1.05rem; flex: none; }
.pay-note { margin-top: 14px; font-size: 0.8rem; color: var(--c-muted-2); }

/* =========================================================
   11. testimoni
   ========================================================= */
.tst-card {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.tst-card .stars { color: var(--c-gold); letter-spacing: 2px; font-size: 0.95rem; }
.tst-card blockquote { color: var(--c-muted); font-size: 0.93rem; border: 0; margin: 0; padding: 0; }
.tst-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst-ava {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: #2a1c02; background: var(--grad-gold);
}
.tst-ava--b { background: linear-gradient(135deg, #7db4ff, #2f7de1); color: #fff; }
.tst-ava--g { background: linear-gradient(135deg, #52d98a, #158c45); color: #fff; }
.tst-ava--r { background: linear-gradient(135deg, #ff8f9e, #b01a2d); color: #fff; }
.tst-who strong { display: block; font-size: 0.93rem; }
.tst-who small { color: var(--c-muted-2); font-size: 0.78rem; }
.tst-note { text-align: center; color: var(--c-muted-2); font-size: 0.8rem; margin-top: 22px; }

/* =========================================================
   12. kalkulator anggaran (section inovatif)
   ========================================================= */
.calc-wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px;
  background: linear-gradient(150deg, rgba(27, 33, 48, 0.9), rgba(13, 17, 25, 0.95));
  border: 1px solid var(--c-line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow);
}
.calc-form .field { margin-bottom: 16px; }
.calc-form label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 7px; color: var(--c-white); }
.calc-form input, .calc-form select {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--c-line);
  color: var(--c-white); font-family: var(--font); font-size: 0.95rem; outline: none;
}
.calc-form input:focus, .calc-form select:focus { border-color: var(--c-green); }
.calc-form select option { background: var(--c-panel-2); color: var(--c-white); }
.calc-out {
  background: rgba(31, 180, 91, 0.07); border: 1px solid rgba(31, 180, 91, 0.35);
  border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.calc-out .co-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #52d98a; }
.calc-out .co-value { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--c-white); line-height: 1.2; }
.calc-out .co-sub { color: var(--c-muted); font-size: 0.86rem; }
.calc-out .co-divider { border-top: 1px dashed rgba(31, 180, 91, 0.35); }
.calc-disclaimer { margin-top: 16px; font-size: 0.8rem; color: var(--c-muted-2); }

/* =========================================================
   13. keamanan & RG (informasi)
   ========================================================= */
.info-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card {
  border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--c-line);
  background: var(--c-panel); display: flex; flex-direction: column; gap: 12px;
}
.info-card--blue { border-color: rgba(47, 125, 225, 0.4); background: linear-gradient(160deg, rgba(23, 58, 99, 0.35), var(--c-panel)); }
.info-card--red { border-color: rgba(224, 38, 60, 0.4); background: linear-gradient(160deg, rgba(224, 38, 60, 0.12), var(--c-panel)); }
.info-card h3 { font-size: 1.12rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.info-card ul { color: var(--c-muted); font-size: 0.92rem; margin: 4px 0 6px; }
.info-card .more-link { font-size: 0.88rem; font-weight: 700; margin-top: auto; }

/* =========================================================
   14. FAQ (details/summary, tanpa JS)
   ========================================================= */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 13px;
  overflow: hidden; transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(246, 196, 69, 0.45); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 20px;
  font-weight: 700; font-size: 0.98rem; position: relative; color: var(--c-white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(246, 196, 69, 0.12); color: var(--c-gold); font-weight: 800;
  border: 1px solid rgba(246, 196, 69, 0.35); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--c-muted); font-size: 0.93rem; }

/* =========================================================
   15. tag cloud pencarian populer
   ========================================================= */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  font-size: 0.85rem; font-weight: 600; color: var(--c-muted);
  padding: 8px 16px; border-radius: 999px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  transition: all 0.2s ease;
}
.tag-cloud a:hover { color: var(--c-gold); border-color: rgba(246, 196, 69, 0.5); background: rgba(246, 196, 69, 0.07); transform: translateY(-2px); }
.tag-cloud a.tag-hot { color: #ff98a6; border-color: rgba(224, 38, 60, 0.45); }

/* =========================================================
   16. CTA strip
   ========================================================= */
.cta-strip {
  border-radius: 20px; padding: 42px 30px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 260px at 50% -30%, rgba(246, 196, 69, 0.18), transparent 70%),
    linear-gradient(140deg, #26121a 0%, #131722 55%, #10141d 100%);
  border: 1px solid rgba(246, 196, 69, 0.35);
}
.cta-strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 10px; }
.cta-strip h2 .hl { color: var(--c-gold); }
.cta-strip p { color: var(--c-muted); max-width: 62ch; margin: 0 auto 24px; font-size: 0.98rem; }
.cta-strip .hero-cta { justify-content: center; }

/* =========================================================
   17. halaman artikel (WordPress: .entry-content / .widget-area)
   ========================================================= */
.page-hero { padding: 40px 0 8px; }
.page-hero .section-title { margin-bottom: 10px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 0.82rem; color: var(--c-muted-2); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; padding: 26px 0 0; }
.content-primary {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden;
}
.entry-thumb { position: relative; }
.entry-thumb img { width: 100%; max-height: 430px; object-fit: cover; }
.entry-thumb .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 12px;
  font-size: 0.75rem; color: rgba(244, 246, 251, 0.75);
  background: linear-gradient(180deg, transparent, rgba(11, 14, 20, 0.88));
}
.entry-content { padding: 28px clamp(18px, 3.5vw, 36px) 34px; }
.entry-content > h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; line-height: 1.3;
  margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-gold);
}
.entry-content > h2:first-child { margin-top: 0; }
.entry-content > h3 { font-size: 1.12rem; font-weight: 800; margin: 26px 0 10px; color: var(--c-gold-2); }
.entry-content p { color: #c9d1e2; margin: 0 0 15px; font-size: 0.97rem; }
.entry-content ul, .entry-content ol { color: #c9d1e2; margin: 0 0 16px; }
.entry-content li { font-size: 0.95rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--c-white); }
.entry-content blockquote {
  margin: 20px 0; padding: 18px 22px; border-radius: 0 13px 13px 0;
  background: rgba(246, 196, 69, 0.06); border-left: 4px solid var(--c-gold);
  color: var(--c-muted); font-size: 0.95rem; font-style: italic;
}
.entry-content figure { margin: 22px 0; }
.entry-content figure img { border-radius: 13px; border: 1px solid var(--c-line); }
.entry-content figcaption { font-size: 0.78rem; color: var(--c-muted-2); margin-top: 8px; text-align: center; }
.lead { font-size: 1.05rem; color: var(--c-white) !important; }

.info-box {
  display: flex; gap: 14px; align-items: flex-start; margin: 22px 0;
  padding: 18px 20px; border-radius: 13px; font-size: 0.92rem; color: var(--c-muted);
}
.info-box .ib-ic { font-size: 1.2rem; flex: none; line-height: 1.6; }
.info-box strong { color: var(--c-white); }
.info-box--gold { background: rgba(246, 196, 69, 0.07); border: 1px solid rgba(246, 196, 69, 0.35); }
.info-box--blue { background: rgba(47, 125, 225, 0.08); border: 1px solid rgba(47, 125, 225, 0.4); }
.info-box--red { background: rgba(224, 38, 60, 0.09); border: 1px solid rgba(224, 38, 60, 0.42); }
.info-box--green { background: rgba(31, 180, 91, 0.08); border: 1px solid rgba(31, 180, 91, 0.4); }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--c-line); border-radius: 13px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.entry-content th, .entry-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-line); color: #c9d1e2; vertical-align: top; }
.entry-content th { background: rgba(246, 196, 69, 0.08); color: var(--c-gold); font-weight: 700; white-space: nowrap; }
.entry-content tr:last-child td { border-bottom: 0; }

.entry-footer { padding: 0 clamp(18px, 3.5vw, 36px) 30px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.entry-tags a {
  font-size: 0.78rem; color: var(--c-muted); border: 1px solid var(--c-line);
  border-radius: 999px; padding: 5px 12px;
}
.entry-tags a:hover { color: var(--c-gold); border-color: rgba(246, 196, 69, 0.45); }

/* widget sidebar (WordPress: .widget) */
.widget-area { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.widget { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.widget-title { font-size: 0.98rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 9px 0; border-bottom: 1px dashed var(--c-line); margin: 0; font-size: 0.9rem; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--c-muted); display: flex; justify-content: space-between; gap: 10px; }
.widget ul li a:hover { color: var(--c-gold); }
.widget ul li .arrow { color: var(--c-gold); flex: none; }
.widget--cta { background: linear-gradient(150deg, rgba(224, 38, 60, 0.18), var(--c-panel)); border-color: rgba(224, 38, 60, 0.45); text-align: center; }
.widget--cta p { color: var(--c-muted); font-size: 0.87rem; margin-bottom: 14px; }
.widget .rg-mini { display: flex; gap: 12px; align-items: center; text-align: left; font-size: 0.82rem; color: var(--c-muted); }

/* =========================================================
   18. halaman auth (daftar/masuk)
   ========================================================= */
.auth-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 34px; align-items: stretch; padding-top: 26px; }
.auth-card {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 20px;
  padding: 34px clamp(20px, 4vw, 40px); box-shadow: var(--shadow);
}
.auth-card h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--c-muted); font-size: 0.92rem; margin-bottom: 26px; }
.auth-form .field { margin-bottom: 18px; }
.auth-form label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.auth-form label .req { color: var(--c-red); }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="tel"] {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--c-line);
  color: var(--c-white); font-family: var(--font); font-size: 0.95rem; outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.auth-form input:focus { border-color: var(--c-gold); background: rgba(246, 196, 69, 0.05); }
.auth-form .hint { font-size: 0.76rem; color: var(--c-muted-2); margin-top: 6px; }
.auth-form .field-error { font-size: 0.78rem; color: #ff8f9e; margin-top: 6px; display: none; }
.auth-form .field.has-error input { border-color: var(--c-red); }
.auth-form .field.has-error .field-error { display: block; }
.auth-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--c-muted); margin: 4px 0 20px; }
.auth-check input { margin-top: 4px; accent-color: var(--c-gold); width: 16px; height: 16px; flex: none; }
.auth-alt { text-align: center; font-size: 0.88rem; color: var(--c-muted); margin-top: 20px; }
.auth-aside {
  border-radius: 20px; border: 1px solid rgba(246, 196, 69, 0.3); overflow: hidden;
  display: flex; flex-direction: column; background: var(--c-panel);
}
.auth-aside .aside-media { position: relative; min-height: 200px; flex: 1; }
.auth-aside .aside-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-aside .aside-body { padding: 24px; }
.auth-aside h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.auth-aside .check-list li { padding: 8px 0; }
.form-alert {
  display: none; margin-bottom: 18px; padding: 13px 16px; border-radius: 11px;
  background: rgba(224, 38, 60, 0.12); border: 1px solid rgba(224, 38, 60, 0.45);
  color: #ffb3bd; font-size: 0.87rem;
}
.form-alert.is-visible { display: block; }

/* =========================================================
   19. site-footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--c-line); background: #090b10; margin-top: 0; }
.footer-widgets { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr; gap: 34px; padding: 52px 0 34px; }
.footer-col .widget-title { font-size: 0.95rem; margin-bottom: 16px; color: var(--c-white); }
.footer-col p { color: var(--c-muted); font-size: 0.88rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin: 0 0 9px; font-size: 0.88rem; }
.footer-col ul li a { color: var(--c-muted); }
.footer-col ul li a:hover { color: var(--c-gold); }
.footer-brand { display: block; }
.footer-brand .custom-logo-link { margin-bottom: 14px; }
.footer-brand .badge { white-space: normal; text-align: left; max-width: 100%; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--c-line); }
.footer-legal .pay-item { padding: 8px 12px; font-size: 0.78rem; }
.footer-disclaimer { padding: 16px 0 6px; border-top: 1px solid var(--c-line); color: var(--c-muted-2); font-size: 0.78rem; line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 16px 0 22px; font-size: 0.8rem; color: var(--c-muted-2); border-top: 1px solid var(--c-line);
}
.footer-bottom .mini-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { color: var(--c-muted-2); }
.footer-bottom a:hover { color: var(--c-gold); }

/* =========================================================
   20. floating CTA (mesin slot + koin) - tanpa tombol tutup
   ========================================================= */
.float-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 9999; display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 22px 9px 12px; border-radius: 999px;
  background: linear-gradient(160deg, #ffd76e 0%, #f0b429 45%, #c98a0d 100%);
  border: 2px solid #fff3cf;
  box-shadow: 0 0 0 3px rgba(43, 26, 2, 0.65), 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 26px rgba(246, 196, 69, 0.5);
  color: #2a1c02; font-weight: 900; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.float-cta:hover { color: #1c1200; transform: translateX(-50%) scale(1.03); }
.float-cta .cta-label { line-height: 1.15; text-align: left; }
.float-cta .cta-label small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.24em; opacity: 0.75; }

.slot-mini { display: flex; gap: 4px; background: #1d1206; border: 2px solid #7a4d0b; border-radius: 10px; padding: 4px; }
.slot-mini .reel {
  width: 22px; height: 30px; overflow: hidden; border-radius: 6px;
  background: linear-gradient(180deg, #2b1a08, #120a03);
  position: relative;
}
.slot-mini .strip { display: flex; flex-direction: column; align-items: center; animation: reelSpin 1.15s linear infinite; }
.slot-mini .reel:nth-child(2) .strip { animation-duration: 0.9s; }
.slot-mini .reel:nth-child(3) .strip { animation-duration: 1.4s; }
.slot-mini .strip span { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; line-height: 1; }

@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-90px); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 26, 2, 0.65), 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 22px rgba(246, 196, 69, 0.45); }
  50% { box-shadow: 0 0 0 3px rgba(43, 26, 2, 0.65), 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 40px rgba(246, 196, 69, 0.8); }
}

/* koin emas melayang */
.coin {
  position: fixed; bottom: 4px; z-index: 9998; pointer-events: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8 0%, #f6c445 45%, #b47d07 100%);
  border: 1.5px solid #8a5f05;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 240, 200, 0.45);
  opacity: 0;
  animation: coinFly 3.2s ease-in infinite;
}
.coin::before { content: "$"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #7a5303; }
.coin--1 { left: calc(50% - 210px); animation-delay: 0s; }
.coin--2 { left: calc(50% + 196px); animation-delay: 0.7s; }
.coin--3 { left: calc(50% - 178px); animation-delay: 1.5s; bottom: 30px; }
.coin--4 { left: calc(50% + 164px); animation-delay: 2.2s; bottom: 26px; }
.coin--5 { left: calc(50% - 120px); animation-delay: 1.1s; }
.coin--6 { left: calc(50% + 108px); animation-delay: 2.7s; }

@keyframes coinFly {
  0% { opacity: 0; transform: translateY(0) rotateY(0deg) scale(0.6); }
  12% { opacity: 1; }
  55% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-130px) rotateY(720deg) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slot-mini .strip, .coin, .float-cta { animation: none; }
  .coin { display: none; }
}

/* =========================================================
   21. responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-navigation { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--ghost { display: none; }
  .search-input { width: 150px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .widget-area { position: static; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-panel { max-width: 620px; }
  .why-wrap { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside .aside-media { min-height: 170px; }

  /* menu mobile */
  .main-navigation.is-open {
    display: block; position: fixed; inset: 70px 0 auto 0; margin: 0;
    background: rgba(11, 14, 20, 0.985); border-bottom: 1px solid var(--c-line);
    padding: 12px 4vw 22px; box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 70px); overflow: auto;
  }
  .main-navigation.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-navigation.is-open a { padding: 13px 14px; font-size: 1rem; border-radius: 11px; }
  .header-actions .btn--gold { display: none; }
  .mobile-cta-row { display: flex !important; gap: 10px; padding: 4px 4vw 14px; }
  .mobile-cta-row .btn { flex: 1; }
}
.mobile-cta-row { display: none; }

@media (min-width: 1081px) {
  .site-header .container { overflow: visible; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-wrap, .info-duo { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero { padding: 52px 0 62px; }
  .site-content { padding: 24px 0 56px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .header-actions .search-box { display: none; }
  .search-toggle { display: flex; }
  .header-bar { gap: 10px; }
  .logo-text { font-size: 1.12rem; }
  .logo-coin { width: 38px; height: 38px; font-size: 1.02rem; }

  /* panel pencarian mobile di bawah header */
  .mobile-search { display: none; padding: 0 4vw 14px; }
  .mobile-search.is-open { display: block; }
  .mobile-search .search-box { position: static; }
  .mobile-search .search-input { width: 100%; }
  .mobile-search .search-drop { left: 0; right: 0; width: auto; }

  .hero-cta .btn { width: 100%; }
  .float-cta { padding: 8px 16px 8px 10px; font-size: 0.9rem; gap: 9px; bottom: 10px; max-width: calc(100vw - 20px); }
  .slot-mini .reel { width: 18px; height: 26px; }
  .slot-mini .strip span { height: 26px; font-size: 0.78rem; }
  .coin--1, .coin--2 { display: none; }
  .coin--3 { left: 8vw; }
  .coin--4 { right: 8vw; left: auto; }
  .footer-widgets { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .entry-content table { font-size: 0.84rem; }
  .calc-wrap { padding: 20px; }
  .tst-card { padding: 20px; }
}

@media (max-width: 400px) {
  .container { width: 94%; }
  .float-cta .cta-label small { display: none; }
  .float-cta { font-size: 0.82rem; }
  .btn--lg { padding: 13px 22px; font-size: 0.92rem; }
}
