/* ============================================================
   Fungame777 — Portal Informasi Permainan (Indonesia)
   Gaya utama: tema gelap kasino dengan aksen emas, merah, hijau
   Responsif: ponsel, tablet, desktop
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg-soft: #0e1320;
  --surface: #131a2a;
  --surface-2: #182136;
  --line: #242e48;
  --line-soft: #1b2440;
  --text: #eef1f8;
  --muted: #a7b0c6;
  --gold: #f6b51b;
  --gold-2: #ffd45e;
  --gold-dark: #b97e07;
  --red: #e04050;
  --red-soft: #ff5b6a;
  --green: #2fbf71;
  --blue: #4a8cff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  --header-h: 68px;
  --floatbar-h: 84px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(246, 181, 27, 0.07), transparent 60%),
    radial-gradient(900px 420px at -10% 8%, rgba(224, 64, 80, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: clip;
  padding-bottom: calc(var(--floatbar-h) + 14px);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #ffe6a8; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; letter-spacing: 0.1px; }

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

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.98rem; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241603; box-shadow: 0 6px 18px rgba(246, 181, 27, 0.28);
}
.btn-gold:hover { color: #241603; filter: brightness(1.05); }
.btn-ghost {
  background: rgba(246, 181, 27, 0.06); color: var(--gold-2);
  border-color: rgba(246, 181, 27, 0.45);
}
.btn-ghost:hover { color: #ffe6a8; border-color: var(--gold); background: rgba(246, 181, 27, 0.12); }
.btn-green {
  background: linear-gradient(180deg, #46d98c, var(--green));
  color: #04160c; box-shadow: 0 6px 18px rgba(47, 191, 113, 0.25);
}
.btn-green:hover { color: #04160c; filter: brightness(1.04); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Lencana ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.4px;
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted);
}
.badge-gold { color: var(--gold-2); border-color: rgba(246, 181, 27, 0.4); background: rgba(246, 181, 27, 0.08); }
.badge-red { color: var(--red-soft); border-color: rgba(224, 64, 80, 0.4); background: rgba(224, 64, 80, 0.08); }
.badge-green { color: #52dd94; border-color: rgba(47, 191, 113, 0.4); background: rgba(47, 191, 113, 0.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(10, 13, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.28rem; color: var(--text);
}
.brand:hover { color: #fff; }
.brand-mark { flex: none; }
.brand-name b { color: var(--gold); font-weight: 800; }
.brand-tag {
  display: block; font-size: 0.62rem; font-weight: 600;
  color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; line-height: 1;
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.main-nav a {
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 8px;
}
.main-nav a:hover { color: var(--gold-2); background: rgba(246, 181, 27, 0.08); }
.main-nav a.active { color: var(--gold); background: rgba(246, 181, 27, 0.1); }

.header-search { margin-left: auto; display: flex; }
.header-search input {
  width: 200px; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px 0 0 999px; color: var(--text); font-size: 0.9rem;
  font-family: inherit; outline: none; min-width: 0;
}
.header-search input:focus { border-color: rgba(246, 181, 27, 0.55); }
.header-search input::placeholder { color: #7c86a0; }
.header-search button {
  padding: 9px 15px; border: 1px solid var(--gold); border-left: 0;
  border-radius: 0 999px 999px 0; background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241603; cursor: pointer; display: inline-flex; align-items: center;
}
.header-search button svg { display: block; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; color: var(--gold-2); cursor: pointer;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 4px; font-size: 0.86rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold-dark); font-weight: 700; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb [aria-current] { color: var(--gold-2); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 46px 0 26px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center;
}
.hero-copy .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.85rem, 4.2vw, 3.05rem); margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero-sub { color: var(--muted); font-size: 1.06rem; max-width: 54ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.88rem; }
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 16 / 11; object-fit: cover; width: 100%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(160deg, rgba(246, 181, 27, 0.14), transparent 45%);
  pointer-events: none;
}
.hero-float {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(12, 16, 27, 0.88); border: 1px solid rgba(246, 181, 27, 0.35);
  padding: 10px 16px; border-radius: 12px; font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px; backdrop-filter: blur(6px);
}
.hero-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Bagian umum ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 68ch; margin-bottom: 30px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; color: var(--gold); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

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

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(246, 181, 27, 0.45); box-shadow: var(--shadow); }
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
  background: rgba(246, 181, 27, 0.1); border: 1px solid rgba(246, 181, 27, 0.3);
  color: var(--gold-2); font-size: 1.2rem; font-weight: 800;
}

/* Kartu kategori */
.cat-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.cat-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .thumb .badge { position: absolute; top: 12px; left: 12px; }
.cat-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card .more { margin-top: auto; font-weight: 700; font-size: 0.92rem; }

/* Kartu promo */
.promo-card { display: flex; flex-direction: column; gap: 12px; }
.promo-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); }
.promo-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-chips .badge { font-size: 0.74rem; padding: 4px 11px; }
.promo-card .more { font-weight: 700; font-size: 0.92rem; }

/* Testimoni */
.review-card { position: relative; }
.review-card .quote {
  color: var(--text); font-size: 0.95rem; margin-bottom: 16px;
}
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #241603;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.review-card .who b { display: block; font-size: 0.94rem; }
.review-card .who span { color: var(--muted); font-size: 0.82rem; }
.review-note { margin-top: 18px; color: var(--muted); font-size: 0.83rem; }

/* Kamus istilah */
.term-card { padding: 18px 20px; }
.term-card dt { color: var(--gold-2); font-weight: 800; font-size: 0.98rem; margin-bottom: 5px; }
.term-card dd { color: var(--muted); font-size: 0.9rem; }

/* Blok fitur dua kolom */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img {
  border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow);
}
.check-list { list-style: none; display: grid; gap: 13px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; margin-top: 3px;
  border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(47, 191, 113, 0.14); color: var(--green);
  border: 1px solid rgba(47, 191, 113, 0.4); font-size: 0.8rem; font-weight: 800;
}
.check-list li b { color: var(--text); }

/* ---------- Artikel / prose ---------- */
.page-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.page-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted);
  font-size: 0.86rem; margin-bottom: 22px; align-items: center;
}
.page-meta .badge { padding: 3px 11px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.prose { max-width: 74ch; }
.prose img.hero-img {
  border-radius: var(--radius); border: 1px solid var(--line);
  margin: 6px 0 26px; box-shadow: var(--shadow);
}
.prose h2 {
  font-size: 1.4rem; margin: 34px 0 14px; padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.prose h3 { font-size: 1.13rem; margin: 26px 0 10px; color: var(--gold-2); }
.prose p { margin-bottom: 16px; color: #cdd4e4; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #cdd4e4; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: 24px 0; padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(246, 181, 27, 0.06); border: 1px solid rgba(246, 181, 27, 0.3);
  color: var(--text); font-style: italic;
}
.prose table {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem;
  background: var(--surface); border-radius: var(--radius-sm); overflow: hidden;
}
.prose th {
  text-align: left; background: var(--surface-2); color: var(--gold-2);
  padding: 12px 14px; border: 1px solid var(--line);
}
.prose td { padding: 11px 14px; border: 1px solid var(--line); color: #cdd4e4; }

/* Sidebar */
.side-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
}
.side-box h3 { font-size: 1.02rem; margin-bottom: 14px; color: var(--gold-2); }
.side-box ul { list-style: none; display: grid; gap: 11px; }
.side-box li a { color: #cdd4e4; font-size: 0.93rem; display: inline-flex; gap: 8px; }
.side-box li a::before { content: "›"; color: var(--gold); font-weight: 800; }
.side-box li a:hover { color: var(--gold-2); }
.side-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq details[open] { border-color: rgba(246, 181, 27, 0.45); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; font-weight: 700; font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; flex: none; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(246, 181, 27, 0.12);
  color: var(--gold-2); font-weight: 800; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 240px at 15% 0%, rgba(246, 181, 27, 0.14), transparent 60%),
    radial-gradient(600px 240px at 85% 100%, rgba(224, 64, 80, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid rgba(246, 181, 27, 0.35);
  border-radius: 18px; padding: 38px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 0 auto 22px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Formulir auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.55rem; margin-bottom: 8px; }
.auth-card .lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"] {
  width: 100%; padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 0.96rem; outline: none;
}
.field input:focus { border-color: rgba(246, 181, 27, 0.55); box-shadow: 0 0 0 3px rgba(246, 181, 27, 0.12); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 0.87rem; color: var(--muted); }
.field-check input { margin-top: 4px; accent-color: var(--gold); }
.auth-note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(74, 140, 255, 0.07); border: 1px solid rgba(74, 140, 255, 0.3);
  color: #bcd3ff; font-size: 0.84rem;
}
.auth-alt { margin-top: 16px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.auth-side h2 { font-size: 1.25rem; margin-bottom: 14px; }

/* ---------- Pencarian & tag ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.tag-cloud a {
  padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: #cdd4e4;
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold-2); }
.search-result-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; }
.search-result-card .u { color: var(--green); font-size: 0.8rem; }
.search-result-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070a11; border-top: 1px solid var(--line-soft); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px;
  padding: 46px 0 34px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 14px 0 18px; max-width: 40ch; }
.footer-col h3 { font-size: 0.95rem; color: var(--gold-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-2); }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red-soft);
  font-weight: 800; font-size: 0.95rem; flex: none;
}
.footer-legal { border-top: 1px solid var(--line-soft); padding: 22px 0 26px; }
.footer-legal .container { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.footer-legal p { color: #7c86a0; font-size: 0.8rem; max-width: 105ch; }
.footer-legal .legal-links { display: flex; gap: 18px; font-size: 0.8rem; }

/* ---------- Floating bar (widget) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: linear-gradient(90deg, rgba(20, 12, 26, 0.97), rgba(33, 13, 20, 0.97), rgba(20, 12, 26, 0.97));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.floatbar-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--floatbar-h);
}
.floatbar-visual { flex: none; display: flex; align-items: center; }
.floatbar-text { min-width: 0; }
.floatbar-text strong { display: block; font-size: 1rem; }
.floatbar-text span { display: block; color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar-actions { margin-left: auto; display: flex; gap: 12px; flex: none; }

/* Mesin slot mini (CSS murni) */
.sv-machine {
  width: 64px; height: 46px; border-radius: 9px;
  background: linear-gradient(180deg, #232f52, #141c36);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}
.sv-machine::before {
  content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 5px; border-radius: 4px; background: var(--red);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.sv-reel {
  width: 13px; height: 26px; margin-top: 5px;
  background: linear-gradient(180deg, #fdf6e3, #e8dfc4);
  border-radius: 4px; overflow: hidden; position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.sv-strip {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  animation: sv-spin 2.6s linear infinite;
}
.sv-strip span {
  height: 26px; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; line-height: 1;
}
.sv-s7 { color: var(--red); }
.sv-sstar { color: var(--gold); }
.sv-sdia { color: var(--blue); }
.sv-reel:nth-child(2) .sv-strip { animation-duration: 3.1s; }
.sv-reel:nth-child(3) .sv-strip { animation-duration: 2.2s; }
@keyframes sv-spin {
  from { transform: translateY(0); }
  to { transform: translateY(-52px); }
}
.sv-coin {
  width: 17px; height: 17px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe9a3, var(--gold) 58%, #a86f05);
  border: 1px solid #8a5c04;
  display: flex; align-items: center; justify-content: center;
  color: #7a5003; font-size: 9px; font-weight: 900;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  animation: sv-bob 2.4s ease-in-out infinite;
}
.sv-coin.c2 { margin-left: -6px; animation-delay: 0.6s; }
@keyframes sv-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(10, 13, 22, 0.98); border-bottom: 1px solid var(--line);
    padding: 14px 20px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .header-search { display: none; margin: 8px 0 4px; }
  .header-search.open { display: flex; }
  .header-search.open input { flex: 1; width: auto; }
  .header-inner { position: relative; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .header-cta .btn-ghost { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --floatbar-h: 72px; }
  body { font-size: 15px; }
  .container { width: min(1180px, 100% - 28px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .floatbar-text span { display: none; }
  .floatbar-text strong { font-size: 0.9rem; }
  .sv-machine { width: 54px; height: 40px; }
  .sv-reel { width: 11px; height: 22px; }
  .sv-strip span { height: 22px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 26px 20px; }
  .auth-card { padding: 24px 20px; }
  .prose table { display: block; overflow-x: auto; }
}

@media (max-width: 420px) {
  .floatbar-text { display: none; }
  .floatbar-actions { margin-left: auto; }
  .floatbar-actions .btn { padding: 10px 16px; font-size: 0.85rem; }
  .btn { padding: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
