/* ============================================================
   Babeh188 - Media Informasi Independen
   Palette: black/green base, gold + red accents, white text
   ============================================================ */

:root {
  --bg: #0A120D;
  --bg-2: #0E1B13;
  --card: #122117;
  --card-2: #16281C;
  --line: #23402F;
  --line-soft: #1A3024;
  --gold: #F2C14E;
  --gold-2: #D9A521;
  --red: #D93B45;
  --red-2: #B32F38;
  --green: #2FA36B;
  --green-2: #1F7A4E;
  --blue: #4C8DFF;
  --text: #F2EFE6;
  --muted: #ADBBAF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --header-h: 66px;
  --fab-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: clip;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #10230F; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 700; z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10, 18, 13, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: #14260F; font-weight: 900; font-size: 21px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.brand-name { font-size: 21px; font-weight: 800; color: var(--text); letter-spacing: 0.2px; }
.brand-name em { color: var(--gold); font-style: normal; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: 15px;
}
.main-nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(242, 193, 78, 0.1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 13px; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); }

/* css-mask icons (inline data-uris, recolorable) */
[class^="ic-"], [class*=" ic-"] {
  display: inline-block; width: 18px; height: 18px;
  background-color: currentColor; background-repeat: no-repeat; background-size: contain;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.ic-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.7-4.7'/%3E%3C/svg%3E"); }
.ic-research { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.ic-honest { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12c0 4-4 7-9 7-1 0-2-.1-2.9-.4L4 20l1.2-3.4C4.4 15.3 3 13.8 3 12c0-4 4-7 9-7s9 3 9 7z'/%3E%3C/svg%3E"); }
.ic-terms { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='m4 5 1 1 2-2M4 11l1 1 2-2M4 17l1 1 2-2'/%3E%3C/svg%3E"); }
.ic-learn { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7l10-4 10 4-10 4z'/%3E%3Cpath d='M6 9v6c0 1.7 2.7 3 6 3s6-1.3 6-3V9'/%3E%3C/svg%3E"); }
.ic-privacy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ic-fast { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 11px;
  font-weight: 800; font-size: 15px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-2));
  color: #fff; box-shadow: 0 6px 18px rgba(217, 59, 69, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(217, 59, 69, 0.45); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #14260F; box-shadow: 0 6px 18px rgba(242, 193, 78, 0.28);
}
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold-2); }
.btn-outline:hover { background: rgba(242, 193, 78, 0.08); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  background-image:
    linear-gradient(100deg, rgba(8, 16, 11, 0.96) 0%, rgba(8, 16, 11, 0.82) 45%, rgba(8, 16, 11, 0.45) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line-soft);
}
.hero-inner { padding: 84px 20px 72px; max-width: 1160px; }
.hero-kicker {
  display: inline-block; margin: 0 0 14px;
  color: var(--gold); font-weight: 700; font-size: 14px;
  letter-spacing: 1.6px; text-transform: uppercase;
}
.hero-title {
  margin: 0 0 16px; font-size: clamp(30px, 5vw, 46px);
  max-width: 21em; letter-spacing: -0.3px;
}
.hero-sub { margin: 0 0 26px; color: #D8E2DA; max-width: 640px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---------------- sections ---------------- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { margin-bottom: 34px; }
.kicker {
  margin: 0 0 8px; color: var(--gold-2); font-weight: 800;
  font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase;
}
.section-title { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); }
.section-sub { margin: 0; color: var(--muted); max-width: 680px; }
.section-more { margin: 30px 0 0; }

/* ---------------- grids & cards ---------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 8px; font-size: 18.5px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-icon { width: 30px; height: 30px; color: var(--gold); }
.card.simple { text-align: left; }

.term-grid { gap: 14px; }
.term {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
}
.term strong { color: var(--gold); font-size: 16px; }
.term span { color: var(--muted); font-size: 13.8px; flex: 1; }
.term a { font-size: 13px; font-weight: 700; }

.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(242, 193, 78, 0.12); color: var(--gold);
  border: 1px solid var(--gold-2); font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.step h3 { margin-top: 2px; }

.check-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 4px;
  background-color: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list li strong { color: var(--text); }

/* ---------------- split layout ---------------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.media-caption { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

/* ---------------- reviews ---------------- */
.review { margin: 0; }
.review blockquote { margin: 0; color: #DDE7DF; font-size: 15px; }
.review blockquote::before {
  content: "\201C"; display: block; font-size: 40px; line-height: 0.6;
  color: var(--gold); margin-bottom: 12px; font-family: Georgia, serif;
}
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review figcaption small { display: block; color: var(--muted); font-size: 12.5px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, var(--green-2), #143826);
  color: #EAF6EE; font-weight: 800; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.reviews-note { color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ---------------- feature article ---------------- */
.article-feature {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.article-feature-media img { border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
.article-feature-body h3 { margin: 22px 0 8px; font-size: 19px; color: var(--gold); }
.article-feature-body h3:first-of-type { margin-top: 0; }
.article-feature-body p { margin: 0 0 6px; color: #D5DFD7; }

/* ---------------- faq ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 0; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 17px 20px; font-weight: 700;
  list-style: none; position: relative; padding-right: 46px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); color: var(--gold);
  font-size: 22px; font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--gold); }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------------- generic page (category/article/etc) ---------------- */
.page-wrap { padding: 34px 0 10px; }
.breadcrumbs { margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 13.5px; }
.breadcrumbs li { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "\203A"; color: var(--gold-2); font-weight: 700; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li[aria-current] { color: var(--text); }

.page-head { max-width: 860px; margin-bottom: 26px; }
.page-meta { margin: 0 0 12px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.page-title { margin: 0 0 14px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.3px; }
.page-lead { margin: 0; color: var(--muted); font-size: 17px; }

.post-cat {
  display: inline-block; background: rgba(47, 163, 107, 0.14); color: #7BD8A8;
  border: 1px solid rgba(47, 163, 107, 0.4); border-radius: 999px;
  font-size: 12px; font-weight: 800; padding: 3px 11px; letter-spacing: 0.4px;
  text-transform: uppercase;
}

.lead-figure { margin: 0 0 30px; }
.lead-figure img { border-radius: var(--radius); border: 1px solid var(--line-soft); width: 100%; }
.lead-figure figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* article body typography */
.article-body { max-width: 820px; }
.article-body h2 { margin: 38px 0 14px; font-size: 24px; color: var(--gold); }
.article-body h3 { margin: 26px 0 10px; font-size: 19px; }
.article-body p { margin: 0 0 16px; color: #D5DFD7; }
.article-body ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 26px; color: #D5DFD7; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--gold);
}
.article-body strong { color: var(--text); }

main .page-head + .lead-figure,
main > .lead-figure { max-width: 860px; }

/* bodies that use article typography directly (categories, promos, articles) */
main .page-head ~ figure.lead-figure { max-width: 860px; }

.info-box {
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.09), rgba(242, 193, 78, 0.03));
  border: 1px solid rgba(242, 193, 78, 0.35); border-radius: var(--radius);
  padding: 22px 26px; margin: 34px 0 8px; max-width: 820px;
}
.info-box h3 { margin: 0 0 8px; color: var(--gold); font-size: 17.5px; }
.info-box p { margin: 0; color: #D5DFD7; font-size: 15px; }

/* ---------------- promo cards ---------------- */
.promo-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px; margin-bottom: 26px;
  position: relative; box-shadow: var(--shadow); max-width: 860px;
}
.promo-card.featured { border-color: rgba(242, 193, 78, 0.5); }
.promo-card h2 { margin: 0 0 10px; font-size: 22px; }
.promo-card > p { color: var(--muted); margin: 0 0 16px; }
.promo-badge {
  position: absolute; top: -13px; left: 24px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #14260F; font-size: 12px; font-weight: 900;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.6px;
  text-transform: uppercase;
}
.promo-more { margin: 18px 0 0; }
.terms-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  display: table;
}
.terms-table th, .terms-table td {
  text-align: left; padding: 10px 12px; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.terms-table th {
  color: var(--gold); font-weight: 700; white-space: nowrap;
  width: 160px;
}
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: none; }
.terms-table tr:nth-child(odd) td, .terms-table tr:nth-child(odd) th { background: rgba(255, 255, 255, 0.015); }

/* ---------------- auth pages ---------------- */
.auth-wrap {
  display: grid; grid-template-columns: minmax(320px, 440px) minmax(320px, 1fr);
  gap: 40px; align-items: start; padding: 12px 0 30px;
}
.auth-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.auth-title { margin: 0 0 6px; font-size: 24px; }
.auth-sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.auth-form input[type="text"], .auth-form input[type="email"],
.auth-form input[type="password"], .auth-form input[type="tel"] {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: inherit;
  width: 100%;
}
.auth-form input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold-2); }
.auth-form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); font-size: 13.8px; }
.auth-form .checkbox input { margin-top: 3px; accent-color: var(--gold-2); width: 16px; height: 16px; }
.auth-alt { margin: 18px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.auth-side img { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.auth-notes {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; margin-top: 20px;
}
.auth-notes h2 { margin: 0 0 14px; font-size: 20px; }
.auth-notes p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.notice-18 {
  margin-top: 6px; border: 1px solid rgba(217, 59, 69, 0.45);
  background: rgba(217, 59, 69, 0.08); color: #F1B9BD;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px;
}

/* ---------------- hub / post cards ---------------- */
.post-card {
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  color: inherit; transition: transform 0.18s ease, border-color 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--gold-2); text-decoration: none; }
.post-thumb img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { display: grid; gap: 8px; }
.post-body strong { font-size: 17px; color: var(--text); line-height: 1.4; }
.post-body small { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------------- footer ---------------- */
.site-footer {
  background: #07100B; border-top: 1px solid var(--line-soft);
  padding: 54px 0 0; margin-top: 30px;
  padding-bottom: calc(var(--fab-h) + 44px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.footer-badges { display: flex; align-items: center; gap: 10px; margin-top: 14px !important; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 26px; border-radius: 6px;
  background: var(--red); color: #fff; font-weight: 900; font-size: 13px;
}
.footer-col h2 { font-size: 15px; color: var(--gold); margin: 4px 0 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { padding: 24px 0 10px; }
.footer-legal p { color: #8FA295; font-size: 13px; margin: 0 0 12px; }
.footer-legal strong { color: #C7D4CA; }
.footer-legal .copy { color: #6E8074; }

/* ---------------- floating action bar ---------------- */
.fab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: linear-gradient(180deg, rgba(14, 27, 19, 0.97), rgba(9, 17, 12, 0.99));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 16px;
  padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  min-height: var(--fab-h);
}
.fab-reels { display: flex; align-items: center; gap: 7px; }
.reel {
  width: 32px; height: 32px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #1A3323, #0F2016);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
}
.reel-strip {
  display: inline-flex; flex-direction: column; font-size: 17px; line-height: 32px;
  animation: reelSpin 2.8s linear infinite;
}
.reel:nth-child(2) .reel-strip { animation-duration: 3.4s; animation-delay: 0.3s; }
.reel:nth-child(3) .reel-strip { animation-duration: 2.3s; animation-delay: 0.6s; }
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-192px); }
}
@media (prefers-reduced-motion: reduce) {
  .reel-strip { animation: none; }
}
.fab-coins { display: inline-flex; gap: 4px; margin-left: 6px; font-size: 15px; }
.fab-coins i { font-style: normal; display: inline-block; animation: coinBob 2.2s ease-in-out infinite; }
.fab-coins i:nth-child(2) { animation-delay: 1.1s; }
@keyframes coinBob {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.fab-text { display: flex; flex-direction: column; line-height: 1.25; }
.fab-text strong { font-size: 16.5px; color: var(--gold); letter-spacing: 0.3px; }
.fab-text small { color: var(--muted); font-size: 11.5px; }
.fab-actions { margin-left: auto; display: flex; gap: 10px; }
.fab-actions .btn { padding: 10px 22px; font-size: 14.5px; }

/* ---------------- search overlay ---------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(5, 10, 7, 0.82); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 18px 40px; overflow-y: auto;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 680px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.search-bar { display: flex; gap: 10px; }
.search-bar input[type="search"] {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; padding: 12px 14px;
  font-size: 15.5px; font-family: inherit; min-width: 0;
}
.search-bar input:focus { outline: 2px solid var(--gold-2); }
.search-close {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 10px; width: 46px; cursor: pointer; font-size: 15px;
}
.search-close:hover { color: var(--text); border-color: var(--gold); }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; align-items: center; font-size: 13px; color: var(--muted); }
.search-tags a {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.search-tags a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.search-results { display: grid; gap: 10px; margin-top: 14px; }
.search-result {
  display: block; background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.search-result:hover { border-color: var(--gold-2); text-decoration: none; }
.search-result .post-cat { margin-bottom: 6px; }
.search-result strong { display: block; color: var(--text); font-size: 15.5px; margin: 4px 0; line-height: 1.45; }
.search-result small { color: var(--muted); font-size: 13px; line-height: 1.5; display: block; }
.search-empty { color: var(--muted); font-size: 14px; padding: 10px 4px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #0C1811; border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
  }
  .main-nav.open ul { flex-direction: column; gap: 2px; }
  .main-nav.open a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; justify-content: center; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}
@media (min-width: 1021px) {
  .nav-toggle { display: none; }
}
@media (max-width: 900px) {
  .split, .article-feature, .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fab-text small { display: none; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 56px 20px 48px; }
  .section { padding: 44px 0; }
  .card { padding: 20px; }
  .promo-card { padding: 20px; }
  .auth-card { padding: 22px; }
  .terms-table th { width: 108px; font-size: 13px; }
  .terms-table th, .terms-table td { padding: 9px 8px; font-size: 13.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .fab-reels .reel:nth-child(3) { display: none; }
  .fab-coins { display: none; }
  .fab-text strong { font-size: 15px; }
  .fab-actions { gap: 8px; }
  .fab-actions .btn { padding: 10px 16px; font-size: 14px; }
  :root { --fab-h: 64px; }
  .header-actions .btn-sm { display: none; }
  .icon-btn { padding: 8px 10px; }
  .icon-btn .only-lg { display: none; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .grid { grid-template-columns: 1fr; }
  .hero-inner { padding-left: 14px; padding-right: 14px; }
  .fab-text { display: none; }
  .fab-bar { gap: 10px; justify-content: center; }
  .fab-actions { margin-left: auto; }
}

/* print niceness */
@media print {
  .site-header, .fab-bar, .search-overlay, .related-section { display: none !important; }
  body { background: #fff; color: #000; }
}
