/* ============================================================
   Wuling338 — Portal Informasi Game Kasino (Bahasa Indonesia)
   Palet: hijau tua (brand), kuning emas, merah, putih, hitam
   ============================================================ */

:root {
  --green-950: #04211a;
  --green-900: #06231a;
  --green-800: #0b3d2e;
  --green-700: #10513c;
  --green-600: #17694e;
  --gold: #f2b705;
  --gold-soft: #ffd766;
  --red: #c8102e;
  --red-dark: #9c0b22;
  --ink: #1b2430;
  --ink-soft: #46525e;
  --paper: #ffffff;
  --mist: #f4f7f5;
  --line: #e2e9e4;
  --shadow: 0 10px 30px rgba(4, 33, 26, 0.10);
  --radius: 14px;
  --fw-h: 72px;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--green-900); margin: 0 0 0.6em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(4, 33, 26, 0.18); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-soft); color: var(--green-950); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(242, 183, 5, 0.12); color: var(--gold-soft); }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-700); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--green-950), var(--green-900));
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-soft), var(--gold) 60%, #b98a00);
  color: var(--green-950);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  border: 2px solid #fff3;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.brand-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.2px; }
.brand-name .tld { color: var(--gold); }
.brand-tag { display: block; font-size: 0.68rem; letter-spacing: 1.6px; text-transform: uppercase; color: #bcd3c9; font-family: var(--font-body); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: #e7efe9; font-size: 0.92rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; display: block;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.10); color: var(--gold); }
.main-nav a.active { color: var(--gold); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 8px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2.5px; margin: 5px auto;
  background: var(--gold); border-radius: 2px; transition: 0.2s;
}

.header-search { display: flex; align-items: center; }
.header-search form { display: flex; }
.header-search input {
  width: 150px; padding: 8px 12px;
  border-radius: 999px 0 0 999px; border: 1px solid #ffffff2e;
  border-right: 0; background: #ffffff14; color: #fff; font-size: 0.85rem;
}
.header-search input::placeholder { color: #b9cec3; }
.header-search input:focus { outline: 2px solid var(--gold); }
.header-search button {
  border: 1px solid #ffffff2e; border-left: 0;
  background: var(--gold); color: var(--green-950);
  border-radius: 0 999px 999px 0; padding: 8px 13px; cursor: pointer; font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242, 183, 5, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(200, 16, 46, 0.16), transparent 60%),
    linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 55%, #0d4a37 100%);
  color: #eef5f0;
  padding: 58px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 42px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.08rem; color: #d5e3da; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dcebe2; font-size: 0.8rem; font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  border: 3px solid rgba(242, 183, 5, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 18px;
  background: var(--gold); color: var(--green-950);
  font-weight: 800; font-size: 0.82rem;
  padding: 9px 16px; border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* ---------- Tag cloud ---------- */
.tagcloud-block { background: var(--mist); border-bottom: 1px solid var(--line); padding: 22px 0; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tagcloud a {
  background: #fff; border: 1px solid var(--line);
  color: var(--green-800); font-size: 0.84rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
.tagcloud a:hover { border-color: var(--gold); background: #fffbe9; color: var(--green-900); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.section.alt { background: var(--mist); }
.section.dark { background: linear-gradient(155deg, var(--green-950), var(--green-800)); color: #dcebe2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .kicker { color: var(--gold); }

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

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(4, 33, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
  background: linear-gradient(150deg, #fff6d8, #ffe9a8);
  border: 1px solid #eeda9a;
}
.card .icon.green { background: linear-gradient(150deg, #e4f3ec, #cde9dc); border-color: #b6dcc9; }
.card .icon.red { background: linear-gradient(150deg, #fde7ea, #f9ccd3); border-color: #f0b6c0; }
.card .icon.blue { background: linear-gradient(150deg, #e6effc, #cfe1f7); border-color: #b7d2ee; }

.card-link { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 0.9rem; }

/* Kartu artikel/kategori dengan gambar */
.post-card { padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 16 / 9.5; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb .cat-label {
  position: absolute; left: 12px; top: 12px;
  background: var(--gold); color: var(--green-950);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; }
.post-card .meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 8px; }
.post-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Daftar bernomor / ceklis ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: langkah; }
.steps li {
  counter-increment: langkah; position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px 16px 62px;
}
.steps li::before {
  content: counter(langkah);
  position: absolute; left: 16px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-800); color: var(--gold);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 6px;
  background: #e0f2e8; color: var(--green-700);
  font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Breadcrumb ---------- */
.breadcrumbs { background: var(--mist); border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; color: var(--gold); font-weight: 700; }
.breadcrumbs a { color: var(--green-700); font-weight: 600; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Halaman artikel ---------- */
.page-hero { padding: 46px 0 10px; }
.page-hero .meta { color: var(--ink-soft); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding: 30px 0 64px; align-items: start; }
.prose { max-width: 760px; min-width: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose img.featured { border-radius: var(--radius); margin: 6px 0 1.4em; border: 1px solid var(--line); }
.prose figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: -0.6em; margin-bottom: 1.4em; }

.note-box {
  background: #fffbe9; border: 1px solid #eeda9a; border-left: 5px solid var(--gold);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 1.4em; font-size: 0.95rem;
}
.note-box.red { background: #fdf0f2; border-color: #f0c1ca; border-left-color: var(--red); }
.note-box.green { background: #eff8f2; border-color: #bfe3d0; border-left-color: var(--green-600); }

/* Tabel syarat promo */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 12px; }
table.terms { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.92rem; }
table.terms th, table.terms td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--green-800); color: #fff; font-weight: 700; white-space: nowrap; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { font-weight: 700; color: var(--green-800); white-space: nowrap; }

/* Sidebar */
.sidebar { position: sticky; top: 86px; display: grid; gap: 22px; }
.side-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h3 { font-size: 1.02rem; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-box ul a { font-weight: 600; font-size: 0.92rem; }
.side-box ul a::before { content: "› "; color: var(--gold); font-weight: 800; }
.side-cta { background: linear-gradient(150deg, var(--green-950), var(--green-800)); color: #dcebe2; border: 0; }
.side-cta h3 { color: #fff; }
.side-cta .btn { width: 100%; margin-top: 6px; }

/* ---------- Testimoni ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.quote-card blockquote { margin: 0; font-style: italic; color: var(--ink); }
.quote-card .who { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.quote-card .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-800); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.disclaimer-mini { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Kamus istilah ---------- */
.glossary { display: grid; gap: 10px; }
.glossary details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.glossary summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 800; }
.glossary details[open] summary::after { content: "–"; }
.glossary details p { padding-bottom: 14px; margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "?"; color: #fff; background: var(--green-800); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex: 0 0 26px; }
.faq-list details[open] summary::after { background: var(--gold); color: var(--green-950); }
.faq-list details p { padding-bottom: 16px; margin: 0; color: var(--ink-soft); }

/* ---------- Blok CTA ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--red-dark), var(--red));
  color: #fff; border-radius: var(--radius);
  padding: 34px 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: 0.25em; font-size: 1.4rem; }
.cta-band p { margin: 0; color: #ffe3e8; }

/* ---------- Form ---------- */
.form-wrap { max-width: 520px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--green-900); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.25); }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 5px; }
.field.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.field.check input { margin-top: 4px; }
.form-note { font-size: 0.84rem; color: var(--ink-soft); text-align: center; margin-top: 16px; }
.form-wide-btn { width: 100%; font-size: 1.02rem; padding: 13px 22px; }

/* ---------- Pencarian ---------- */
.search-hero { padding: 44px 0 8px; }
.search-box { display: flex; max-width: 640px; margin: 18px auto 8px; }
.search-box input {
  flex: 1; padding: 14px 20px; font-size: 1rem;
  border: 2px solid var(--line); border-right: 0;
  border-radius: 999px 0 0 999px; font-family: var(--font-body);
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-box button {
  padding: 14px 26px; border: 2px solid var(--green-800);
  background: var(--green-800); color: var(--gold);
  font-weight: 800; border-radius: 0 999px 999px 0; cursor: pointer; font-size: 0.95rem;
}
.search-results { display: grid; gap: 14px; margin-top: 26px; }
.search-result { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.search-result h3 { margin-bottom: 4px; font-size: 1.05rem; }
.search-result .url { font-size: 0.78rem; color: var(--green-600); }
.search-result p { margin: 6px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.search-empty { text-align: center; color: var(--ink-soft); padding: 30px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--green-950), #031712);
  color: #b9cec3;
  padding: 54px 0 0;
  font-size: 0.92rem;
  /* ruang untuk floating widget agar konten tertutup tanpa menambah area kosong */
  padding-bottom: calc(var(--fw-h) + 30px);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #cfe0d6; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; }
.footer-bottom {
  border-top: 1px solid #ffffff1c; margin-top: 40px; padding: 20px 0 4px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: #8fa79b;
}
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--red); color: #ff8fa0; font-weight: 800; font-size: 0.85rem;
  flex: 0 0 42px;
}
.legal-strip { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- Floating widget (slot + koin) ---------- */
.fw {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, #052b20, var(--green-950));
  border-top: 3px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.4);
}
.fw-inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; gap: 16px;
  min-height: var(--fw-h);
}
.fw-slot {
  display: flex; gap: 5px;
  background: #07281e; padding: 6px; border-radius: 12px;
  border: 2px solid var(--gold);
  flex: 0 0 auto;
}
.fw-reel {
  width: 26px; height: 34px; border-radius: 7px;
  background: linear-gradient(180deg, #fff, #e8e8e8);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
  animation: reel-roll 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  overflow: hidden;
}
.fw-reel:nth-child(1) { color: var(--red); animation-delay: 0s; }
.fw-reel:nth-child(2) { color: #b8860b; animation-delay: 0.18s; }
.fw-reel:nth-child(3) { color: var(--green-800); animation-delay: 0.36s; }
@keyframes reel-roll {
  0%, 18% { transform: translateY(0); }
  38% { transform: translateY(-26px); }
  58% { transform: translateY(0); }
  100% { transform: translateY(0); }
}
.fw-coins { position: relative; width: 52px; height: 44px; flex: 0 0 52px; }
.fw-coin {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffe9a8, var(--gold) 62%, #c08e00);
  border: 2px solid #a97e00;
  display: flex; align-items: center; justify-content: center;
  color: #6b4f00; font-size: 0.62rem; font-weight: 800;
  animation: coin-float 3.2s ease-in-out infinite;
}
.fw-coin:nth-child(1) { left: 0; top: 8px; }
.fw-coin:nth-child(2) { right: 0; top: 0; animation-delay: 0.6s; }
@keyframes coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.fw-text { color: #e7efe9; line-height: 1.3; min-width: 0; }
.fw-text strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: #fff; }
.fw-text span { font-size: 0.76rem; color: #a9c3b6; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-actions { margin-left: auto; display: flex; gap: 10px; flex: 0 0 auto; }
.fw-actions .btn { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; order: 3; }
  .header-cta { order: 2; }
  .header-search { display: none; }
  .main-nav {
    order: 4; display: none; width: 100%; margin: 4px -20px 0;
    border-top: 1px solid #ffffff1f;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav a { padding: 12px 6px; border-bottom: 1px solid #ffffff14; border-radius: 0; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2rem; }
  .hero-badge { left: 10px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  :root { --fw-h: 68px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .hero { padding: 40px 0 46px; }
  .cta-band { padding: 24px 20px; }
  .cta-band .btn { width: 100%; }
  .fw-text { display: none; }
  .fw-inner { gap: 12px; padding: 8px 14px; }
  .fw-actions { width: 100%; }
  .fw-actions .btn { flex: 1; padding: 11px 10px; }
  .header-cta .btn-outline { display: none; }
  .form-card { padding: 24px 18px; }
}

/* Aksesibilitas ringan */
@media (prefers-reduced-motion: reduce) {
  .fw-reel, .fw-coin, .post-card .thumb img { animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--gold); color: var(--green-950); }
