/* ============================================================
   Pulsa303 — pulsa303.games
   Tema: "Pulsa Neon" — merah utama + emas, hijau/biru aksen,
   krom hitam kebiruan, badan putih (6 warna: merah putih hijau
   kuning biru hitam). Markup bergaya WordPress.
   ============================================================ */

:root {
  --merah: #e11d2e;
  --merah-tua: #b01220;
  --merah-muda: #fdecee;
  --emas: #ffc233;
  --emas-tua: #d99e00;
  --emas-muda: #fff5da;
  --hijau: #17a55d;
  --hijau-tua: #0d7d43;
  --hijau-muda: #e6f7ee;
  --biru: #2b6fe3;
  --biru-tua: #1c4fa8;
  --biru-muda: #e9f0fd;
  --hitam: #0e1220;
  --hitam-2: #161d31;
  --tinta: #1a1f2e;
  --abu: #5a6272;
  --garis: #e4e7ee;
  --kanvas: #f7f8fb;
  --radius: 14px;
  --bayangan: 0 10px 30px rgba(14, 18, 32, .12);
  --bayangan-sm: 0 4px 14px rgba(14, 18, 32, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--kanvas);
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--biru); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--merah-tua); }

h1, h2, h3, h4 { line-height: 1.3; color: var(--tinta); margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--emas); color: #1d1403; padding: 10px 18px; font-weight: 800;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 13px 26px; font-size: .86rem; border-radius: 11px;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  line-height: 1.25;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.btn--emas { background: linear-gradient(180deg, #ffd35e, var(--emas-tua)); color: #1d1403; box-shadow: 0 6px 16px rgba(255, 194, 51, .38); }
.btn--emas:hover { color: #1d1403; }
.btn--merah { background: linear-gradient(180deg, #f04252, var(--merah-tua)); color: #fff; box-shadow: 0 6px 16px rgba(225, 29, 46, .32); }
.btn--hijau { background: linear-gradient(180deg, #22bd6c, var(--hijau-tua)); color: #fff; box-shadow: 0 6px 16px rgba(23, 165, 93, .30); }
.btn--biru { background: linear-gradient(180deg, #4b86ec, var(--biru-tua)); color: #fff; }
.btn--ghost { background: transparent; color: var(--merah-tua); border: 2px solid var(--merah-tua); }
.btn--ghost:hover { color: var(--merah); }
.btn--ghost-lt { background: rgba(255, 255, 255, .08); color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn--ghost-lt:hover { color: var(--emas); border-color: var(--emas); }
.btn--sm { padding: 9px 16px; font-size: .74rem; border-radius: 9px; }
.btn--block { display: block; width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--hitam); color: #ccd3e0; font-size: .74rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.topbar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__left .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--merah); flex: none; box-shadow: 0 0 0 3px rgba(225, 29, 46, .25); animation: p303-pulse 2.2s ease-in-out infinite; }
@keyframes p303-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(225, 29, 46, .25); } 50% { box-shadow: 0 0 0 6px rgba(225, 29, 46, .06); } }
.topbar__right { display: flex; align-items: center; gap: 10px; flex: none; }
.topbar .motto { color: #93a0b9; white-space: nowrap; }

.badge--18 {
  display: inline-block; background: var(--merah); color: #fff;
  font-weight: 800; font-size: .68rem; padding: 1px 7px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .35);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--garis);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--bayangan-sm); }
.site-header .container { display: flex; align-items: center; gap: 22px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 46px; height: 46px; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name > span { font-size: 1.28rem; font-weight: 900; color: var(--tinta); letter-spacing: .01em; }
.brand__name .hl { color: var(--merah); }
.brand__name small { font-size: .62rem; color: var(--abu); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.main-navigation { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-item { position: relative; }
.menu-item > a {
  display: block; padding: 10px 13px; font-size: .88rem; font-weight: 700;
  color: #2a3142; text-decoration: none; border-radius: 8px; white-space: nowrap;
}
.menu-item > a:hover { color: var(--merah-tua); background: var(--merah-muda); }
.menu-item.current-menu-item > a { color: var(--merah-tua); box-shadow: inset 0 -3px 0 var(--emas); border-radius: 8px 8px 0 0; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 70;
  background: #fff; border: 1px solid var(--garis); border-radius: 12px;
  box-shadow: var(--bayangan); list-style: none; margin: 4px 0 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 9px 12px; font-size: .84rem; font-weight: 600; color: #2a3142; text-decoration: none; border-radius: 8px; }
.sub-menu a:hover { background: var(--merah-muda); color: var(--merah-tua); }
.menu-item:last-child .sub-menu { left: auto; right: 0; }

.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-search { display: flex; align-items: center; gap: 0; }
.hdr-search input {
  width: 170px; padding: 9px 12px; font-size: .82rem; font-family: var(--font);
  border: 2px solid var(--garis); border-right: 0; border-radius: 9px 0 0 9px; outline: none;
}
.hdr-search input:focus { border-color: var(--merah); }
.hdr-search button {
  border: 2px solid var(--garis); border-left: 0; background: #fff; cursor: pointer;
  padding: 8px 12px; border-radius: 0 9px 9px 0; font-size: .9rem;
}
.hdr-search button:hover { background: var(--emas-muda); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none;
  border: 2px solid var(--garis); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--tinta); transition: transform .2s, opacity .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: #fff; border-bottom: 1px solid var(--garis); font-size: .76rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 9px 0; }
.breadcrumb li { color: var(--abu); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #b8bfce; }
.breadcrumb a { color: var(--merah-tua); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--tinta); font-weight: 600; }

/* ---------- Seksi umum ---------- */
.section { padding: 64px 0; }
.section--alt { background: #fff; }
.section--dark { background: var(--hitam); color: #d6dcea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tint { background: var(--biru-muda); }

.kicker {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--merah-tua); background: var(--merah-muda);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section--dark .kicker { color: var(--emas); background: rgba(255, 194, 51, .12); }
.section-head { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 12px; }
.section-head .lead { color: var(--abu); font-size: 1.02rem; margin: 0; }
.section--dark .section-head .lead { color: #a7b1c6; }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; max-width: 100%; }
.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)); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hitam); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 18, 32, .97) 20%, rgba(14, 18, 32, .74) 52%, rgba(225, 29, 46, .42));
}
.hero .container { position: relative; z-index: 2; padding-top: 74px; padding-bottom: 84px; }
.hero__inner { max-width: 720px; }
.hero .kicker { color: var(--emas); background: rgba(255, 194, 51, .13); border: 1px solid rgba(255, 194, 51, .35); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 18px; }
.hero h1 .em { color: var(--emas); }
.hero .lead { color: #d6dcea; font-size: clamp(1rem, 2vw, 1.14rem); max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  color: #e6eaf4; font-size: .76rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
}
.chip b { color: var(--emas); }
.hero__note { margin-top: 22px; font-size: .78rem; color: #93a0b9; }

/* ---------- Kartu langkah ---------- */
.step-card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 26px 24px 24px; position: relative; box-shadow: var(--bayangan-sm);
}
.step-card .no {
  position: absolute; top: -18px; left: 22px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f04252, var(--merah-tua)); color: #fff;
  font-weight: 900; font-size: 1.05rem; border-radius: 12px;
  box-shadow: 0 6px 14px rgba(225, 29, 46, .38);
}
.step-card .ico { font-size: 1.9rem; margin: 8px 0 10px; }
.step-card h3 { font-size: 1.04rem; }
.step-card p { font-size: .88rem; color: var(--abu); margin-bottom: 10px; }
.step-card a.more { font-size: .8rem; font-weight: 800; color: var(--merah-tua); text-decoration: none; }
.step-card a.more:hover { text-decoration: underline; }

/* ---------- Kartu kategori ---------- */
.cat-card {
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--garis); border-radius: var(--radius); box-shadow: var(--bayangan-sm);
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--bayangan); }
.cat-card figure { margin: 0; position: relative; }
.cat-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 18, 32, .55)); }
.cat-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.cat-card .tagcat {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  background: var(--emas); color: #1d1403; font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.cat-card .body { padding: 18px 20px 20px; }
.cat-card h3 { font-size: 1.06rem; margin-bottom: 6px; color: var(--tinta); }
.cat-card p { font-size: .84rem; color: var(--abu); margin-bottom: 10px; }
.cat-card .metaline { font-size: .72rem; font-weight: 700; color: var(--merah-tua); }

/* ---------- Kartu keunggulan ---------- */
.adv-card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--bayangan-sm); text-align: center;
  border-top: 3px solid var(--merah);
}
.adv-card:nth-child(2n) { border-top-color: var(--hijau); }
.adv-card:nth-child(3n) { border-top-color: var(--biru); }
.adv-card:nth-child(5n) { border-top-color: var(--emas); }
.adv-card .ico {
  width: 56px; height: 56px; margin: 0 auto 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; border-radius: 16px; background: var(--merah-muda);
}
.adv-card:nth-child(2n) .ico { background: var(--hijau-muda); }
.adv-card:nth-child(3n) .ico { background: var(--biru-muda); }
.adv-card h3 { font-size: .98rem; }
.adv-card p { font-size: .84rem; color: var(--abu); margin: 0; }

/* ---------- Split (gambar + daftar) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--bayangan); display: block; object-fit: cover; max-height: 460px; }
.split figcaption { font-size: .74rem; color: var(--abu); margin-top: 10px; text-align: center; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 34px; font-size: .92rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hijau); color: #fff; font-size: .72rem; font-weight: 900; border-radius: 7px;
}
.checklist b { display: block; margin-bottom: 2px; }
.checklist span { color: var(--abu); font-size: .86rem; }

/* ---------- Ponsel ---------- */
.mob-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.mob-stat { flex: 1 1 130px; background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 14px 16px; }
.mob-stat b { display: block; font-size: 1.2rem; color: var(--biru-tua); }
.mob-stat span { font-size: .74rem; color: var(--abu); }

/* ---------- Testimoni ---------- */
.testi-card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--bayangan-sm); display: flex;
  flex-direction: column; gap: 14px;
}
.testi-card .qm { font-size: 2.2rem; line-height: 1; color: var(--merah); font-weight: 900; font-family: Georgia, serif; }
.testi-card blockquote { margin: 0; font-size: .9rem; color: #333a4c; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: .9rem;
}
.ava--hijau { background: var(--hijau); } .ava--merah { background: var(--merah); }
.ava--biru { background: var(--biru); } .ava--emas { background: var(--emas); color: #1d1403; }
.testi-card .who b { display: block; font-size: .86rem; }
.testi-card .who span { font-size: .72rem; color: var(--abu); }
.testi-card .stars { color: var(--emas); font-size: .8rem; letter-spacing: 2px; }
.testi-note { text-align: center; font-size: .74rem; color: var(--abu); margin-top: 22px; }

/* ---------- Simulator Pulsa (inovasi) ---------- */
.sim-shell {
  max-width: 860px; margin: 0 auto; background: var(--hitam);
  border: 1px solid #2a3450; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(14, 18, 32, .35);
}
.sim-top {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--hitam-2); border-bottom: 1px solid #2a3450;
}
.sim-top .sig { display: flex; align-items: flex-end; gap: 3px; }
.sim-top .sig i { display: block; width: 5px; border-radius: 2px; background: #3a4666; }
.sim-top .sig i:nth-child(1) { height: 6px; background: var(--biru); }
.sim-top .sig i:nth-child(2) { height: 10px; background: var(--hijau); }
.sim-top .sig i:nth-child(3) { height: 14px; background: var(--emas); }
.sim-top .sig i:nth-child(4) { height: 18px; background: var(--merah); }
.sim-top .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: #93a0b9; text-transform: uppercase; }
.sim-body { padding: 26px clamp(18px, 4vw, 34px) 30px; }
.sim-field { margin-bottom: 20px; }
.sim-field > span { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a7b1c6; margin-bottom: 10px; }
.sim-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-chip {
  border: 2px solid #2a3450; background: var(--hitam-2); color: #d6dcea; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: .84rem; padding: 9px 18px;
  border-radius: 10px; transition: all .15s ease;
}
.sim-chip:hover { border-color: var(--emas); color: var(--emas); }
.sim-chip.is-on { background: linear-gradient(180deg, #ffd35e, var(--emas-tua)); border-color: var(--emas); color: #1d1403; box-shadow: 0 4px 14px rgba(255, 194, 51, .35); }
.sim-slider { display: flex; align-items: center; gap: 14px; }
.sim-slider input[type="range"] { flex: 1; min-width: 0; accent-color: var(--merah); height: 34px; cursor: pointer; }
.sim-slider output {
  flex: none; min-width: 74px; text-align: center; font-weight: 900; font-size: .95rem;
  color: var(--emas); background: var(--hitam-2); border: 2px solid #2a3450; border-radius: 10px; padding: 5px 10px;
}
.sim-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.sim-out .cell { background: var(--hitam-2); border: 1px solid #2a3450; border-radius: 12px; padding: 14px 14px 12px; min-width: 0; }
.sim-out .cell span { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93a0b9; }
.sim-out .cell b { display: block; font-size: clamp(1rem, 2.6vw, 1.35rem); font-weight: 900; color: #fff; margin-top: 4px; }
.sim-out .cell--in b { color: var(--hijau); }
.sim-out .cell--fee b { color: var(--merah); }
.sim-note { margin: 18px 0 0; font-size: .74rem; color: #93a0b9; line-height: 1.65; }
.sim-note b { color: var(--emas); font-weight: 800; }

/* ---------- Keamanan ---------- */
.sec-list { counter-reset: sec; list-style: none; margin: 0 0 22px; padding: 0; }
.sec-list li {
  counter-increment: sec; position: relative; padding: 0 0 18px 52px; font-size: .92rem;
}
.sec-list li::before {
  content: counter(sec, decimal-leading-zero); position: absolute; left: 0; top: 2px;
  font-weight: 900; font-size: .82rem; color: var(--merah-tua);
  border: 2px solid var(--merah); border-radius: 10px; padding: 3px 8px; line-height: 1.2;
}
.sec-list b { display: block; }
.sec-list span { color: var(--abu); font-size: .86rem; }

/* ---------- Bertanggung jawab (gelap) ---------- */
.rg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 34px; }
.rg-card { background: var(--hitam-2); border: 1px solid #263052; border-radius: var(--radius); padding: 24px 22px; }
.rg-card .ico { font-size: 1.6rem; margin-bottom: 10px; }
.rg-card h3 { font-size: 1rem; color: var(--emas); }
.rg-card p { font-size: .85rem; color: #a7b1c6; margin: 0; }
.rg-check { max-width: 720px; margin: 0 auto; background: var(--hitam-2); border: 1px solid #263052; border-radius: var(--radius); padding: 28px 30px; }
.rg-check h3 { color: #fff; }
.rg-check ul { margin: 0; padding-left: 20px; color: #c3cadd; font-size: .9rem; }
.rg-check li { margin-bottom: 8px; }
.rg-check li::marker { color: var(--emas); }
.rg-check .btn { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details.faq-item { background: #fff; border: 1px solid var(--garis); border-radius: 12px; box-shadow: var(--bayangan-sm); overflow: hidden; }
details.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; position: relative;
  font-weight: 700; font-size: .93rem; color: var(--tinta);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  background: var(--merah-muda); color: var(--merah-tua); font-weight: 900; border-radius: 8px;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-a { padding: 0 20px 18px; font-size: .88rem; color: #49505f; margin: 0; }
details.faq-item .faq-a p { margin: 0; }
details.faq-item .faq-a p + p { margin-top: 10px; }

/* ---------- Awan tag ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tagcloud a {
  display: inline-block; font-size: .76rem; font-weight: 700; text-decoration: none;
  color: #333a4c; background: #fff; border: 1px solid var(--garis);
  padding: 7px 14px; border-radius: 999px; transition: all .15s ease;
}
.tagcloud a:hover { background: var(--emas); border-color: var(--emas); color: #1d1403; transform: translateY(-2px); }
.section--dark .tagcloud a { background: var(--hitam-2); border-color: #2a3450; color: #c3cadd; }
.section--dark .tagcloud a:hover { background: var(--emas); color: #1d1403; border-color: var(--emas); }
.searchband .big-search { display: flex; max-width: 560px; margin: 26px auto 0; }
.searchband .big-search input {
  flex: 1; min-width: 0; padding: 15px 20px; font-size: 1rem; font-family: var(--font);
  border: 2px solid var(--garis); border-radius: 13px 0 0 13px; outline: none;
}
.searchband .big-search input:focus { border-color: var(--merah); }
.searchband .big-search button {
  padding: 15px 26px; border: 2px solid var(--garis); border-left: 0; border-radius: 0 13px 13px 0;
  background: var(--merah); color: #fff; font-weight: 800; cursor: pointer; font-size: .88rem;
}
.searchband .big-search button:hover { background: var(--merah-tua); }

/* ---------- Layout artikel ---------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--garis); padding: 46px 0 34px; }
.page-hero .kicker { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 860px; }
.page-hero .sub { color: var(--abu); max-width: 780px; margin: 0; font-size: .98rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip--lt { background: var(--kanvas); border: 1px solid var(--garis); color: var(--abu); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; padding: 46px 0 70px; align-items: start; }
.content-area { min-width: 0; }
.entry-content { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); box-shadow: var(--bayangan-sm); }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.42rem; margin: 1.8em 0 .6em; padding-left: 14px; border-left: 5px solid var(--merah); }
.entry-content h3 { font-size: 1.12rem; margin: 1.5em 0 .5em; color: var(--biru-tua); }
.entry-content p { color: #333a4c; }
.entry-content ul, .entry-content ol { color: #333a4c; padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content figure { margin: 26px 0; }
.entry-content figure img { width: 100%; border-radius: 12px; display: block; }
.entry-content figcaption { font-size: .74rem; color: var(--abu); text-align: center; margin-top: 10px; }
.entry-content a { font-weight: 600; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; border-radius: 12px; border: 1px solid var(--garis); }
table.terms { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 520px; background: #fff; }
table.terms caption { caption-side: top; text-align: left; font-size: .74rem; color: var(--abu); padding: 10px 14px 0; }
table.terms th, table.terms td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--garis); vertical-align: top; }
table.terms th { background: var(--merah-tua); color: #fff; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
table.terms tr:nth-child(even) td { background: #fafbfd; }
table.terms td:first-child { font-weight: 700; white-space: normal; }

.box { border-radius: 12px; padding: 18px 20px; margin: 22px 0; font-size: .88rem; border: 1px solid; }
.box--info { background: var(--biru-muda); border-color: #bfd4f7; color: #1c3a77; }
.box--ok { background: var(--hijau-muda); border-color: #bce6cf; color: #0a5630; }
.box--warn { background: var(--merah-muda); border-color: #f4c3ca; color: #7c1420; }
.box b { display: block; margin-bottom: 4px; }
.entry-content .box p { margin: 0; color: inherit; }

blockquote.quote {
  margin: 26px 0; padding: 18px 24px; background: var(--emas-muda);
  border-left: 5px solid var(--emas); border-radius: 0 12px 12px 0; color: #5c440a; font-size: .92rem;
}
blockquote.quote p { margin: 0; color: inherit; }

.article-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.article-nav a {
  flex: 1 1 220px; background: var(--kanvas); border: 1px solid var(--garis); border-radius: 12px;
  padding: 14px 18px; text-decoration: none; font-size: .84rem; font-weight: 700; color: var(--tinta);
}
.article-nav a:hover { border-color: var(--merah); }
.article-nav small { display: block; color: var(--abu); font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 22px; position: sticky; top: 92px; }
.widget { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: 22px; box-shadow: var(--bayangan-sm); }
.widget h3 { font-size: .92rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--merah); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--garis); font-size: .84rem; }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; color: #333a4c; font-weight: 600; }
.widget a:hover { color: var(--merah-tua); }
.widget--cta { background: var(--hitam); border-color: var(--hitam); }
.widget--cta h3 { color: #fff; border-bottom-color: var(--emas); }
.widget--cta p { font-size: .8rem; color: #a7b1c6; margin-bottom: 12px; }

/* ---------- Formir ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 50px 0 80px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); box-shadow: var(--bayangan); padding: clamp(22px, 4vw, 40px); }
.form-card h2 { font-size: 1.3rem; }
.form-card .hint { font-size: .82rem; color: var(--abu); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 6px; color: #2a3142; }
.field label .req { color: var(--merah); }
.field input, .field select {
  width: 100%; padding: 13px 15px; font-size: .92rem; font-family: var(--font);
  border: 2px solid var(--garis); border-radius: 11px; outline: none; background: #fff; color: var(--tinta);
}
.field input:focus, .field select:focus { border-color: var(--merah); box-shadow: 0 0 0 4px rgba(225, 29, 46, .10); }
.field .note { font-size: .72rem; color: var(--abu); margin: 5px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--abu); margin: 20px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--merah); }
.form-side { display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: 22px; box-shadow: var(--bayangan-sm); }
.side-card h3 { font-size: .92rem; margin-bottom: 10px; }
.side-card ol, .side-card ul { margin: 0; padding-left: 20px; font-size: .84rem; color: #49505f; }
.side-card li { margin-bottom: 7px; }

/* ---------- Halaman pencarian ---------- */
.sr-box { max-width: 760px; margin: 0 auto; }
.sr-item { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--bayangan-sm); }
.sr-item .crumb { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--merah-tua); margin-bottom: 4px; }
.sr-item h3 { font-size: 1rem; margin-bottom: 4px; }
.sr-item h3 a { text-decoration: none; color: var(--tinta); }
.sr-item h3 a:hover { color: var(--merah-tua); }
.sr-item p { font-size: .84rem; color: var(--abu); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hitam); color: #c3cadd; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding: 56px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-brand span { font-size: 1.2rem; font-weight: 900; color: #fff; }
.footer-brand .hl { color: var(--emas); }
.footer-about { font-size: .82rem; color: #93a0b9; }
.footer-badge {
  display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 700;
  background: var(--merah-tua); color: #fff; padding: 6px 12px; border-radius: 999px;
}
.site-footer h3 { color: #fff; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--emas); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer ul a { color: #c3cadd; text-decoration: none; font-size: .84rem; }
.site-footer ul a:hover { color: var(--emas); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pay-badges span {
  font-size: .7rem; font-weight: 700; color: #c3cadd;
  border: 1px solid #333e5e; padding: 5px 11px; border-radius: 8px; background: var(--hitam-2);
}
.footer-note { font-size: .7rem; color: #7e889e; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #212b47; padding: 18px 0; font-size: .76rem; color: #7e889e; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-disclaimer { font-size: .72rem; color: #7e889e; padding-bottom: 26px; margin: 0; line-height: 1.75; }

/* ---------- Floatbar (slot + koin) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, #151d31, #0a0e1a);
  border-top: 2px solid var(--emas);
  box-shadow: 0 -8px 30px rgba(14, 18, 32, .55);
}
.floatbar .container { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.reels { display: flex; gap: 6px; flex: none; }
.reel {
  width: 30px; height: 40px; overflow: hidden; border-radius: 7px;
  background: #05070d; border: 1px solid #2a3450;
}
.reel .strip { display: flex; flex-direction: column; animation: p303-reel 1.15s steps(4) infinite; }
.reel .strip b { font-size: 19px; line-height: 40px; text-align: center; font-weight: 400; height: 40px; }
.reel--mid .strip { animation-duration: 1.75s; }
.reel--slow .strip { animation-duration: 2.35s; }
@keyframes p303-reel { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.floatbar__mid { min-width: 0; flex: 1; }
.floatbar__mid .t1 { color: #fff; font-weight: 800; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar__mid .t1 .gold { color: var(--emas); }
.floatbar__mid .t2 { color: #93a0b9; font-size: .68rem; }
.floatbar__cta { display: flex; gap: 12px; flex: none; position: relative; align-items: center; }
.floatbar__cta .btn { padding: 12px 26px; font-size: .84rem; }
.coin { position: absolute; top: -6px; font-size: 15px; opacity: 0; pointer-events: none; animation: p303-coin 2.7s ease-in infinite; }
.coin--1 { left: 6px; animation-delay: .2s; }
.coin--2 { left: 54px; animation-delay: 1.1s; }
.coin--3 { left: 108px; animation-delay: 1.9s; }
@keyframes p303-coin {
  0% { opacity: 0; transform: translateY(10px) scale(.7) rotate(0deg); }
  22% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.15) rotate(28deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coin, .topbar .dot { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .main-navigation {
    display: none; position: fixed; inset: 0; z-index: 80;
    background: rgba(14, 18, 32, .55); backdrop-filter: blur(2px);
    margin: 0;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu {
    display: block; width: min(320px, 86vw); height: 100%; overflow-y: auto;
    background: #fff; margin: 0; padding: 18px; list-style: none;
    box-shadow: var(--bayangan);
  }
  .main-navigation .menu-item > a { padding: 13px 14px; border-radius: 10px; font-size: .95rem; }
  .main-navigation .menu-item.current-menu-item > a { background: var(--merah-muda); box-shadow: none; border-left: 4px solid var(--emas); border-radius: 6px; }
  .main-navigation .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--garis); margin: 2px 0 6px 14px; padding: 4px 0 4px 10px; min-width: 0;
  }
  .nav-toggle { display: flex; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-cards { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 680px) {
  .hdr-search { display: none; }
  .section { padding: 46px 0; }
  .hero .container { padding-top: 52px; padding-bottom: 58px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .sim-out { grid-template-columns: minmax(0, 1fr); }
  .reels { display: none; }
  .floatbar__mid .t2 { display: none; }
  .floatbar .container { min-height: 60px; gap: 12px; }
  .floatbar__cta .btn { padding: 11px 18px; font-size: .78rem; }
  .coin { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 42px 0 28px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .topbar .motto { display: none; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .floatbar__mid .t1 { font-size: .8rem; }
  .entry-content h2 { font-size: 1.22rem; }
  .btn { padding: 12px 20px; }
}

/* tabel mobile: biarkan scroll di dalam pembungkus */
@media (max-width: 720px) {
  .table-wrap table.terms { min-width: 460px; }
}
