/* ============================================================
   Unggul88 — assets/css/style.css
   Palet: merah brand, emas, hitam hangat, krem, hijau, biru
   ============================================================ */
:root {
  --ink: #17121c;
  --ink2: #241a2b;
  --paper: #fffdf9;
  --bg: #f7f2ea;
  --bg2: #f3ece1;
  --line: #e7dcc9;
  --red: #c8162a;
  --red-d: #a00f20;
  --red-l: #fbe9e9;
  --gold: #e8b13a;
  --gold-d: #b9861c;
  --gold-l: #f9e7c0;
  --grn: #1f9d63;
  --grn-l: #e7f6ef;
  --blu: #1d4ed8;
  --mut: #6f6676;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(35, 22, 12, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: #2b2531;
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-l); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- tombol ---------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  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(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(200, 22, 42, 0.35); }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-sm { padding: 0.45em 1.1em; font-size: 0.88rem; }
.btn-wide { width: 100%; }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 18, 28, 0.97);
  border-bottom: 1px solid rgba(232, 177, 58, 0.25);
  backdrop-filter: blur(8px);
}
.head-in { display: flex; align-items: center; gap: 1.2rem; min-height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  color: #fff; letter-spacing: 0.02em; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-chip {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6d98a, var(--gold) 55%, var(--gold-d));
  border: 2px solid #fff3d6;
  color: var(--red-d); font-family: var(--sans); font-weight: 800; font-size: 0.72rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.lg-red { color: #ff8b97; }
.lg-gold { color: var(--gold); }

.nav { display: none; }
.nav a {
  color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; font-weight: 600;
  padding: 0.35em 0.1em; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold-l); text-decoration: none; }
.nav a.on { color: var(--gold); border-bottom-color: var(--gold); }

.nav-search { display: none; }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.head-search { display: none; }
.head-cta { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.logo { flex: 0 1 auto; min-width: 0; }

.nav-extra { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; cursor: pointer; padding: 10px; flex: 0 0 auto; margin-left: auto;
}
.burger span {
  display: block; height: 2px; width: 100%; background: var(--gold); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* menu mobile (checkbox murni CSS) */
.nav-switch { position: absolute; opacity: 0; pointer-events: none; }
.nav-switch:checked ~ .nav {
  display: flex; flex-direction: column; gap: 0.2rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ink2); padding: 0.9rem 1.4rem 1.2rem;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.nav-switch:checked ~ .nav a { padding: 0.55em 0.2em; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-switch:checked ~ .nav .nav-search { display: flex; margin-top: 0.7rem; }
.nav-switch:checked ~ .nav .nav-extra {
  display: block; margin-top: 0.5rem; padding: 0.5em 0.2rem; font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--gold);
}
.nav-search input {
  flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border-radius: 8px 0 0 8px; padding: 0.5em 0.8em; font-size: 0.95rem;
}
.nav-search button {
  border: 0; background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 0 1em; border-radius: 0 8px 8px 0; cursor: pointer;
}

/* ---------------- hero ---------------- */
.hero {
  background:
    linear-gradient(160deg, rgba(23, 18, 28, 0.82), rgba(43, 15, 22, 0.9)),
    url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 4.2rem 0 4.6rem;
}
.hero .kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-l);
  border: 1px solid rgba(232, 177, 58, 0.55); border-radius: 999px;
  padding: 0.45em 1.1em; margin-bottom: 1.3rem;
  background: rgba(23, 18, 28, 0.35);
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 21ch; margin-bottom: 0.8rem; }
.hero .hl { color: var(--gold); font-style: italic; white-space: nowrap; }
.hero .lead { max-width: 56ch; color: rgba(255, 255, 255, 0.88); font-size: 1.06rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0 1.8rem; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; margin: 0; }
.trust li { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.trust li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 0.45em; }

/* ---------------- section umum ---------------- */
.sec { padding: 3.4rem 0; background: var(--paper); }
.sec.alt { background: var(--bg2); }
.sec-head { max-width: 720px; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
  padding-bottom: 0.35em; margin-bottom: 0.9rem;
  border-bottom: 2px solid var(--gold);
}
.sec-head p { color: var(--mut); }
.mut { color: var(--mut); }
.micro { font-size: 0.85rem; color: var(--mut); }

/* grid & card */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(35, 22, 12, 0.13); }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: #4c4453; font-size: 0.95rem; }
.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; font-size: 1.35rem;
  background: var(--red-l); margin-bottom: 0.9rem;
}
.ico.gold { background: var(--gold-l); }
.ico.grn { background: var(--grn-l); }
.ico.blu { background: #e8edfc; }

/* split */
.split { display: grid; grid-template-columns: 1fr; gap: 1.8rem; align-items: center; }
.split-img { margin: 0; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* checklist */
ul.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.check li { padding-left: 1.9em; position: relative; margin-bottom: 0.7em; }
ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--grn-l); color: var(--grn); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8em;
}
ul.check li b { color: var(--ink); }

/* note box */
.note {
  background: #fdf6e7; border: 1px solid #ecd9a8; border-left: 5px solid var(--gold);
  border-radius: 10px; padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.note p { margin: 0; font-size: 0.96rem; }

/* ---------------- promo card ---------------- */
.promo-card, .guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-card:hover, .guide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(35, 22, 12, 0.15); }
.promo-card img, .guide-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pc-body h3 { margin: 0; }
.pc-body p { margin: 0; color: #4c4453; font-size: 0.95rem; flex: 1; }
.pc-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red-d);
  background: var(--red-l); border-radius: 999px; padding: 0.25em 0.9em;
}
.more { font-weight: 700; font-size: 0.93rem; }

/* ---------------- testimonial ---------------- */
.quote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow); position: relative;
}
.quote::before {
  content: "“"; font-family: var(--serif); font-size: 3.4rem; line-height: 1;
  color: var(--gold); position: absolute; top: 0.5rem; right: 1.1rem; opacity: 0.6;
}
.ava {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--red), var(--red-d));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.quote blockquote { margin: 0 0 0.8rem; font-style: italic; color: #3d3545; }
.quote figcaption { font-size: 0.85rem; color: var(--mut); font-weight: 600; }

/* ---------------- kamus istilah ---------------- */
.gloss-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.term {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 10px; padding: 1rem 1.2rem;
}
.term h3 { margin: 0 0 0.3em; font-size: 1.02rem; color: var(--red-d); }
.term p { margin: 0; font-size: 0.92rem; color: #4c4453; }

/* ---------------- artikel unggulan ---------------- */
.byline { font-size: 0.88rem; color: var(--mut); }
.featured { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.feat-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.art-body h3 { margin-top: 1.6em; color: var(--ink); }
.art-body p { color: #322b39; }

/* ---------------- FAQ ---------------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 0.7rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem;
  font-weight: 700; font-family: var(--serif); font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: baseline; gap: 0.6em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; color: var(--red); font-size: 0.9em; transition: transform 0.15s ease; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq-a { padding: 0 1.2rem 1.1rem 2.1rem; }
.faq-a p { margin: 0; font-size: 0.96rem; color: #4c4453; }

/* ---------------- halaman kategori & artikel ---------------- */
.cat-hero { background: var(--bg2); padding: 2.6rem 0 1rem; border-bottom: 1px solid var(--line); }
.cat-hero h1 { max-width: 26ch; }
.cat-hero .lead { max-width: 62ch; color: #4c4453; font-size: 1.03rem; }
.cat-img { margin: 1.6rem 0 0.6rem; }
.cat-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.crumb { font-size: 0.85rem; color: var(--mut); padding: 0.8rem 0 0; }
.crumb a { color: var(--mut); }
.crumb a:hover { color: var(--red-d); }
.c-sep { color: var(--gold-d); margin: 0 0.2em; }

.art { max-width: 830px; padding: 1.6rem 0 3.2rem; }
.art > h2 {
  margin-top: 1.8em; padding-left: 0.7em; border-left: 4px solid var(--red);
}
.art > h2:first-child { margin-top: 0.4em; }
.art p { color: #322b39; }
.art ul li { margin-bottom: 0.5em; }
.art strong { color: var(--ink); }

.read-also {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin: 2.2rem 0; box-shadow: var(--shadow);
}
.read-also h2 { font-size: 1.2rem; border-left: 4px solid var(--gold); padding-left: 0.7em; }
.read-also ul { margin: 0.4em 0 0; padding-left: 1.2em; }
.read-also li { margin-bottom: 0.55em; font-size: 0.96rem; }
.faq-sec h2 { margin-top: 1.6em; padding-left: 0.7em; border-left: 4px solid var(--red); }

/* tabel ketentuan */
.table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 12px; border: 1px solid var(--line); }
table.terms { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: 0.94rem; }
table.terms caption { caption-side: top; text-align: left; padding: 0.8rem 1rem 0.4rem; font-size: 0.82rem; color: var(--mut); }
table.terms th, table.terms td { text-align: left; padding: 0.7rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
table.terms th[scope="row"] { width: 172px; background: var(--bg2); color: var(--ink); font-family: var(--serif); white-space: nowrap; }
table.terms td { color: #3d3545; }
table.terms tr:first-child th, table.terms tr:first-child td { border-top: 0; }

/* mini promo (details) */
.mini-promos { display: grid; gap: 0.9rem; margin: 1rem 0 1.6rem; }
details.mini {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.2rem 1.2rem; box-shadow: var(--shadow);
}
details.mini summary {
  cursor: pointer; list-style: none; padding: 1rem 0; font-size: 1rem;
}
details.mini summary::-webkit-details-marker { display: none; }
details.mini summary::before { content: "＋"; color: var(--red); font-weight: 800; margin-right: 0.5em; }
details.mini[open] summary::before { content: "−"; }
.mini-body { padding: 0 0 1.2rem; }
.mini-body p { font-size: 0.95rem; color: #3d3545; }

/* guides grid */
.guides { margin-top: 0.4rem; }
.guide-card h3 { margin: 0; font-size: 1.08rem; }
.guide-card h3 a { color: var(--ink); }
.guide-card h3 a:hover { color: var(--red-d); text-decoration: none; }
.guide-card p { color: #4c4453; font-size: 0.92rem; }

/* ---------------- form auth ---------------- */
.auth-hero { background: var(--bg2); padding: 2.6rem 0 2rem; border-bottom: 1px solid var(--line); text-align: center; }
.auth-hero h1 { margin-bottom: 0.3em; }
.auth-hero .lead { max-width: 56ch; margin: 0 auto; color: #4c4453; }
.auth-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2.4rem 0 3.4rem; align-items: start; }
.auth-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow); max-width: 520px;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35em; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--mut); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .search-page-form input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.7em 0.9em; font-size: 1rem; font-family: var(--sans);
  background: var(--paper); color: var(--ink); transition: border-color 0.15s ease;
}
.field input:focus, .search-page-form input:focus { border-color: var(--red); outline: none; }
.field.check { display: flex; gap: 0.7em; align-items: flex-start; }
.field.check input { width: 1.15em; height: 1.15em; margin-top: 0.25em; accent-color: var(--red); flex-shrink: 0; }
.field.check label { font-weight: 400; font-size: 0.88rem; color: #4c4453; margin: 0; }
.auth-side h2 { font-size: 1.15rem; }
.auth-side .micro { margin-top: 0.8rem; }

/* ---------------- pencarian ---------------- */
.search-page-form { display: flex; gap: 0.6rem; max-width: 620px; margin: 1.4rem auto 1rem; }
.search-page-form input { flex: 1; min-width: 0; }
.page-tags { justify-content: center; margin: 0 auto 1rem; }
.results { max-width: 760px; margin: 0 auto 3rem; }
.card.res { padding: 1.2rem 1.4rem; margin-bottom: 0.9rem; }
.res-t { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; }
.res-u { font-size: 0.8rem; color: var(--grn); margin: 0.15rem 0 0.4rem; }
.res-d { margin: 0; font-size: 0.93rem; color: #4c4453; }
mark { background: var(--gold-l); color: inherit; padding: 0 0.15em; border-radius: 3px; }

/* ---------------- tag cloud ---------------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.1); color: #e9dfd4;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  padding: 0.28em 0.95em; transition: background 0.15s ease, color 0.15s ease;
}
.tag:hover { background: var(--gold); color: var(--ink); text-decoration: none; }

/* ---------------- footer ---------------- */
.site-foot { background: var(--ink); color: #cfc4bd; margin-top: 0; }
.foot-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem;
}
.foot-brand .logo-foot { font-size: 1.5rem; color: #fff; margin-bottom: 0.8rem; display: inline-flex; }
.foot-brand p { font-size: 0.92rem; color: #b9ada3; max-width: 42ch; }
.foot-age { margin-top: 1rem; }
.foot-age b {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; border-radius: 50%;
  width: 2.3em; height: 2.3em; font-size: 0.82rem; margin-right: 0.6em;
}
.site-foot h3 { color: var(--gold); font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 0.7em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.5em; }
.site-foot nav a { color: #d8cfc8; font-size: 0.92rem; }
.site-foot nav a:hover { color: var(--gold); }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.4rem 0; }
.legal p { font-size: 0.8rem; color: #a1968e; margin-bottom: 0.6em; }
.copy { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1rem 0 6.4rem; font-size: 0.8rem; color: #8d8178; }

/* ---------------- widget bawah ---------------- */
.float-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 0.9rem;
  background: linear-gradient(100deg, rgba(23, 18, 28, 0.97), rgba(64, 20, 28, 0.97));
  border-top: 2px solid var(--gold);
  backdrop-filter: blur(10px);
  padding: 0.55rem max(1rem, env(safe-area-inset-left));
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.45);
}
.fw-visual { position: relative; display: flex; gap: 4px; flex-shrink: 0; }
.fw-reel {
  width: 30px; height: 30px; overflow: hidden; border-radius: 7px;
  background: #0f0b13; border: 1px solid rgba(232, 177, 58, 0.7);
  font-size: 1.05rem; line-height: 30px; text-align: center;
}
.fw-strip { display: block; will-change: transform; }
@keyframes fw-spin { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.fw-reel .fw-strip { animation: fw-spin 2.4s linear infinite; }
.fw-r2 .fw-strip { animation-duration: 3.1s; }
.fw-r3 .fw-strip { animation-duration: 2.8s; animation-delay: 0.4s; }
.coin {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #ffe9ab, var(--gold) 55%, var(--gold-d));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
@keyframes fw-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.c1 { width: 10px; height: 10px; top: -8px; left: -6px; animation: fw-bob 2.6s ease-in-out infinite; }
.c2 { width: 7px; height: 7px; top: -5px; left: 96%; animation: fw-bob 3.2s ease-in-out infinite 0.5s; }
.c3 { width: 8px; height: 8px; bottom: -6px; left: 45%; animation: fw-bob 2.9s ease-in-out infinite 1s; }
.fw-text { color: #fff; line-height: 1.3; min-width: 0; }
.fw-text b { display: block; font-family: var(--serif); font-size: 0.98rem; letter-spacing: 0.02em; }
.fw-text span { font-size: 0.72rem; color: #d9c9a8; white-space: nowrap; }
.fw-cta { margin-left: auto; display: flex; gap: 0.55rem; flex-shrink: 0; }
.fw-btn {
  display: inline-block; font-weight: 800; font-size: 0.88rem;
  padding: 0.55em 1.35em; border-radius: 999px; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fw-btn:hover { text-decoration: none; transform: translateY(-2px); }
.fw-red { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(200, 22, 42, 0.5); }
.fw-red:hover { background: var(--red-d); color: #fff; }
.fw-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 14px rgba(232, 177, 58, 0.45); }
.fw-gold:hover { background: var(--gold-l); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .fw-reel, .coin { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .promo-card:hover, .guide-card:hover, .fw-btn:hover { transform: none; }
}

/* ---------------- responsif ---------------- */
@media (min-width: 640px) {
  .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .gloss-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 5rem 0 5.4rem; }
}

@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split.rev { grid-template-columns: 0.9fr 1.1fr; }
  .featured { grid-template-columns: 0.95fr 1.05fr; gap: 2.2rem; }
  .auth-wrap { grid-template-columns: 1.1fr 0.9fr; }
}

@media (min-width: 1020px) {
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .gloss-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1.4fr; }
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 1.1rem; }
  .head-search { display: flex; }
  .head-search input {
    width: 150px; border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08); color: #fff;
    border-radius: 8px 0 0 8px; padding: 0.42em 0.7em; font-size: 0.88rem;
    transition: width 0.2s ease;
  }
  .head-search input:focus { width: 200px; outline: none; border-color: var(--gold); }
  .head-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
  .head-search button {
    border: 0; background: var(--gold); color: var(--ink); font-weight: 700;
    padding: 0 0.85em; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 0.88rem;
  }
  .hero { padding: 5.6rem 0 6rem; }
  .sec { padding: 4.2rem 0; }
  .cat-hero { padding: 3.2rem 0 1.2rem; }
}

@media (max-width: 680px) {
  .head-cta .btn-line { display: none; }
}

@media (min-width: 681px) {
  .nav-extra { display: none !important; }
}

@media (max-width: 479px) {
  body { font-size: 15.5px; }
  .logo { font-size: 1.08rem; }
  .logo-chip { width: 32px; height: 32px; font-size: 0.6rem; }
  .head-in { gap: 0.6rem; min-height: 58px; }
  .float-widget { gap: 0.55rem; }
  .fw-reel { width: 24px; height: 24px; line-height: 24px; font-size: 0.85rem; }
  .fw-text span { display: none; }
  .fw-text b { font-size: 0.9rem; }
  .fw-btn { padding: 0.5em 1em; font-size: 0.8rem; }
  .hero .cta .btn { width: 100%; text-align: center; }
  .container { width: min(1160px, 100% - 1.8rem); }
}

/* cetak */
@media print {
  .site-head, .float-widget, .head-cta, .fw-cta { display: none !important; }
  body { background: #fff; }
}
