/* ==========================================================================
   Pedro4d — situs informasi (Bahasa Indonesia)
   Palet: hitam/biru gelap, merah brand, emas, hijau, putih
   ========================================================================== */

:root {
  --red: #d32f2f;
  --red-dark: #a51d1d;
  --red-deep: #7f1010;
  --gold: #f6c445;
  --gold-dark: #b8860b;
  --green: #1e9e5a;
  --green-dark: #157a44;
  --blue: #1e5aa8;
  --ink: #141821;
  --ink-2: #1c2230;
  --ink-3: #232b3d;
  --paper: #ffffff;
  --paper-2: #f6f7fa;
  --line: #e4e7ee;
  --line-dark: #2c3547;
  --text: #232a38;
  --text-soft: #5b6472;
  --text-light: #c7cfdd;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(16, 20, 34, 0.12);
  --shadow-lg: 0 18px 50px rgba(16, 20, 34, 0.22);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: clip; }

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

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }

code { background: #eef1f6; border: 1px solid var(--line); border-radius: 5px; padding: 0.08em 0.4em; font-size: 0.92em; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -56px;
  background: var(--gold); color: #201500;
  font-weight: 700; padding: 10px 16px; border-radius: 0 0 10px 10px;
  z-index: 300; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- tombol ---------- */

.btn {
  display: inline-block;
  font: inherit; font-weight: 700;
  border-radius: 999px;
  padding: 0.72em 1.5em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; box-shadow: 0 6px 16px rgba(211, 47, 47, 0.35); }
.btn-primary:hover { background: linear-gradient(180deg, #e24040 0%, var(--red-dark) 100%); color: #fff; }

.btn-gold { background: linear-gradient(180deg, #ffd964 0%, var(--gold) 55%, #e4ac1e 100%); color: #241a02; box-shadow: 0 6px 16px rgba(230, 180, 40, 0.35); }
.btn-gold:hover { color: #241a02; }

.btn-ghost { background: transparent; color: var(--ink); border-color: #c3c9d6; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { color: var(--red-deep); }

.btn-sm { padding: 0.5em 1.1em; font-size: 0.93em; }
.btn-lg { padding: 0.9em 1.9em; font-size: 1.05em; }
.btn-block { display: block; width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(17, 21, 32, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: 0.2px; }
.brand-name strong { color: var(--gold); }
.brand-name small { font-size: 0.62rem; font-weight: 600; color: #93a0b4; letter-spacing: 1.6px; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  display: block; color: var(--text-light); font-weight: 600;
  padding: 0.55em 0.85em; border-radius: 8px; font-size: 0.97rem;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.main-nav a.active { color: var(--gold); }
.nav-cta { display: flex; gap: 8px; margin-left: 10px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); color: #dfe5ef;
  border: 1px solid rgba(255, 255, 255, 0.14); cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.nav-toggle { display: none; }

/* ---------- panel pencarian ---------- */

.search-panel { background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 18px 0 22px; }
.search-box input[type="search"] {
  width: 100%; font: inherit; font-size: 1.02rem;
  padding: 0.8em 1.1em; border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: #0d1119; color: #eef2f8;
}
.search-box input[type="search"]:focus { outline: 2px solid var(--gold); }
.search-hint { color: #8d99ac; font-size: 0.8rem; margin: 6px 2px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.tag-cloud-label { color: #98a3b6; font-size: 0.85rem; font-weight: 700; }
.tag {
  display: inline-block; padding: 0.34em 0.9em; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #e8edf5;
  font-size: 0.86rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.12);
}
.tag:hover { background: var(--gold); color: #241a02; text-decoration: none; }
.search-results { margin-top: 14px; display: grid; gap: 8px; }
.search-result {
  display: block; background: #0d1119; border: 1px solid var(--line-dark);
  border-radius: 10px; padding: 10px 14px; color: #dfe5ef;
}
.search-result:hover { border-color: var(--gold); text-decoration: none; }
.search-result strong { color: var(--gold); display: block; font-size: 0.98rem; }
.search-result span { color: #97a2b5; font-size: 0.85rem; }
.search-empty { color: #9aa5b8; font-size: 0.92rem; }

/* ---------- breadcrumb ---------- */

.breadcrumb { padding-top: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.85rem; }
.breadcrumb li { color: var(--text-soft); }
.breadcrumb a { color: var(--text-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(246, 196, 69, 0.16), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(211, 47, 47, 0.28), transparent 55%),
    linear-gradient(160deg, #12161f 0%, #181d29 55%, #10141d 100%);
  color: #eef1f7;
  padding: 64px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #cdd6e4; font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.hero-sub { color: #c3cbda; font-size: 1.06rem; max-width: 54ch; }
.hero-sub strong { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-points { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; color: #b9c2d2; font-size: 0.94rem; }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.08); }
.hero-chip {
  position: absolute; background: rgba(16, 20, 30, 0.88); color: #fff;
  border: 1px solid rgba(246, 196, 69, 0.5);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.chip-a { top: 14px; left: 14px; }
.chip-b { top: 14px; right: 14px; }
.chip-c { bottom: 14px; left: 14px; }
.chip-d { bottom: 14px; right: 14px; }

/* ---------- badge ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.4px;
  border-radius: 999px; padding: 4px 12px;
}
.badge-18 { background: var(--red); color: #fff; }
.badge-info { background: var(--blue); color: #fff; }
.badge-rg { background: var(--green); color: #fff; }

/* ---------- section umum ---------- */

.section { padding: 64px 0; }
.section-light { background: var(--paper); }
.section-dark { background: linear-gradient(180deg, #141926 0%, #101521 100%); color: var(--text-light); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 76ch; margin-bottom: 34px; }
.section-lead { color: var(--text-soft); font-size: 1.03rem; }
.section-dark .section-lead { color: #aeb8c9; }
.kicker {
  display: inline-block; color: var(--red); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.4px; font-size: 0.78rem;
  margin-bottom: 8px;
}
.kicker.light { color: var(--gold); }
.section-foot { margin-top: 28px; }

/* ---------- kartu info ---------- */

.card-grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(16, 20, 34, 0.05);
}
.info-card h3 { margin-top: 0; }
.info-card p { margin-bottom: 0; color: var(--text-soft); }
.info-card.dark { background: #171d2b; border-color: var(--line-dark); color: var(--text-light); }
.info-card.dark p { color: #aeb8c9; }
.info-card.dark a { color: var(--gold); }

/* ---------- why ---------- */

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.why-item {
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 22px 24px;
}
.why-item h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: #b3bdcd; margin: 0; }

.callout {
  border-radius: var(--radius); padding: 26px 28px;
  border: 1px solid var(--line-dark); background: #131826;
}
.callout-gold { border-left: 4px solid var(--gold); }
.callout h3 { color: #fff; margin-bottom: 12px; }
.callout-list { color: #c3ccdb; }
.callout-list li { margin-bottom: 10px; }
.callout-list strong { color: var(--gold); }
.callout p { margin: 10px 0 0; color: #9fabbf; }
.callout a { color: var(--gold); }

/* ---------- mobile showcase ---------- */

.mobile-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 18px; }
.check-list li { padding-left: 30px; position: relative; color: var(--text-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; top: 2px;
}
.mobile-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 240px; border-radius: 34px; background: #10141d;
  border: 8px solid #2a3242; box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.phone-notch {
  width: 96px; height: 16px; background: #2a3242;
  border-radius: 0 0 12px 12px; margin: 0 auto;
}
.phone-screen { padding: 10px 12px 16px; display: grid; gap: 8px; }
.mini-header { display: flex; justify-content: space-between; align-items: center; }
.mini-logo { color: var(--gold); font-weight: 800; font-size: 0.8rem; }
.mini-bars { width: 34px; height: 4px; background: #3a4356; border-radius: 2px; position: relative; }
.mini-bars::before, .mini-bars::after {
  content: ""; position: absolute; width: 34px; height: 4px; background: #3a4356; border-radius: 2px; left: 0;
}
.mini-bars::before { top: -7px; }
.mini-bars::after { top: 7px; }
.mini-hero { height: 74px; border-radius: 12px; background: linear-gradient(140deg, #7f1010, #d32f2f 60%, #f6c445 130%); }
.mini-line { height: 8px; border-radius: 4px; background: #232b3d; }
.mini-line.l1 { width: 92%; }
.mini-line.l2 { width: 78%; }
.mini-line.l3 { width: 55%; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-cards span { height: 44px; border-radius: 10px; background: #232b3d; }
.mini-fab {
  margin-top: 6px; height: 30px; border-radius: 999px;
  background: linear-gradient(180deg, #ffd964, #e4ac1e);
  color: #241a02; font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- note box ---------- */

.note-box {
  background: #fff8e6; border: 1px solid #ecd9a0; border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 16px 18px; color: #5d4a12;
}
.note-box p { margin: 0; }
.note-box h2, .note-box h3 { color: #574407; margin: 0 0 8px; font-size: 1.05rem; }
.note-box ul { margin-bottom: 0; }
.note-warn { background: #fdeeee; border-color: #efc3c3; border-left-color: var(--red); color: #6b2222; }
.note-gold { background: #fff8e6; border-color: #ecd9a0; border-left-color: var(--gold-dark); }

/* ---------- kutipan pembaca ---------- */

.quote-card {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(16, 20, 34, 0.05);
  display: flex; flex-direction: column; gap: 14px;
}
.quote-card blockquote {
  margin: 0; font-size: 1.0rem; color: var(--text);
  border-left: 3px solid var(--gold); padding-left: 14px; font-style: italic;
}
.quote-card figcaption { color: var(--text-soft); font-size: 0.85rem; font-weight: 700; }

/* ---------- kamus kilat ---------- */

.tag-cloud-lg { margin-bottom: 30px; }
.tag-cloud-lg .tag { font-size: 0.95rem; padding: 0.45em 1.05em; }
.gloss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gloss-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px;
  color: var(--text-soft);
}
.gloss-card:hover { border-color: var(--gold-dark); text-decoration: none; box-shadow: var(--shadow); }
.gloss-card strong { color: var(--red-dark); font-size: 1.05rem; }

/* ---------- CTA strip ---------- */

.cta-strip {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(246, 196, 69, 0.15), transparent 60%),
    linear-gradient(120deg, #7f1010, #a51d1d 55%, #7f1010);
  padding: 44px 0;
}
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin-bottom: 6px; font-size: 1.4rem; }
.cta-strip p { color: #f3d9d9; margin: 0; max-width: 62ch; }

/* ---------- artikel ---------- */

.article { padding: 44px 0 8px; }
.article-head .kicker { margin-bottom: 6px; }
.article-head h1 { margin-bottom: 10px; }
.article-meta { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 22px; }
.article-meta-row { border-top: 1px solid var(--line); padding-top: 12px; margin-top: -8px; }
.article-hero { margin: 0 0 26px; }
.article-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-hero figcaption, .inline-figure figcaption {
  color: var(--text-soft); font-size: 0.82rem; margin-top: 8px; text-align: center;
}
.article-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); }
.inline-figure { margin: 26px 0; }
.inline-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.article-head-center { text-align: center; max-width: 70ch; margin: 0 auto 30px; }

/* ---------- related ---------- */

.related { padding: 40px 0 56px; }
.related h2 { font-size: 1.3rem; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.rel-card h3 { margin: 0 0 6px; font-size: 1rem; }
.rel-card a { color: var(--ink); }
.rel-card a:hover { color: var(--red); text-decoration: none; }
.rel-card p { margin: 0; color: var(--text-soft); font-size: 0.9rem; }

/* ---------- FAQ ---------- */

.faq { padding: 56px 0 70px; }
.faq h2 { text-align: center; margin-bottom: 26px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink);
  padding: 16px 52px 16px 18px; position: relative;
}
.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: 50%;
  background: var(--red); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--red-dark); }
.faq-answer { padding: 0 18px 16px; color: var(--text-soft); }
.faq-answer p { margin: 0; }

/* ---------- page hero (halaman non-artikel) ---------- */

.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(246, 196, 69, 0.12), transparent 60%),
    linear-gradient(160deg, #12161f, #171c29);
  color: #dfe5ef; padding: 52px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.page-hero .section-lead { color: #b7c0d0; }
.page-hero-narrow { padding: 40px 0; }

/* ---------- promosi ---------- */

.promo-list { display: grid; gap: 26px; }
.promo-card {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(16, 20, 34, 0.06);
}
.promo-thumb { position: relative; min-height: 200px; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: #241a02;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.4px;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.promo-badge.alt { background: #dfe5ef; color: #3a4356; }
.promo-body { padding: 22px 26px; }
.promo-title { font-size: 1.25rem; margin: 0 0 8px; }
.promo-body h3 { margin: 0 0 8px; }
.promo-excerpt { color: var(--text-soft); }
.mini-terms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
  margin: 0 0 16px;
}
.mini-terms div { border-left: 3px solid var(--line); padding-left: 10px; }
.mini-terms dt { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--red-dark); }
.mini-terms dd { margin: 2px 0 0; font-size: 0.87rem; color: var(--text-soft); }
.promo-cta { display: flex; gap: 10px; }

.terms-table { width: 100%; border-collapse: collapse; margin: 1.2em 0; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 2px 8px rgba(16,20,34,0.06); }
.terms-table caption { caption-side: top; text-align: left; font-weight: 800; color: var(--ink); padding: 0 0 8px; font-size: 0.95rem; }
.terms-table th, .terms-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.terms-table th[scope="row"] { width: 34%; background: #f6f7fa; color: var(--ink); }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: 0; }

/* ---------- auth (daftar/login) ---------- */

.auth-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.auth-form-wrap {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow);
}
.auth-form-wrap h2 { margin-top: 0; }
.auth-note { color: var(--text-soft); font-size: 0.92rem; }
.auth-form .field { margin-bottom: 18px; }
.auth-form label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 6px; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="search"] {
  width: 100%; font: inherit; padding: 0.75em 1em;
  border: 1.5px solid #c9cfdb; border-radius: 10px; background: #fff;
}
.auth-form input:focus { outline: 2px solid var(--gold); border-color: var(--gold-dark); }
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--red); flex: none; }
.field-check label { font-weight: 500; font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.field-help { color: var(--text-soft); font-size: 0.8rem; margin: 6px 0 0; }
.auth-alt { text-align: center; margin: 16px 0 0; color: var(--text-soft); font-size: 0.93rem; }
.auth-side { display: grid; gap: 18px; }
.check-list-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.check-list-box h2 { font-size: 1.1rem; margin-top: 0; }

/* ---------- indeks artikel ---------- */

.article-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.index-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  box-shadow: 0 2px 10px rgba(16, 20, 34, 0.05);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.index-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.index-card img { width: 100%; height: 190px; object-fit: cover; }
.index-card-body { padding: 18px 20px; display: grid; gap: 6px; }
.index-card h2 { margin: 0; font-size: 1.12rem; color: var(--ink); }
.index-card:hover h2 { color: var(--red-dark); }
.index-card p { margin: 0; color: var(--text-soft); font-size: 0.92rem; }
.index-kicker { color: var(--red); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.index-meta { color: #9aa3b2; font-size: 0.8rem; }

/* ---------- footer ---------- */

.site-footer { background: #0d1119; color: var(--text-light); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 20px 30px; }
.f-col h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-col a { color: #b9c2d2; font-size: 0.93rem; }
.f-col a:hover { color: var(--gold); }
.f-about p { color: #9da8bb; font-size: 0.9rem; margin: 14px 0; }
.f-about p strong { color: #e6ebf3; }
.brand-footer:hover { text-decoration: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.f-popular { padding: 0 20px 30px; }
.f-popular-title { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-legal { border-top: 1px solid var(--line-dark); background: #0a0e15; }
.footer-legal .container { padding: 26px 20px; }
.footer-legal p { color: #8d99ac; font-size: 0.82rem; margin: 0 0 10px; }
.footer-legal strong { color: #d7deea; }
.footer-legal .copy { margin: 14px 0 0; color: #6d7889; }

/* ---------- widget mengambang ---------- */

.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: linear-gradient(180deg, rgba(18, 22, 33, 0.97), rgba(10, 13, 20, 0.99));
  border-top: 1px solid rgba(246, 196, 69, 0.45);
  box-shadow: 0 -12px 34px rgba(5, 8, 14, 0.55);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.float-cta-inner {
  display: flex; align-items: center; gap: 18px;
  max-width: 1160px;
}
.float-cta-text { display: flex; flex-direction: column; line-height: 1.25; margin-left: -6px; }
.float-cta-text strong { color: #fff; font-size: 0.98rem; }
.float-cta-text span { color: #a7b1c3; font-size: 0.8rem; }
.float-cta-actions { display: flex; gap: 10px; margin-left: auto; }
.slot-widget-art { flex: none; }
.coin-float { animation: coinFloat 3.6s ease-in-out infinite; transform-origin: center; }
.coin-float.c2 { animation-delay: -1.2s; }
.coin-float.c3 { animation-delay: -2.4s; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .coin-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsif
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #10141d; border-bottom: 1px solid var(--line-dark);
    padding: 10px 20px 18px;
    box-shadow: 0 20px 40px rgba(5, 8, 14, 0.5);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a:not(.btn) { padding: 0.8em 1em; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { flex: 1; }
  .nav-toggle { display: inline-flex; }
  .header-actions .hide-mobile { display: none; }
  .hero-grid { gap: 30px; }
}

@media (max-width: 960px) {
  .hero { padding: 44px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 640px; }
  .mobile-grid { grid-template-columns: 1fr; gap: 34px; }
  .mobile-visual { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gloss-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-card { grid-template-columns: 1fr; }
  .promo-thumb { min-height: 190px; }
  .auth-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .cols-3 { grid-template-columns: 1fr; }
  .gloss-grid { grid-template-columns: 1fr; }
  .article-index-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .mini-terms { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .article-body { border-radius: 12px; }

  .float-cta-inner { gap: 10px; }
  .float-cta .slot-widget-art { width: 92px; height: 59px; }
  .float-cta-text strong { font-size: 0.88rem; }
  .float-cta-text span { display: none; }
  .float-cta-actions { flex-direction: row; }
  .float-cta-actions .btn { padding: 0.55em 1.05em; font-size: 0.88rem; }

  .auth-form-wrap { padding: 22px 18px; }
  .article { padding: 30px 0 4px; }
  .terms-table th[scope="row"] { width: 42%; }
  .cta-strip-inner { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .float-cta .slot-widget-art { width: 74px; height: 47px; }
  .float-cta-text { display: none; }
  .float-cta-actions { width: 100%; justify-content: stretch; }
  .float-cta-actions .btn { flex: 1; }
}

.page-updated { color: #97a2b5; font-size: 0.85rem; margin-top: 10px; }
.page-hero .page-updated { color: #97a2b5; }

@media print {
  .float-cta, .site-header, .search-panel { display: none; }
}
