/*
Theme Name: Panen123
Theme URI: https://panen123.games
Description: Tema statis bergaya WordPress untuk portal informasi permainan online Panen123 (Bahasa Indonesia, 18+, permainan bertanggung jawab).
Author: Panen123 Editorial
Version: 1.0.0
Text Domain: panen123
*/

:root {
  --c-bg: #0b0e17;
  --c-bg-2: #10141f;
  --c-card: #151a28;
  --c-card-2: #1a2135;
  --c-line: #262e44;
  --c-red: #d81e3f;
  --c-red-2: #a51230;
  --c-gold: #ffc94d;
  --c-gold-2: #f0a92c;
  --c-green: #22c55e;
  --c-blue: #3b82f6;
  --c-text: #e8eaf2;
  --c-muted: #9aa3b8;
  --c-white: #ffffff;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --header-h: 68px;
  --float-h: 62px;
}

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

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

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-gold); }
ul, ol { padding-left: 1.3rem; }
button { font-family: inherit; }

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: var(--c-gold); color: #1a1200; padding: 8px 14px; border-radius: 8px; z-index: 999; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(180deg, var(--c-gold), var(--c-gold-2)); color: #221400; box-shadow: 0 6px 18px rgba(255, 201, 77, 0.28); }
.btn--gold:hover { color: #221400; box-shadow: 0 10px 26px rgba(255, 201, 77, 0.42); }
.btn--red { background: linear-gradient(180deg, #ef2e52, var(--c-red-2)); color: #fff; box-shadow: 0 6px 18px rgba(216, 30, 63, 0.35); }
.btn--red:hover { color: #fff; }
.btn--green { background: linear-gradient(180deg, #2fdf70, #16a34a); color: #04220f; }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--c-white); }
.btn--outline:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn--lg { padding: 15px 34px; font-size: 16px; }
.btn--sm { padding: 8px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: linear-gradient(90deg, var(--c-red-2), var(--c-red), var(--c-red-2)); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; text-align: center; padding: 4px 20px; flex-wrap: wrap; }
.topbar b { color: var(--c-gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(11, 14, 23, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name { font-size: 22px; font-weight: 900; letter-spacing: 0.5px; color: var(--c-white); }
.brand-name span { color: var(--c-gold); }
.brand-name .n { background: var(--c-red); color: #fff; border-radius: 6px; padding: 0 6px; margin-left: 2px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-list a { color: var(--c-text); font-weight: 600; font-size: 14.5px; padding: 9px 13px; border-radius: 9px; display: block; }
.nav-list a:hover, .nav-list .current a { color: var(--c-gold); background: rgba(255, 201, 77, 0.08); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--c-line);
  background: var(--c-card); color: var(--c-text); display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { color: var(--c-gold); border-color: var(--c-gold); }
.nav-toggle { display: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--c-muted); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--c-muted); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-gold); }
.breadcrumbs [aria-current] { color: var(--c-text); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--c-white); line-height: 1.25; }
.sec-head .lead { color: var(--c-muted); margin-top: 12px; font-size: 16px; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--c-card-2), var(--c-card));
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 22px; min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 77, 0.4); }
.card-ico {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 24px;
  background: rgba(255, 201, 77, 0.1); border: 1px solid rgba(255, 201, 77, 0.25);
}
.card h3 { color: var(--c-white); font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 14.5px; }
.card .more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--c-gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(216, 30, 63, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255, 201, 77, 0.12), transparent 60%),
    linear-gradient(180deg, #131726 0%, var(--c-bg) 100%);
  padding: 72px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero .kicker { background: rgba(216, 30, 63, 0.16); border: 1px solid rgba(216, 30, 63, 0.45); padding: 6px 14px; border-radius: 999px; color: #ffb3c0; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.16; color: var(--c-white); margin: 16px 0 14px; }
.hero h1 em { font-style: normal; color: var(--c-gold); }
.hero .lead { color: var(--c-muted); font-size: 17px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  color: var(--c-text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 13px;
}
.badge-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
.badge-chip.age { border-color: rgba(216, 30, 63, 0.6); color: #ffb3c0; font-weight: 800; }

.hero-media { position: relative; }
.hero-img-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(255, 201, 77, 0.35); box-shadow: var(--shadow);
}
.hero-img-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-img-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(11, 14, 23, 0) 40%, rgba(11, 14, 23, 0.55) 100%);
}
.coin {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--c-gold-2) 68%, #b97b12);
  border: 3px solid #ffe9a8; display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #7a4c07; font-size: 17px;
  box-shadow: 0 8px 20px rgba(255, 201, 77, 0.4);
  animation: coinFloat 4.5s ease-in-out infinite;
}
.coin--1 { top: -18px; left: -16px; }
.coin--2 { bottom: -14px; right: -12px; animation-delay: 1.4s; width: 36px; height: 36px; font-size: 14px; }
@keyframes coinFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }

/* ---------- Hot tags ---------- */
.hot-tags { margin-top: 30px; }
.hot-tags .ht-title { font-size: 13px; font-weight: 800; color: var(--c-muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  font-size: 13px; font-weight: 600; color: var(--c-text);
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; display: inline-block;
  transition: all 0.15s ease;
}
.tag-chip:hover { color: var(--c-gold); border-color: var(--c-gold); background: rgba(255, 201, 77, 0.07); }
.tag-chip--hot { border-color: rgba(216, 30, 63, 0.5); }
.tag-chip--hot::before { content: "🔥 "; font-size: 12px; }

/* ---------- Ticker ---------- */
.ticker { background: linear-gradient(90deg, #3a2a06, #6b4c0b, #3a2a06); border-block: 1px solid rgba(255, 201, 77, 0.3); overflow: hidden; }
.ticker-track { display: flex; gap: 44px; padding: 9px 0; white-space: nowrap; animation: tick 26s linear infinite; width: max-content; }
.ticker-track span { color: #ffe1a1; font-size: 13.5px; font-weight: 700; letter-spacing: 0.4px; }
.ticker-track span::after { content: "◆"; margin-left: 44px; color: rgba(255, 201, 77, 0.55); font-size: 10px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.step-card { position: relative; padding-top: 30px; }
.step-num {
  position: absolute; top: -22px; left: 22px; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-gold-2)); color: #221400;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px;
  box-shadow: 0 8px 20px rgba(255, 201, 77, 0.3);
}
.steps-grid { margin-top: 26px; }

/* ---------- Split (why choose) ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(23px, 3vw, 31px); color: var(--c-white); margin-bottom: 14px; line-height: 1.3; }
.split .lead { color: var(--c-muted); margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text); }
.check-list .ck {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; margin-top: 2px;
  background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.5);
  color: var(--c-green); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px;
}
.check-list b { color: var(--c-white); }
.check-list p { color: var(--c-muted); font-size: 14.5px; }

/* ---------- Phone mock / mobile ---------- */
.phone-mock { width: min(280px, 80%); margin: 0 auto; border-radius: 34px; border: 3px solid #2a3247; background: #05070c; padding: 12px; box-shadow: var(--shadow); position: relative; }
.phone-screen { border-radius: 22px; overflow: hidden; background: var(--c-bg-2); }
.phone-screen .ps-head { background: linear-gradient(180deg, var(--c-red-2), var(--c-red)); padding: 18px 14px 14px; text-align: center; }
.phone-screen .ps-title { color: #fff; font-weight: 900; font-size: 17px; }
.phone-screen .ps-title span { color: var(--c-gold); }
.phone-screen .ps-btn { margin: 10px auto 0; width: max-content; background: linear-gradient(180deg, var(--c-gold), var(--c-gold-2)); color: #221400; font-weight: 800; font-size: 12.5px; padding: 7px 18px; border-radius: 999px; }
.phone-screen .ps-rows { padding: 12px; display: grid; gap: 8px; }
.ps-row { height: 40px; border-radius: 9px; background: var(--c-card); border: 1px solid var(--c-line); display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 11.5px; color: var(--c-muted); }
.ps-row i { width: 24px; height: 24px; border-radius: 6px; background: rgba(255, 201, 77, 0.12); display: flex; align-items: center; justify-content: center; font-style: normal; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-note { font-size: 13px; color: var(--c-muted); margin-top: 14px; padding: 12px 14px; background: rgba(59, 130, 246, 0.07); border: 1px solid rgba(59, 130, 246, 0.25); border-radius: 10px; }

/* ---------- Testimonials ---------- */
.t-card { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t-stars { color: var(--c-gold); letter-spacing: 2px; font-size: 15px; }
.t-quote { color: var(--c-text); font-size: 14.5px; flex: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-ava { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; background: linear-gradient(135deg, var(--c-red), #7a0d24); color: #fff; border: 2px solid rgba(255, 201, 77, 0.4); }
.t-name { font-weight: 800; color: var(--c-white); font-size: 14px; }
.t-city { font-size: 12.5px; color: var(--c-muted); }
.disclaimer { text-align: center; color: var(--c-muted); font-size: 12.5px; margin-top: 22px; }

/* ---------- PanenLab ---------- */
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lab-panel { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; }
.lab-panel h3 { color: var(--c-white); font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.lab-panel .sub { color: var(--c-muted); font-size: 13.5px; margin-bottom: 18px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--c-text); margin-bottom: 7px; }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"], .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--c-line);
  background: #0d1119; color: var(--c-white); font-size: 15px; font-family: inherit; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(255, 201, 77, 0.15); }
.field .hint { font-size: 12px; color: var(--c-muted); margin-top: 5px; }
.field input[type="range"] { width: 100%; accent-color: var(--c-gold); }
.range-val { font-weight: 800; color: var(--c-gold); }
.lab-result { background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.35); border-radius: 12px; padding: 16px 18px; margin-top: 16px; display: none; }
.lab-result.show { display: block; }
.lab-result .lr-big { font-size: 22px; font-weight: 900; color: var(--c-green); }
.lab-result ul { margin-top: 8px; color: var(--c-text); font-size: 14px; }
.selfcheck { display: grid; gap: 10px; }
.sc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #0d1119; border: 1px solid var(--c-line); border-radius: 10px; padding: 12px 14px; font-size: 14px;
}
.sc-toggle { display: flex; gap: 6px; flex-shrink: 0; }
.sc-toggle button {
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-card);
  color: var(--c-muted); font-weight: 800; font-size: 12.5px; cursor: pointer;
}
.sc-toggle button.on-yes { background: rgba(216, 30, 63, 0.2); border-color: var(--c-red); color: #ff92a6; }
.sc-toggle button.on-no { background: rgba(34, 197, 94, 0.15); border-color: var(--c-green); color: #6ee7a0; }
.result-box { margin-top: 16px; border-radius: 12px; padding: 16px 18px; font-size: 14px; display: none; }
.result-box.show { display: block; }
.result-box.ok { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); }
.result-box.warn { background: rgba(255, 201, 77, 0.1); border: 1px solid rgba(255, 201, 77, 0.45); }
.result-box.bad { background: rgba(216, 30, 63, 0.12); border: 1px solid rgba(216, 30, 63, 0.5); }
.result-box b { display: block; margin-bottom: 4px; color: var(--c-white); font-size: 15.5px; }

/* ---------- Security / RG ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.mini-item { background: rgba(59, 130, 246, 0.06); border: 1px solid rgba(59, 130, 246, 0.22); border-radius: 12px; padding: 18px; }
.mini-item h4 { color: var(--c-white); font-size: 15px; margin-bottom: 6px; }
.mini-item p { color: var(--c-muted); font-size: 13.5px; }

.rg-band {
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(216, 30, 63, 0.25), transparent 60%),
    linear-gradient(180deg, #1c0e14, var(--c-card));
  border: 1px solid rgba(216, 30, 63, 0.4); border-radius: 18px; padding: 36px; margin-top: 26px;
}
.badge18 {
  display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 64px;
  border-radius: 50%; border: 3px solid var(--c-red); color: #ff92a6; font-weight: 900; font-size: 19px;
  background: rgba(216, 30, 63, 0.12); margin-bottom: 14px;
}
.rg-band h3 { color: var(--c-white); font-size: 22px; margin-bottom: 10px; }
.rg-band p { color: var(--c-muted); font-size: 15px; max-width: 640px; }
.rg-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.rg-list li { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--c-line); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--c-text); display: flex; gap: 10px; }
.rg-list li::before { content: "✓"; color: var(--c-green); font-weight: 900; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-list details { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.faq-list summary {
  cursor: pointer; padding: 17px 20px; font-weight: 700; color: var(--c-white);
  font-size: 15.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--c-gold); font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] summary { border-bottom: 1px solid var(--c-line); }
.faq-a { padding: 16px 20px; color: var(--c-muted); font-size: 14.5px; }
.faq-a a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(500px 200px at 15% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(100deg, #f5b301, #ffc94d 45%, #f0a92c);
  border-radius: 20px; padding: 42px 36px; text-align: center; color: #221400; margin-top: 8px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); color: #221400; }
.cta-band p { margin: 10px auto 20px; max-width: 560px; color: #4a3406; font-size: 15px; }
.cta-band .btn { background: #1c0b00; color: var(--c-gold); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.cta-band .btn:hover { color: #ffd98a; }
.cta-band .mini { font-size: 12.5px; color: #6b4c0b; margin-top: 14px; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 80% -20%, rgba(216, 30, 63, 0.3), transparent 60%),
    linear-gradient(180deg, #141828, var(--c-bg));
  border-bottom: 1px solid var(--c-line); padding: 26px 0 40px;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); color: var(--c-white); line-height: 1.22; margin: 8px 0 10px; }
.page-hero .lead { color: var(--c-muted); font-size: 16.5px; max-width: 780px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-meta span { font-size: 12.5px; color: var(--c-muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--c-line); border-radius: 999px; padding: 5px 13px; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 44px 0 64px; align-items: start; }
.entry-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); margin-bottom: 26px; }
.entry-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-figure figcaption { font-size: 12.5px; color: var(--c-muted); padding: 10px 14px; background: var(--c-card); border-top: 1px solid var(--c-line); }

.entry-content { font-size: 16px; color: var(--c-text); min-width: 0; }
.entry-content > p { margin-bottom: 18px; }
.entry-content h2 {
  font-size: clamp(20px, 2.6vw, 26px); color: var(--c-white); margin: 38px 0 14px;
  padding-left: 14px; border-left: 4px solid var(--c-gold); line-height: 1.3;
}
.entry-content h3 { font-size: 18.5px; color: var(--c-white); margin: 26px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; display: grid; gap: 8px; }
.entry-content li::marker { color: var(--c-gold); }
.entry-content strong { color: var(--c-white); }
.entry-content figure { margin: 22px 0; }
.entry-content figure img { border-radius: var(--radius); border: 1px solid var(--c-line); }
.entry-content figure figcaption { font-size: 12.5px; color: var(--c-muted); margin-top: 8px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; display: table; }
.entry-content th { background: rgba(255, 201, 77, 0.1); color: var(--c-white); text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 13px; vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.table-scroll { overflow-x: auto; margin: 20px 0; border-radius: 12px; border: 1px solid var(--c-line); -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; border: none; min-width: 560px; }
.table-scroll th, .table-scroll td { border: none; border-bottom: 1px solid var(--c-line); }
.table-scroll tr:last-child td { border-bottom: none; }

.note-box { background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; margin: 20px 0; }
.note-box b { color: var(--c-white); display: block; margin-bottom: 4px; }
.note-box--warn { background: rgba(255, 201, 77, 0.07); border-color: rgba(255, 201, 77, 0.4); }
.note-box--red { background: rgba(216, 30, 63, 0.08); border-color: rgba(216, 30, 63, 0.4); }

.toc-box { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
.toc-box b { color: var(--c-white); display: block; margin-bottom: 10px; font-size: 15px; }
.toc-box ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.toc-box a { color: var(--c-muted); }
.toc-box a:hover { color: var(--c-gold); }

/* Sidebar */
.entry-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 20px; }
.side-card { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { color: var(--c-white); font-size: 16px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.side-links { list-style: none; padding: 0; display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; color: var(--c-text); font-size: 14px; font-weight: 600; }
.side-links a:hover { background: rgba(255, 201, 77, 0.07); color: var(--c-gold); }
.side-links a::after { content: "→"; color: var(--c-muted); font-weight: 400; }
.side-cta { text-align: center; }
.side-cta p { font-size: 13px; color: var(--c-muted); margin-top: 10px; }

/* Promo cards */
.promo-card { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform 0.2s, border-color 0.2s; }
.promo-card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 77, 0.45); }
.promo-media { position: relative; }
.promo-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-tag { position: absolute; top: 12px; left: 12px; background: linear-gradient(180deg, var(--c-red), var(--c-red-2)); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); }
.promo-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { color: var(--c-white); font-size: 18px; }
.promo-body p { color: var(--c-muted); font-size: 14px; flex: 1; }
.term-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.term-chips span { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 201, 77, 0.09); border: 1px solid rgba(255, 201, 77, 0.3); color: #ffd98a; }
.term-chips span.tc-red { background: rgba(216, 30, 63, 0.12); border-color: rgba(216, 30, 63, 0.45); color: #ff92a6; }
.term-chips span.tc-green { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.4); color: #6ee7a0; }
.term-chips span.tc-blue { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.4); color: #93c5fd; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; padding: 44px 0 70px; align-items: start; }
.form-card { background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: 18px; padding: 32px; }
.form-card h2 { color: var(--c-white); font-size: 21px; margin-bottom: 6px; }
.form-card .sub { color: var(--c-muted); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--c-muted); margin: 18px 0; }
.checkbox-row input { margin-top: 3px; accent-color: var(--c-gold); width: 16px; height: 16px; flex-shrink: 0; }
.form-note { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; text-align: center; }
.pw-meter { height: 6px; border-radius: 4px; background: var(--c-line); margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c-red); transition: width 0.25s, background 0.25s; }

/* ---------- Related ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rel-card { display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, var(--c-card-2), var(--c-card)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; }
.rel-card .k { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-gold); }
.rel-card h3 { color: var(--c-white); font-size: 16px; line-height: 1.4; }
.rel-card p { color: var(--c-muted); font-size: 13.5px; flex: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #070910; border-top: 1px solid var(--c-line); margin-top: 0; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 52px 0 34px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.f-about { color: var(--c-muted); font-size: 13.5px; }
.f-title { color: var(--c-white); font-size: 15px; font-weight: 800; margin-bottom: 14px; letter-spacing: 0.3px; }
.f-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.f-links a { color: var(--c-muted); font-size: 13.5px; }
.f-links a:hover { color: var(--c-gold); }
.f-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.f-badges span { font-size: 12px; font-weight: 700; border: 1px solid var(--c-line); border-radius: 8px; padding: 5px 10px; color: var(--c-muted); }
.f-badges span.b18 { border-color: rgba(216, 30, 63, 0.6); color: #ff92a6; font-weight: 800; }
.f-bottom { border-top: 1px solid var(--c-line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.f-bottom p { font-size: 12.5px; color: var(--c-muted); max-width: 720px; }
.f-copy { font-size: 13px; color: var(--c-text); font-weight: 700; }

/* ---------- Floating bar ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.97), rgba(7, 9, 16, 0.99));
  border-top: 2px solid rgba(255, 201, 77, 0.55);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
}
.fb-inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.fb-reels { display: flex; gap: 4px; flex-shrink: 0; }
.reel {
  width: 26px; height: 34px; border-radius: 6px; overflow: hidden; background: #fff;
  border: 2px solid var(--c-gold); position: relative;
}
.reel .strip {
  position: absolute; left: 0; right: 0; top: 0; text-align: center; font-size: 15px; line-height: 34px;
  animation: reelSpin 1.6s linear infinite; color: #d81e3f; font-weight: 900;
}
.reel:nth-child(2) .strip { animation-delay: 0.5s; }
.reel:nth-child(3) .strip { animation-delay: 1s; }
@keyframes reelSpin { 0% { transform: translateY(0); } 100% { transform: translateY(-102px); } }
.fb-btns { display: flex; gap: 10px; flex: 1; min-width: 0; }
.fb-btn {
  flex: 1; position: relative; overflow: hidden; border-radius: 999px; font-weight: 900;
  font-size: 15px; letter-spacing: 0.6px; padding: 11px 8px; text-align: center; cursor: pointer;
  display: flex; align-items: center; justify-content: center; border: none; min-width: 0;
}
.fb-btn--daftar {
  background: linear-gradient(180deg, #ffdd7a, var(--c-gold-2)); color: #221400;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 6px 20px rgba(255, 201, 77, 0.45);
  animation: goldPulse 1.8s ease-in-out infinite;
}
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 6px 20px rgba(255, 201, 77, 0.45); }
  50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 30px rgba(255, 201, 77, 0.8); }
}
.fb-btn--masuk { background: linear-gradient(180deg, var(--c-green), #0e7a3c); color: #fff; box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35); }
.fb-btn .coinfx {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff3c4, #f0a92c 70%, #b97b12);
  top: 100%; left: 20%; opacity: 0; animation: coinRise 2.4s ease-in infinite; pointer-events: none;
}
.fb-btn .coinfx.c2 { left: 55%; animation-delay: 0.8s; }
.fb-btn .coinfx.c3 { left: 82%; animation-delay: 1.6s; }
@keyframes coinRise {
  0% { top: 100%; opacity: 0; transform: scale(0.4); }
  25% { opacity: 1; }
  100% { top: -16px; opacity: 0; transform: scale(1); }
}
.fb-18 {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--c-red);
  color: #ff92a6; font-weight: 900; font-size: 11.5px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 7, 12, 0.96);
  backdrop-filter: blur(6px); display: none; padding: 80px 20px 40px; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-close { position: absolute; top: 22px; right: 22px; }
.search-box { max-width: 720px; margin: 0 auto; }
.search-input-wrap { display: flex; gap: 10px; }
.search-input-wrap input {
  flex: 1; padding: 15px 20px; border-radius: 14px; border: 2px solid var(--c-line);
  background: var(--c-card); color: var(--c-white); font-size: 16.5px; font-family: inherit; outline: none; min-width: 0;
}
.search-input-wrap input:focus { border-color: var(--c-gold); }
.search-hint { text-align: center; color: var(--c-muted); font-size: 13.5px; margin: 14px 0 22px; }
.search-results { display: grid; gap: 10px; }
.sr-item { display: block; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; padding: 15px 18px; }
.sr-item:hover { border-color: var(--c-gold); }
.sr-item .t { color: var(--c-white); font-weight: 700; font-size: 15.5px; }
.sr-item .t b { color: var(--c-gold); }
.sr-item .d { color: var(--c-muted); font-size: 13px; margin-top: 4px; }
.sr-empty { text-align: center; color: var(--c-muted); padding: 30px 0; }

/* ---------- Reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .entry-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .nav-list a { padding: 9px 9px; font-size: 13.5px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .lab-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-side { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: rgba(11, 14, 23, 0.99); border-bottom: 1px solid var(--c-line);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; }
  .nav-list a { padding: 12px 14px; font-size: 15px; }
  .header-actions .btn--sm.hide-sm { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .rg-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 24px; }
  .hero { padding: 48px 0 46px; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .cta-band { padding: 32px 20px; }
  .rg-band { padding: 26px 20px; }
  .form-card { padding: 24px 18px; }
  .entry-side { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .topbar-inner { font-size: 12px; }
  .fb-inner { gap: 8px; }
  .fb-reels { display: none; }
  .fb-18 { display: none; }
  .float-bar { padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)); }
  .fb-btn { font-size: 14.5px; padding: 11px 6px; }
}

@media (max-width: 380px) {
  .btn { padding: 12px 18px; font-size: 14px; }
  .brand-name { font-size: 19px; }
  .hero h1 { font-size: 27px; }
  .tag-chip { font-size: 12px; padding: 6px 11px; }
  .fb-btn { font-size: 13.5px; letter-spacing: 0.2px; }
}

@media (max-width: 430px) {
  .container { padding: 0 14px; }
  .header-inner { gap: 10px; }
  .brand { gap: 7px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 17.5px; }
  .header-actions { gap: 7px; }
  .header-actions .btn--sm { padding: 8px 13px; font-size: 12.5px; }
  .icon-btn { width: 36px; height: 36px; }
}

@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name { font-size: 16.5px; }
  .header-actions { gap: 6px; }
  .header-actions .btn--sm { padding: 8px 10px; font-size: 12px; }
  .icon-btn { width: 34px; height: 34px; }
}
