/* ==========================================================================
   Wajik777 - style.css
   Palet: merah #C21F32, emas #F2C14E, gelap #171A21, krem #F7F5F1, hijau #1F8A4C
   ========================================================================== */

:root {
  --red: #C21F32;
  --red-deep: #8E1420;
  --red-soft: #FBEAEC;
  --gold: #F2C14E;
  --gold-deep: #B98A1F;
  --gold-soft: #FCF4E0;
  --dark: #171A21;
  --dark-2: #22262F;
  --ink: #262A33;
  --ink-soft: #5A6070;
  --line: #E6E2D9;
  --paper: #FFFFFF;
  --bg: #F7F5F1;
  --green: #1F8A4C;
  --green-soft: #E9F5EE;
  --blue: #2B5FA8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 26, 33, 0.08);
  --shadow-lg: 0 14px 40px rgba(23, 26, 33, 0.16);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--dark); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.85rem); }
h3 { font-size: clamp(1.12rem, 1rem + 0.6vw, 1.35rem); }
p { margin: 0 0 1em; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

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

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(194, 31, 50, 0.35); }
.btn-primary:hover { background: var(--red-deep); color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-gold { background: var(--gold); color: var(--dark); box-shadow: 0 6px 18px rgba(242, 193, 78, 0.4); }
.btn-gold:hover { background: #e5b53c; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- topbar + header ------------------------------------------------------ */

.topbar { background: var(--dark); color: #C9CDD6; font-size: 0.74rem; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  flex-wrap: wrap;
}
.topbar-right { color: var(--gold); white-space: nowrap; }

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.65rem 0;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; }
.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--dark);
}
.brand-name .tld { color: var(--red); }

.main-nav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.main-nav a:hover { background: var(--red-soft); color: var(--red); text-decoration: none; }
.main-nav a[aria-current="page"] { background: var(--dark); color: var(--gold); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); }
.nav-toggle { display: none; }

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

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(194, 31, 50, 0.35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(242, 193, 78, 0.16), transparent 55%),
    var(--dark);
  color: #E8EAEF;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero .kicker {
  display: inline-block;
  background: rgba(242, 193, 78, 0.14);
  border: 1px solid rgba(242, 193, 78, 0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem); color: #B9BEC9; max-width: 34rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 1.25rem; }
.hero-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #D5D9E2;
}
.chip.gold { color: var(--gold); border-color: rgba(242, 193, 78, 0.45); }
.chip.green { color: #7FDDA8; border-color: rgba(127, 221, 168, 0.4); }

.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -12px -12px auto auto;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 18px 0 0;
}

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

.section { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #C9CDD6; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: 1.8rem; }
.section-head .kicker {
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-dark .section-head .kicker { color: var(--gold); }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

/* ---- kartu kategori ------------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cat-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card figure img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 1rem 1.1rem 1.2rem; }
.cat-body h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.cat-body p { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 0.7rem; }
.cat-link { font-size: 0.8rem; font-weight: 700; color: var(--red); }
.cat-card:hover .cat-link { text-decoration: underline; }

/* ---- strip promosi beranda ------------------------------------------------ */

.promo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.promo-mini {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
}
.promo-mini .tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold-deep); text-transform: uppercase; }
.promo-mini h3 { font-size: 1rem; margin: 0.25rem 0 0.35rem; }
.promo-mini p { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.6rem; }
.promo-mini a { font-size: 0.8rem; font-weight: 700; }

.transparency-box {
  margin-top: 1.6rem;
  background: var(--gold-soft);
  border: 1px dashed var(--gold-deep);
  border-radius: 12px;
  padding: 1.15rem 1.3rem;
}
.transparency-box h3 { font-size: 1rem; }
.transparency-box ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.transparency-box li { font-size: 0.87rem; margin-bottom: 0.3rem; }

/* ---- keunggulan ------------------------------------------------------------ */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow);
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.feat-card h3 { font-size: 1rem; }
.feat-card p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

/* ---- split (mobile / privasi) --------------------------------------------- */

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.4rem; align-items: center; }
.split-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.check-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  font-size: 0.94rem;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ---- testimoni ------------------------------------------------------------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.testi-stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.85rem; }
.testi-card blockquote { margin: 0; font-size: 0.9rem; color: var(--ink); }
.testi-who { font-size: 0.8rem; color: var(--ink-soft); margin-top: auto; }
.testi-who strong { color: var(--dark); display: block; }
.testi-note { font-size: 0.76rem; color: var(--ink-soft); margin-top: 1.1rem; }

/* ---- kamus istilah --------------------------------------------------------- */

.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gloss-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}
.gloss-item dt { font-weight: 800; color: var(--red); font-size: 0.92rem; }
.gloss-item dd { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ---- artikel utama beranda -------------------------------------------------- */

.home-article {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 2.2rem;
  align-items: start;
}
.home-article .prose { background: transparent; padding: 0; box-shadow: none; border: 0; }
.sticky-figure { position: sticky; top: 5.5rem; }
.sticky-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.sticky-figure figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; }

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

.faq-list { display: grid; gap: 0.7rem; max-width: 52rem; }
details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  position: relative;
  padding-right: 2.4rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
  font-weight: 800;
}
details.faq[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 1.15rem 1rem; }
.faq-a p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ---- CTA band ---------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 0.25rem; font-size: 1.3rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- halaman dalam: hero + breadcrumb ---------------------------------------- */

.page-hero {
  background:
    radial-gradient(800px 300px at 90% -30%, rgba(242, 193, 78, 0.12), transparent 60%),
    var(--dark);
  color: #E8EAEF;
  padding: 1.6rem 0 2rem;
}
.page-hero h1 { color: #fff; margin-top: 0.6rem; }
.page-hero .lead { color: #B9BEC9; max-width: 44rem; margin-bottom: 0; }
.article-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #9AA0AD;
  margin: 0.8rem 0 0;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
}
.crumbs a { color: var(--gold); }
.crumbs li + li::before { content: "\203A"; margin: 0 0.45rem 0 0.1rem; color: #6C7280; }
.crumbs li:last-child span { color: #D5D9E2; }

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.2rem;
  padding: 2.2rem 0 3rem;
  align-items: start;
}
.prose { min-width: 0; }
.prose > figure:first-child { margin: 0 0 1.5rem; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; }
.prose p { font-size: 0.97rem; }
.prose h2 { margin-top: 1.9rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; font-size: 0.94rem; }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.2rem;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
}
.prose blockquote p { margin: 0; }

.info-box {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.9rem;
}
.info-box strong { color: var(--green); }

/* ---- aside ----------------------------------------------------------------------- */

.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
}
.aside-card h2 { font-size: 1rem; margin-bottom: 0.8rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li + li { border-top: 1px solid var(--line); }
.aside-list a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.aside-list a:hover { color: var(--red); }
.aside-list small { display: block; color: var(--ink-soft); font-weight: 400; }
.aside-note { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }

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

.promo-list { display: grid; gap: 1.2rem; padding: 2.2rem 0 3rem; }
.promo-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.promo-card figure { margin: 0; }
.promo-card figure img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.promo-body { padding: 1.3rem 1.4rem; }
.promo-body .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}
.promo-body h2 { font-size: 1.2rem; }
.promo-body p { font-size: 0.9rem; color: var(--ink-soft); }
.terms { margin: 0.7rem 0 0; }
.terms div { display: flex; gap: 0.6rem; padding: 0.32rem 0; border-top: 1px dashed var(--line); font-size: 0.84rem; }
.terms dt { flex: 0 0 9.5rem; font-weight: 700; color: var(--dark); }
.terms dd { margin: 0; color: var(--ink-soft); }

/* ---- formulir auth ------------------------------------------------------------------ */

.auth-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  padding: 2.4rem 0 3.2rem;
  align-items: start;
}
.auth-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.auth-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.auth-panel h2 { font-size: 1.25rem; }
.auth-panel .sub { font-size: 0.88rem; color: var(--ink-soft); }
.auth-form { display: grid; gap: 0.95rem; margin-top: 1.3rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.3rem; }
.field input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #FDFCFA;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194, 31, 50, 0.12);
}
.field-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; color: var(--ink-soft); }
.field-check input { margin-top: 0.2rem; }
.auth-submit { width: 100%; font-size: 0.95rem; padding: 0.85rem; }
.auth-alt { font-size: 0.85rem; text-align: center; margin: 0.9rem 0 0; color: var(--ink-soft); }
.auth-note {
  margin-top: 1.1rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

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

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; padding: 2rem 0 3rem; }
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.post-body .tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold-deep); text-transform: uppercase; }
.post-body h2 { font-size: 1.02rem; margin: 0.3rem 0 0.45rem; }
.post-body p { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.8rem; }
.post-body .more { margin-top: auto; font-size: 0.8rem; font-weight: 700; }

/* ---- tag cloud halaman artikel ------------------------------------------------------- */

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.tag-chip:hover, .tag-chip.active { background: var(--red); border-color: var(--red); color: #fff; }

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

.site-footer {
  background: var(--dark);
  color: #B9BEC9;
  padding: 3rem 0 6.5rem; /* ruang untuk floatbar tanpa menambah area kosong di luar footer */
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand p { font-size: 0.84rem; color: #9AA0AD; }
.footer-col h2 { font-size: 0.85rem; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: #B9BEC9; font-size: 0.86rem; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { padding-top: 1.6rem; font-size: 0.78rem; color: #8B919E; }
.footer-legal p { margin-bottom: 0.8rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.badge-red { background: rgba(194, 31, 50, 0.2); color: #F097A3; }
.badge-green { background: rgba(31, 138, 76, 0.2); color: #7FDDA8; }
.badge-gold { background: rgba(242, 193, 78, 0.18); color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.1rem;
}

/* ---- floatbar --------------------------------------------------------------------------- */

.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: linear-gradient(180deg, #1D212A, var(--dark));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}
.floatbar-inner {
  width: min(1180px, 100% - 1.6rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  position: relative;
}
.float-reels { display: flex; gap: 4px; }
.reel {
  width: 30px;
  height: 38px;
  overflow: hidden;
  background: #FDFCFA;
  border: 2px solid var(--gold);
  border-radius: 7px;
  display: block;
}
.reel-strip {
  display: block;
  text-align: center;
  font-size: 17px;
  line-height: 38px;
  animation: reelspin 7s linear infinite;
}
@keyframes reelspin {
  0% { transform: translateY(0); }
  16% { transform: translateY(-38px); }
  33% { transform: translateY(-76px); }
  50% { transform: translateY(-114px); }
  66% { transform: translateY(-152px); }
  83% { transform: translateY(-190px); }
  100% { transform: translateY(0); }
}
.float-coin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE29A, var(--gold) 60%, #B98A1F);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: coinfloat 4.5s ease-in-out infinite;
}
.float-coin.c1 { left: 8%; top: -7px; }
.float-coin.c2 { left: 16%; bottom: -5px; animation-delay: 1.4s; }
.float-coin.c3 { right: 34%; top: -9px; animation-delay: 2.6s; width: 12px; height: 12px; }
@keyframes coinfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-copy { display: flex; flex-direction: column; line-height: 1.25; }
.float-copy strong { color: #fff; font-size: 0.95rem; letter-spacing: 0.02em; }
.float-copy span { font-size: 0.72rem; color: #9AA0AD; }
.float-actions { margin-left: auto; display: flex; gap: 0.55rem; }
.fbtn {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
}
.fbtn:hover { text-decoration: none; transform: translateY(-1px); }
.fbtn-daftar { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(194, 31, 50, 0.45); }
.fbtn-masuk { background: transparent; color: var(--gold); border: 2px solid var(--gold); }

/* ---- search overlay ------------------------------------------------------------------------ */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(23, 26, 33, 0.72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: start center;
  padding: 9vh 1rem 2rem;
  overflow-y: auto;
}
.search-panel {
  width: min(640px, 100%);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem 1.3rem;
}
.search-top { display: flex; align-items: center; gap: 0.6rem; }
.search-top input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
}
.search-top input:focus { outline: none; border-color: var(--red); }
.search-close {
  border: 0;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.4rem;
}
.search-tags { margin-top: 0.9rem; }
.search-tags-title { font-size: 0.76rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.search-results { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.search-results a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
}
.search-results a:hover { border-color: var(--red); text-decoration: none; background: var(--red-soft); }
.sr-title { display: block; font-weight: 700; font-size: 0.9rem; }
.sr-desc { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.search-empty { font-size: 0.85rem; color: var(--ink-soft); margin: 0.9rem 0 0; }

/* ---- utilitas ------------------

----------------------------------------------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }

/* ---- responsif ------------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-strip { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .home-article { grid-template-columns: 1fr; }
  .sticky-figure { position: static; max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-figure { max-width: 560px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-figure { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem 1.2rem 0.9rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.15rem; }
  .header-actions .btn-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; }
  .gloss-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card figure img { min-height: 170px; max-height: 220px; }
  .terms dt { flex-basis: 7.5rem; }
  .float-copy span { display: none; }
  .float-coin.c2 { display: none; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .floatbar-inner { gap: 0.6rem; }
  .float-copy strong { font-size: 0.85rem; }
  .fbtn { padding: 0.5rem 1rem; font-size: 0.74rem; }
  .reel { width: 24px; height: 32px; }
  .reel-strip { font-size: 14px; line-height: 32px; }
  .header-inner { gap: 0.6rem; }
  .header-actions { gap: 0.35rem; min-width: 0; }
  .brand { min-width: 0; }
  .brand-name { font-size: 1.02rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .icon-btn { width: 34px; height: 34px; }
  .header-actions .btn-primary { padding: 0.5rem 0.85rem; font-size: 0.72rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reel-strip, .float-coin, .btn, .cat-card, .post-card { animation: none; transition: none; }
}
