/* ==========================================================================
   Ovo777 Theme 1.0 — style.css
   Palet: hijau zamrud (utama) · emas · putih · hitam kehijauan, aksen merah/biru
   Font : Sora (judul) + Plus Jakarta Sans (isi)
   Rancangan responsif penuh, konten statis (tanpa ketergantungan JS untuk tampilan)
   ========================================================================== */

:root {
  --green-900: #072A20;
  --green-800: #0B3D2E;
  --green-700: #11553F;
  --green-600: #1B7A57;
  --green-100: #E3F2EA;
  --gold-500: #FFC233;
  --gold-600: #E5A800;
  --gold-100: #FFF3D1;
  --red-500: #E2483D;
  --red-100: #FDE8E6;
  --blue-500: #2F6FED;
  --blue-100: #E7EEFD;
  --ink-900: #101815;
  --ink-700: #33413B;
  --ink-500: #5C6B64;
  --line: #DCE5E0;
  --bg-soft: #F4F8F5;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 42, 32, .10);
  --shadow-lg: 0 18px 44px rgba(7, 42, 32, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3rem; }
p { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.25;
  color: var(--green-900);
  overflow-wrap: break-word;
}

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green-800); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--green-900); color: #CFE6DA; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .42rem 0; flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: .5rem; }
.topbar-link { color: var(--gold-500); font-weight: 700; }
.badge-18 {
  display: inline-block; background: var(--red-500); color: #fff;
  font-weight: 800; font-size: .72rem; padding: .05rem .45rem;
  border-radius: 6px; letter-spacing: .03em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--green-800);
  position: sticky; top: 0; z-index: 120;
  box-shadow: 0 4px 18px rgba(7, 42, 32, .25);
}
.header-in { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-sevens { display: inline-flex; flex: none; }
.brand-text { font-family: 'Sora', sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: #fff; }
.brand-text em { font-style: normal; color: var(--gold-500); }
.brand-text small {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #9DC4B3;
}

.header-search {
  flex: 1 1 220px; max-width: 460px; margin-left: auto;
  position: relative; display: flex;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; overflow: visible;
}
.header-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: #fff; padding: .5rem .2rem .5rem 1rem; font: inherit; font-size: .9rem;
}
.header-search input::placeholder { color: #B9D4C7; }
.header-search button {
  background: var(--gold-500); border: 0; color: var(--green-900);
  width: 42px; border-radius: 0 999px 999px 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 130;
}
.suggest a { display: block; padding: .55rem .9rem; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest .s-title { display: block; color: var(--green-800); font-weight: 700; font-size: .88rem; }
.suggest .s-desc { display: block; color: var(--ink-500); font-size: .76rem; }

.header-cta { display: flex; gap: .5rem; align-items: center; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; font-weight: 800; font-family: 'Sora', sans-serif;
  padding: .62rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.3;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 6px 18px rgba(255, 194, 51, .35); }
.btn-gold:hover { background: var(--gold-600); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { border-color: var(--gold-500); color: var(--gold-500); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); }
.btn-red { background: var(--red-500); color: #fff; }
.btn-sm { padding: .42rem 1rem; font-size: .85rem; }

/* ---------- Navigasi ---------- */
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2.5px;
  background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-nav { background: var(--green-900); }
.nav-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; padding: 0;
}
.nav-list a {
  display: block; color: #CDE4D8; font-weight: 600; font-size: .9rem;
  padding: .55rem .95rem; border-radius: 8px 8px 0 0;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold-500); border-bottom-color: var(--gold-500); text-decoration: none; }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: .8rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .8rem; color: var(--ink-500); padding: 0; }
.crumbs li:not(:last-child)::after { content: '›'; margin-left: .35rem; color: var(--ink-500); }
.crumbs a { color: var(--green-600); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 194, 51, .16), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, #0E4A37 100%);
  color: #EAF6EF; padding: 3.4rem 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -.01em; }
.hero h1 .hl { color: var(--gold-500); }
.hero .lead { color: #C4DECF; margin: 1rem 0 1.2rem; font-size: 1.02rem; max-width: 34rem; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(255, 194, 51, .16); color: var(--gold-500);
}
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.chip {
  font-size: .78rem; font-weight: 700; padding: .28rem .75rem;
  border-radius: 999px; background: rgba(255, 255, 255, .1); color: #DFEFE6;
  border: 1px solid rgba(255, 255, 255, .18);
}
.chip.c-green { border-color: rgba(27, 122, 87, .8); }
.chip.c-blue { border-color: rgba(47, 111, 237, .8); }
.chip.c-gold { border-color: rgba(255, 194, 51, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .8rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 3px solid rgba(255, 255, 255, .14); }
.hm-tag {
  position: absolute; left: 12px; bottom: 12px; background: rgba(7, 42, 32, .82);
  color: var(--gold-500); font-weight: 800; font-size: .74rem;
  padding: .3rem .7rem; border-radius: 8px; letter-spacing: .04em;
}
.hero-strip { background: rgba(0, 0, 0, .28); margin-top: 2.6rem; }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: .9rem 0; }
.stat b { display: block; font-family: 'Sora', sans-serif; color: var(--gold-500); font-size: 1.02rem; }
.stat span { font-size: .78rem; color: #AECFBE; }

/* ---------- Bagian umum ---------- */
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: .5rem 0 .6rem; }
.section-head .lead { color: var(--ink-500); }
.h3-line { font-size: 1.15rem; margin-bottom: .8rem; }

.grid { display: grid; gap: 1.1rem; }
.grid.g-2 { grid-template-columns: repeat(2, 1fr); }
.grid.g-3 { grid-template-columns: repeat(3, 1fr); }
.grid.g-4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: 0 3px 14px rgba(7, 42, 32, .06);
}
.card h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.card p { color: var(--ink-700); font-size: .92rem; }
.card .tag { margin-top: .6rem; }
.ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: .8rem;
}
.ico.gold { background: var(--gold-100); }
.ico.red { background: var(--red-100); }
.ico.blue { background: var(--blue-100); }
.ico.green { background: var(--green-100); }

/* ---------- Kartu langkah ---------- */
.step-card { position: relative; padding-top: 1.7rem; }
.step-num {
  position: absolute; top: -16px; left: 1.35rem; background: var(--gold-500);
  color: var(--green-900); font-family: 'Sora', sans-serif; font-weight: 800;
  padding: .12rem .6rem; border-radius: 8px; font-size: .9rem;
  box-shadow: 0 4px 12px rgba(255, 194, 51, .5);
}

/* ---------- Tag cloud ---------- */
.tags-cloud { padding: 1.6rem 0 .4rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--green-800);
  background: var(--green-100); border: 1px solid transparent;
  padding: .3rem .8rem; border-radius: 999px;
}
.tag:hover { background: var(--green-800); color: #fff; text-decoration: none; }

/* ---------- Testimoni ---------- */
.quote-card { display: flex; flex-direction: column; gap: .8rem; }
.quote-card .q-text { font-size: .93rem; color: var(--ink-700); font-style: italic; }
.quote-card .q-who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.q-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--green-800); color: var(--gold-500);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem;
}
.q-who b { display: block; font-size: .9rem; color: var(--green-900); }
.q-who span { font-size: .76rem; color: var(--ink-500); }
.q-stars { color: var(--gold-600); font-size: .85rem; letter-spacing: .1em; }

/* ---------- Blok keamanan / RG ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.panel {
  border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); background: #fff;
}
.panel.guard { border-top: 4px solid var(--blue-500); }
.panel.rg { border-top: 4px solid var(--red-500); }
.panel h3 { margin-bottom: .6rem; }
.panel ul { margin: .4rem 0 0; }
.panel li { font-size: .9rem; color: var(--ink-700); margin-bottom: .35rem; }

/* ---------- Simulator turnover (seksi inovatif) ---------- */
.sim-box {
  background: linear-gradient(150deg, var(--green-900), var(--green-800));
  border-radius: var(--radius); padding: 1.8rem; color: #EAF6EF;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.8rem;
  box-shadow: var(--shadow-lg);
}
.sim-box h3 { color: #fff; }
.sim-box p { color: #BFDCCB; font-size: .9rem; }
.sim-form label { display: block; font-size: .8rem; font-weight: 700; color: #CDE4D8; margin: .8rem 0 .25rem; }
.sim-form input, .sim-form select {
  width: 100%; padding: .55rem .8rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: .92rem;
}
.sim-form select option { color: var(--ink-900); }
.sim-out { background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 194, 51, .55); border-radius: 12px; padding: 1.2rem; }
.sim-out .so-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #9DC4B3; font-weight: 700; }
.sim-out .so-big { font-family: 'Sora', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--gold-500); margin: .15rem 0 .8rem; }
.sim-out .so-row { display: flex; justify-content: space-between; gap: .8rem; font-size: .84rem; padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sim-out .so-row:last-child { border-bottom: 0; }
.sim-out .so-row b { color: #fff; text-align: right; }
.sim-note { font-size: .78rem; color: #9DC4B3; margin-top: .8rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; max-width: 52rem; }
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1.2rem; box-shadow: 0 2px 10px rgba(7, 42, 32, .05);
}
details.faq summary {
  cursor: pointer; font-weight: 700; color: var(--green-900); list-style: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: 'Sora', sans-serif; font-size: .95rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--gold-600); flex: none; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin-top: .7rem; color: var(--ink-700); font-size: .92rem; }

/* ---------- Artikel ---------- */
.article { max-width: 50rem; }
.article-header { margin-bottom: 1.4rem; }
.article-header h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: .5rem 0 .7rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; font-size: .8rem; color: var(--ink-500); }
.article img.featured { border-radius: var(--radius); margin: .4rem 0 1.4rem; box-shadow: var(--shadow); }
.article h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.article h3 { font-size: 1.08rem; margin: 1.4rem 0 .5rem; }
.article p { margin-bottom: .9rem; color: var(--ink-700); }
.article ul, .article ol { margin: .4rem 0 1rem; }
.article li { margin-bottom: .4rem; color: var(--ink-700); }
.article blockquote {
  border-left: 4px solid var(--gold-500); background: var(--gold-100);
  padding: .9rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.2rem 0;
  color: var(--ink-900); font-size: .95rem;
}
.numbox {
  background: var(--green-100); border: 1px solid #CBE3D5; border-radius: 12px;
  padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.numbox h3, .numbox h4 { margin: 0 0 .4rem; font-size: .95rem; }
.numbox p, .numbox li { font-size: .88rem; }
.warnbox {
  background: var(--red-100); border: 1px solid #F3C9C5; border-radius: 12px;
  padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: .9rem; color: #7A2721;
}
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: 12px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 30rem; background: #fff; }
th, td { padding: .65rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--green-800); color: #fff; font-family: 'Sora', sans-serif; font-size: .82rem; }
tr:last-child td { border-bottom: 0; }

/* ---------- Daftar promo ---------- */
.promo-card { display: flex; flex-direction: column; gap: .6rem; overflow: hidden; padding: 0; }
.promo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-card .pc-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pc-badge {
  display: inline-block; align-self: flex-start; background: var(--gold-500); color: var(--green-900);
  font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 6px;
}
.pc-terms { font-size: .82rem; color: var(--ink-500); }
.pc-terms li { margin-bottom: .2rem; }

/* ---------- Formulir ---------- */
.auth-wrap { max-width: 30rem; margin-inline: auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card h1 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-card .sub { color: var(--ink-500); font-size: .9rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .3rem; color: var(--green-900); }
.field input {
  width: 100%; padding: .68rem .9rem; border-radius: 10px; border: 1.5px solid var(--line);
  font: inherit; font-size: .95rem; color: var(--ink-900); background: #fff;
}
.field input:focus { outline: 2px solid var(--green-600); border-color: var(--green-600); }
.field input[aria-invalid="true"] { border-color: var(--red-500); background: #FFF7F6; }
.field .hint { font-size: .76rem; color: var(--ink-500); margin-top: .25rem; }
.check-line { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-700); margin-bottom: 1.1rem; }
.check-line input { width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.form-msg { display: none; font-size: .86rem; border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; }
.form-msg.err { display: block; background: var(--red-100); color: #8A2A22; }
.form-msg.ok { display: block; background: var(--green-100); color: #14532D; }
.form-alt { text-align: center; font-size: .88rem; color: var(--ink-500); margin-top: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(255, 194, 51, .22), transparent 55%),
    linear-gradient(140deg, var(--green-800), var(--green-900));
  color: #EAF6EF; text-align: center; padding: 3rem 0; border-radius: var(--radius);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #BFDCCB; max-width: 38rem; margin: .6rem auto 1.3rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #B7D3C4; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 1.8rem; }
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: .7rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: #B7D3C4; font-size: .88rem; }
.footer-grid a:hover { color: var(--gold-500); }
.f-brand p { font-size: .86rem; margin: .8rem 0; max-width: 24rem; }
.f-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.f-badge { font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: 6px; }
.f-badge-green { background: rgba(27, 122, 87, .5); color: #D9F2E4; }
.f-badge-blue { background: rgba(47, 111, 237, .4); color: #DEE9FD; }
.brand-foot .brand-text { font-size: 1.6rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.3rem 0 1.6rem; }
.footer-legal p { font-size: .78rem; color: #8FB4A3; margin-bottom: .5rem; }
.f-copy { color: #6E9483; }

/* ---------- Tombol float (gaya mesin slot + koin) ---------- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 14px; z-index: 150; display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; isolation: isolate;
  padding-bottom: 2px;
}
.float-cta:hover { text-decoration: none; }
.fc-cabinet {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: linear-gradient(180deg, #14563F, #0B3D2E 60%, #072A20);
  border: 2px solid var(--gold-500); border-radius: 16px;
  padding: 5px 16px 7px; position: relative;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.fc-reels { display: inline-flex; gap: 4px; font-size: .95rem; line-height: 1; }
.fc-reels b {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 5px; font-size: .8rem;
  animation: fc-spin 2.4s linear infinite;
}
.fc-reels b:nth-child(2) { animation-delay: .8s; }
.fc-reels b:nth-child(3) { animation-delay: 1.6s; }
@keyframes fc-spin {
  0%, 26% { transform: translateY(0); }
  34% { transform: translateY(-14px); }
  42%, 100% { transform: translateY(0); }
}
.fc-text {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: .92rem;
  letter-spacing: .04em; color: var(--gold-500); white-space: nowrap;
  text-shadow: 0 1px 0 #000;
}
.fc-coins { position: absolute; inset: 0; pointer-events: none; }
.fc-coins i {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE28A, var(--gold-600) 70%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  opacity: 0;
  animation: fc-coin 2.8s ease-in infinite;
}
.fc-coins i:nth-child(1) { left: 12%; animation-delay: 0s; }
.fc-coins i:nth-child(2) { left: 28%; animation-delay: .5s; }
.fc-coins i:nth-child(3) { left: 52%; animation-delay: 1s; }
.fc-coins i:nth-child(4) { left: 68%; animation-delay: 1.5s; }
.fc-coins i:nth-child(5) { left: 84%; animation-delay: 2s; }
.fc-coins i:nth-child(6) { left: 40%; animation-delay: 2.4s; }
@keyframes fc-coin {
  0% { transform: translateY(16px) scale(.6); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-34px) scale(1); opacity: 0; }
}

/* ---------- Halaman pencarian ---------- */
.result { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.result .r-url { font-size: .76rem; color: var(--green-600); }
.result h3 { font-size: 1.05rem; margin: .2rem 0; }
.result p { font-size: .88rem; color: var(--ink-500); }

/* ---------- Halaman kategori (hero mini) ---------- */
.cat-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: 2.6rem 0; background: var(--bg-soft); }
.cat-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .5rem 0 .6rem; }
.cat-hero .lead { color: var(--ink-500); margin-bottom: 1rem; }
.cat-hero img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-media { max-width: 560px; }
  .grid.g-4 { grid-template-columns: repeat(2, 1fr); }
  .sim-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-hero { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 1.8rem); }
  .header-search { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: block; order: 5; }
  .header-in { flex-wrap: wrap; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: .4rem 0 .8rem; }
  .nav-list a { border-bottom: 0; border-radius: 8px; }
  .grid.g-2, .grid.g-3 { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 2.2rem; }
  .section { padding: 2.2rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .float-cta { bottom: 10px; }
  .fc-text { font-size: .85rem; }
  .fc-cabinet { padding: 4px 12px 6px; }
  .table-wrap table { min-width: 24rem; }
}

@media (max-width: 420px) {
  .grid.g-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .brand-text { font-size: 1.2rem; }
  .brand-text small { font-size: .56rem; }
}

/* Guard overflow untuk konten arbitrer */
pre, code { overflow-wrap: anywhere; }
.article *, .card *, .panel * { max-width: 100%; }

@media print {
  .float-cta, .site-nav, .topbar, .site-header { display: none !important; }
}
