/* ============================================================
   Mabar69 — mabar69.games
   Gaya: portal informasi kasino — bersih, gelap, aksen emas
   ============================================================ */

:root {
  --bg: #0b0f1a;
  --bg-soft: #0f1526;
  --card: #131b2e;
  --card-2: #182238;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #f2c14e;
  --gold-2: #e0a92e;
  --gold-deep: #b8860b;
  --red: #e5484d;
  --red-deep: #c73338;
  --green: #34c98e;
  --blue: #4c8dff;
  --text: #e9eef9;
  --muted: #a4afc6;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --bar-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { padding-left: 1.25rem; }

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

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #221a04; box-shadow: 0 6px 18px rgba(242, 193, 78, 0.25);
}
.btn-gold:hover { box-shadow: 0 10px 24px rgba(242, 193, 78, 0.35); }
.btn-red {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(229, 72, 77, 0.25);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #221a04; font-weight: 800; font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.brand-text { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; color: var(--text); }
.brand-text em { font-style: normal; color: var(--gold); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.header-cta { display: flex; gap: 10px; margin-left: auto; }
.main-nav a {
  padding: 9px 13px; border-radius: 10px; color: var(--muted);
  font-weight: 600; font-size: 0.92rem;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(242, 193, 78, 0.1); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 20px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.55) 0%, rgba(11, 15, 26, 0.88) 62%, var(--bg) 100%);
}
.hero-inner { position: relative; padding: 64px 20px 72px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.35);
  color: var(--gold); font-size: 0.8rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.2; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin: 16px 0 26px; color: var(--muted); font-size: 1.02rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-card {
  background: linear-gradient(170deg, rgba(24, 34, 56, 0.92), rgba(15, 21, 38, 0.95));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.hero-card li::before { content: "✓"; color: var(--green); font-weight: 800; flex: 0 0 auto; }
.hero-card li strong { color: var(--text); }

/* ---------- Bagian umum ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  color: var(--gold); font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.3; }
.section-head p { color: var(--muted); margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 193, 78, 0.4); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
  background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.3);
}
.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card .more { display: inline-block; margin-top: 12px; font-size: 0.86rem; font-weight: 700; }

/* Kartu daftar (kategori / artikel / promosi) */
.list-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.list-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.list-card:hover { transform: translateY(-4px); border-color: rgba(242, 193, 78, 0.4); }
.list-card figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin: 0; }
.list-card figure img { width: 100%; height: 100%; object-fit: cover; }
.list-tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(11, 15, 26, 0.82); border: 1px solid rgba(242, 193, 78, 0.45);
  color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.list-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.list-card h3 { font-size: 1rem; line-height: 1.4; }
.list-card h3 a { color: var(--text); }
.list-card h3 a:hover { color: var(--gold); }
.list-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.list-card time { font-size: 0.78rem; color: var(--muted); }

/* ---------- Artikel / prose ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding: 34px 0 64px; }
.prose h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.25; margin-bottom: 12px; }
.prose .lead { color: var(--muted); font-size: 1.05rem; }
.prose figure.hero-figure { margin: 22px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prose figure.hero-figure figcaption { font-size: 0.8rem; color: var(--muted); padding: 10px 4px 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.prose h2 { font-size: 1.35rem; margin: 34px 0 12px; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.35; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--gold); }
.prose p { margin: 12px 0; color: #cfd7e8; }
.prose ul, .prose ol { margin: 12px 0; color: #cfd7e8; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 20px 0; padding: 16px 20px; border-radius: 12px;
  background: rgba(76, 141, 255, 0.08); border: 1px solid rgba(76, 141, 255, 0.25);
  color: #c9d8f7; font-style: italic;
}
.prose .table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.prose th { background: var(--card-2); text-align: left; padding: 12px 14px; color: var(--gold); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); color: #cfd7e8; vertical-align: top; }
.notice {
  margin: 20px 0; padding: 16px 18px; border-radius: 12px;
  background: rgba(52, 201, 142, 0.07); border: 1px solid rgba(52, 201, 142, 0.3);
  font-size: 0.92rem; color: #c6e9da;
}
.notice strong { color: var(--green); }
.notice-warn { background: rgba(229, 72, 77, 0.07); border-color: rgba(229, 72, 77, 0.32); color: #f3d1d2; }
.notice-warn strong { color: var(--red); }
.article-share { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 86px; align-self: start; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h2 { font-size: 1rem; margin-bottom: 14px; }
.side-card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.side-card li a { color: #cfd7e8; font-size: 0.9rem; display: block; }
.side-card li a:hover { color: var(--gold); }
.side-card li span { display: block; font-size: 0.76rem; color: var(--muted); }
.side-cta {
  background: linear-gradient(165deg, rgba(242, 193, 78, 0.14), rgba(242, 193, 78, 0.04));
  border: 1px solid rgba(242, 193, 78, 0.35);
}
.side-cta p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Langkah / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-size: 1.5rem; font-weight: 800; color: rgba(242, 193, 78, 0.22);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Ulasan ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 0.9rem; }
.review blockquote { margin: 0; font-size: 0.93rem; color: #cfd7e8; font-style: normal; }
.review footer { font-size: 0.8rem; color: var(--muted); }
.review footer strong { color: var(--text); }
.reviews-note { margin-top: 16px; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 46rem; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 0; overflow: hidden;
}
.faq details[open] { border-color: rgba(242, 193, 78, 0.4); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-weight: 700; font-size: 0.96rem; display: flex;
  justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 600;
  transition: transform 0.2s ease; flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(242, 193, 78, 0.14), transparent 60%),
    radial-gradient(700px 260px at 85% 100%, rgba(229, 72, 77, 0.12), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band-inner { padding: 54px 20px; text-align: center; }
.cta-band h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 40rem; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Tag cloud & pencarian ---------- */
.search-box { display: flex; gap: 12px; margin: 0 auto 26px; max-width: 40rem; }
.search-box input {
  flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.search-box input:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: transparent; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tag-cloud a {
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.search-empty { display: none; text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 36px; padding: 40px 0 70px; align-items: start; }
.auth-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 0.86rem; 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: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--text);
  font-size: 0.98rem; font-family: inherit;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.field-check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 auto; }
.form-note {
  font-size: 0.8rem; color: var(--muted); margin-top: 16px;
  padding: 12px 14px; border-radius: 10px; background: var(--bg-soft);
  border: 1px solid var(--line);
}
.auth-side figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; }
.auth-side h2 { font-size: 1.15rem; margin-bottom: 10px; }
.auth-side p { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 14px; }
.auth-side li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.auth-side li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Promosi ---------- */
.promo-terms { list-style: none; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.promo-terms li { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.promo-terms li:first-child { border-top: 0; }
.promo-terms li strong { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.promo-terms li span { color: #cfd7e8; }
@media (max-width: 620px) {
  .promo-terms li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #080c15; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px;
  padding-top: 48px; padding-bottom: 40px;
}
.footer-about p { color: var(--muted); font-size: 0.88rem; margin-top: 16px; }
.footer-note strong { color: var(--gold); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  font-size: 0.72rem; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px;
}
.badge-18 { background: rgba(229, 72, 77, 0.15); border: 1px solid rgba(229, 72, 77, 0.5); color: #ff8f93; }
.badge-rg { background: rgba(52, 201, 142, 0.12); border: 1px solid rgba(52, 201, 142, 0.45); color: #6fdcae; }
.footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.footer-legal p { color: #7c879e; font-size: 0.78rem; margin: 6px 0; }
/* ruang floating bar diletakkan DI DALAM footer agar tidak ada
   blok kosong tambahan di bawah footer */
.footer-legal { padding-bottom: calc(var(--bar-h) + 22px); }

/* ---------- Floating bar (slot + koin) ---------- */
.floating-bar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 150; width: min(660px, calc(100% - 20px));
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, #141d33 0%, #1b2540 55%, #141d33 100%);
  border: 1px solid rgba(242, 193, 78, 0.5);
  border-radius: 20px; padding: 10px 14px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 26px rgba(242, 193, 78, 0.12);
}
.fb-machine {
  position: relative; display: flex; gap: 4px; padding: 5px;
  background: linear-gradient(180deg, #2a3452 0%, #1f2941 100%);
  border: 1px solid rgba(242, 193, 78, 0.45); border-radius: 12px;
}
.fb-machine::before, .fb-machine::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8 0%, var(--gold) 45%, #a97b12 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}
.fb-machine::before { top: -7px; left: -6px; animation: coinBob 2.2s ease-in-out infinite; }
.fb-machine::after { bottom: -6px; right: -6px; animation: coinBob 2.8s ease-in-out infinite 0.4s; }
.fb-reel {
  display: flex; flex-direction: column; width: 24px; height: 24px;
  overflow: hidden; border-radius: 5px; background: #0b0f1a;
}
.fb-reel i { font-style: normal; font-size: 14px; line-height: 24px; width: 24px; text-align: center; }
.fb-r1 { animation: reelSpin 1.6s steps(5, end) infinite; }
.fb-r2 { animation: reelSpin 2.1s steps(5, end) infinite 0.25s; }
.fb-r3 { animation: reelSpin 2.6s steps(5, end) infinite 0.5s; }
@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}
@keyframes coinBob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-5px) rotate(8deg); }
}
.fb-copy { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; min-width: 0; }
.fb-copy strong { font-size: 0.95rem; color: var(--gold); letter-spacing: 0.02em; }
.fb-copy span { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fb-btn:hover { text-decoration: none; transform: translateY(-2px); }
.fb-btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #221a04; box-shadow: 0 5px 16px rgba(242, 193, 78, 0.3);
}
.fb-btn-line { background: transparent; color: var(--text); border: 2px solid rgba(255, 255, 255, 0.3); }
.fb-btn-line:hover { border-color: var(--gold); color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .fb-r1, .fb-r2, .fb-r3, .fb-machine::before, .fb-machine::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #0d1322; border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; flex-direction: column; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .header-cta .btn-ghost { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 20px 52px; }
  .hero-card { max-width: 30rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .header-inner { gap: 12px; }
  .header-cta .btn-gold { display: none; }
  .section { padding: 44px 0; }
  .floating-bar { gap: 10px; padding: 9px 12px; border-radius: 16px; bottom: 10px; }
  .fb-copy { display: none; }
  .fb-reel { width: 20px; height: 20px; }
  .fb-reel i { font-size: 11px; line-height: 20px; width: 20px; }
  @keyframes reelSpin { from { transform: translateY(0); } to { transform: translateY(-100px); } }
  .fb-btn { padding: 10px 16px; font-size: 0.82rem; }
  :root { --bar-h: 64px; }
  .auth-card { padding: 24px 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
