/* ============================================================
   Hadiah138 — Portal Informasi Game (Indonesia)
   Gaya bersih bergaya kasino: merah, putih, hijau, kuning, biru, hitam
   ============================================================ */

:root {
  --ink: #14141f;
  --ink-2: #1d1d2e;
  --ink-3: #262640;
  --red: #d21f3c;
  --red-dark: #a8162e;
  --red-soft: #fdeef0;
  --gold: #f2b90d;
  --gold-dark: #c79505;
  --gold-soft: #fff7e0;
  --green: #0d9668;
  --green-soft: #e8f7f0;
  --blue: #2456c8;
  --blue-soft: #edf2fd;
  --paper: #f6f7fb;
  --card: #ffffff;
  --line: #e6e7ef;
  --text: #26262e;
  --muted: #66667a;
  --shadow: 0 6px 24px rgba(20, 20, 40, 0.08);
  --shadow-lg: 0 14px 40px rgba(20, 20, 40, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  padding-bottom: 86px; /* ruang untuk bilah melayang di bawah */
}

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

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

h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); margin: 0 0 0.6em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 700; }

p { margin: 0 0 1em; overflow-wrap: break-word; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.45em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

section { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-white { background: #fff; }

.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); margin: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd54a; color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); }
.topbar { background: #0d0d16; color: #c9c9da; font-size: 0.78rem; }
.topbar .container { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }

.mainbar { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.mainbar .container { display: flex; align-items: center; gap: 20px; min-height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand .brand-num { color: var(--gold); }
.brand svg { width: 38px; height: 38px; flex: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: #e8e8f2;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(242, 185, 13, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-search { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: #e8e8f2; }
.icon-search:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.nav-toggle {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.nav-toggle-label {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  margin-left: auto;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; position: relative;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

@media (max-width: 1020px) {
  .nav-toggle-label { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column; align-items: stretch;
    padding: 10px 16px 16px; gap: 2px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .header-actions { margin-left: auto; }
  .nav-auth { display: block; color: var(--gold); font-weight: 700; }
}

@media (max-width: 640px) {
  .mainbar .container { gap: 10px; }
  .brand { font-size: 1.08rem; }
  .brand svg { width: 30px; height: 30px; }
  .icon-search { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.82rem; }
}

@media (max-width: 460px) {
  .header-actions { display: none; }
  .nav-toggle-label { margin-left: auto; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Hero beranda ---------- */
.hero { background: radial-gradient(1100px 500px at 85% -10%, rgba(242, 185, 13, 0.18), transparent 60%), linear-gradient(160deg, #1b1b2f 0%, var(--ink) 55%, #101018 100%); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { color: #cfcfe0; font-size: 1.06rem; max-width: 560px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.hero-chips .chip { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: #e9e9f4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; font-size: 0.83rem; color: #9a9ab2; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); border: 3px solid rgba(242, 185, 13, 0.55); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -14px; bottom: 18px;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 46px 0 54px; }
  .hero-badge { left: 10px; }
}

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700;
  background: var(--paper); color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 13px;
}
.chip-ok { background: var(--green-soft); color: var(--green); border-color: #bfe8d8; }
.chip-warn { background: var(--red-soft); color: var(--red-dark); border-color: #f3c2cb; }
.chip-info { background: var(--blue-soft); color: var(--blue); border-color: #c4d4f6; }

/* ---------- Kartu ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.icon-red { background: var(--red-soft); }
.icon-gold { background: var(--gold-soft); }
.icon-green { background: var(--green-soft); }
.icon-blue { background: var(--blue-soft); }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; font-size: 0.9rem; }

@media (max-width: 980px) {
  .cards-grid, .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cards-grid, .cards-grid.two, .cards-grid.four { grid-template-columns: 1fr; }
  section { padding: 42px 0; }
}

/* ---------- Daftar keunggulan ---------- */
.pros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; margin: 0; padding: 0; list-style: none; }
.pros li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.pros .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; margin-top: 2px;
}
@media (max-width: 760px) { .pros { grid-template-columns: 1fr; } }

/* ---------- Dua kolom ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Testimoni ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote-card .qmark { font-size: 2.6rem; line-height: 1; color: var(--gold); font-weight: 800; font-family: Georgia, serif; }
.quote-card blockquote { margin: 8px 0 16px; font-style: italic; color: var(--text); }
.quote-card .who { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.quote-card .who small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Kerangka bernomor ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius-sm); padding: 20px 16px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--gold); font-weight: 800;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.86rem; color: var(--muted); margin: 0; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Kotak catatan artikel ---------- */
.note, .warn, .okbox {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.note { background: var(--blue-soft); border-left: 4px solid var(--blue); }
.warn { background: var(--red-soft); border-left: 4px solid var(--red); }
.okbox { background: var(--green-soft); border-left: 4px solid var(--green); }
.note strong, .warn strong, .okbox strong { display: block; margin-bottom: 4px; }

/* ---------- Halaman artikel ---------- */
.page-hero { background: linear-gradient(160deg, #1b1b2f, var(--ink) 60%, #101018); color: #fff; padding: 30px 0 46px; }
.page-hero h1 { color: #fff; }
.page-hero .desc { color: #cfcfe0; max-width: 760px; font-size: 1.02rem; }
.page-hero .crumbs a { color: #b9b9cf; }
.page-hero .crumbs [aria-current] { color: #fff; }
.page-hero .crumbs li + li::before, .page-hero .crumbs li { color: #8f8fa8; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }

.article {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
  min-width: 0; max-width: 100%;
}
.article .figure { margin: 0 0 22px; }
.article .figure img { width: 100%; border-radius: var(--radius-sm); }
.article .figure figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; text-align: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }

.article-body h2 { margin-top: 1.9em; padding-bottom: 0.25em; border-bottom: 2px solid var(--line); }
.article-body h2:first-child { margin-top: 0.4em; }
.article-body h3 { margin-top: 1.5em; }
.article-body a { font-weight: 600; }
.article-body blockquote {
  margin: 1.4em 0; padding: 14px 20px;
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 8px; font-style: italic;
}

/* ---------- Sidebar ---------- */
.sidebar { min-width: 0; }
.sidebar .card { padding: 22px; margin-bottom: 22px; }
.sidebar h3 { font-size: 1.02rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; font-size: 0.92rem; }
.sidebar li:last-child { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink);
  padding: 16px 52px 16px 18px; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; transition: transform 0.15s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 18px 16px; color: var(--text); }

/* ---------- Kartu promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 780px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.promo-card .thumb { position: relative; }
.promo-card .thumb img { width: 100%; height: 200px; object-fit: cover; }
.promo-card .thumb .chip { position: absolute; top: 12px; left: 12px; background: rgba(20, 20, 31, 0.85); color: #ffd54a; border-color: transparent; }
.promo-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card h3 { margin: 0; }
.promo-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.promo-card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-card .more { margin-top: auto; align-self: flex-start; }

/* ---------- Tabel syarat ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 20px 0; background: #fff; }
table.terms { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.92rem; }
table.terms th, table.terms td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { font-weight: 700; color: var(--ink); background: var(--paper); width: 200px; }

/* ---------- Formulir ---------- */
.auth-wrap { max-width: 520px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 40px); }
.auth-card form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fff;
}
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(210, 31, 60, 0.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--red); }
.form-note { font-size: 0.8rem; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; }
.auth-alt { text-align: center; font-size: 0.92rem; margin-top: 18px; }

/* ---------- Pencarian ---------- */
.search-hero { text-align: center; }
.search-box { display: flex; max-width: 640px; margin: 18px auto 10px; background: #fff; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: var(--shadow); }
.search-box:focus-within { border-color: var(--gold); }
.search-box input { flex: 1; border: 0; padding: 14px 22px; font: inherit; min-width: 0; }
.search-box input:focus { outline: none; }
.search-box button { border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 700; padding: 0 26px; cursor: pointer; }
.search-box button:hover { background: var(--red-dark); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.tag-cloud a {
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px;
}
.tag-cloud a:hover { border-color: var(--gold); background: var(--gold-soft); text-decoration: none; }
.result-list { display: grid; gap: 14px; max-width: 760px; margin: 30px auto 0; text-align: left; }
.result-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow); }
.result-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.result-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.result-empty { text-align: center; color: var(--muted); padding: 30px 10px; }

/* ---------- Pita CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--ink-2), var(--ink) 65%, #101018); color: #fff; border-radius: var(--radius); padding: 38px clamp(22px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.cta-band p { color: #cfcfe0; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b9cf; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 48px 0 34px; }
.footer-grid h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-grid a { color: #b9b9cf; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.footer-brand .brand-num { color: var(--gold); }
.footer-brand svg { width: 34px; height: 34px; }
.footer-desc { font-size: 0.88rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 8px;
  border: 2px solid var(--red); color: #ff8fa1; border-radius: 10px;
  font-weight: 800; font-size: 0.9rem;
}
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0; font-size: 0.8rem; color: #8f8fa8; }
.footer-legal p { margin: 0 0 8px; }
.footer-legal p:last-child { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Bilah melayang bawah (mesin slot + koin emas) ---------- */
.fx-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: linear-gradient(180deg, #23233a, var(--ink) 45%, #0e0e17);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}
.fx-bar .container { display: flex; align-items: center; gap: 16px; min-height: 70px; position: relative; }

.fx-slot { display: flex; gap: 5px; padding: 7px; background: #0b0b12; border: 2px solid #3a3a55; border-radius: 12px; flex: none; }
.fx-reel {
  width: 26px; height: 30px; overflow: hidden; border-radius: 6px;
  background: linear-gradient(180deg, #fff3cf, #ffe08a 30%, #f7c948 55%, #d99e06);
  display: block; position: relative;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.28);
}
.fx-reel .strip { display: flex; flex-direction: column; animation: fx-spin 7s linear infinite; }
.fx-reel .strip span { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
.fx-reel:nth-child(2) .strip { animation-duration: 9s; }
.fx-reel:nth-child(3) .strip { animation-duration: 8s; animation-direction: reverse; }
@keyframes fx-spin {
  from { transform: translateY(0); }
  to { transform: translateY(-150px); }
}

.fx-info { line-height: 1.25; min-width: 0; }
.fx-info strong { display: block; color: #fff; font-size: 0.98rem; white-space: nowrap; }
.fx-info small { color: var(--gold); font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.fx-actions { margin-left: auto; display: flex; gap: 10px; flex: none; }

.fx-coin {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe27a, #f2b90d 55%, #b8860b);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0.9;
}
.fx-coin::after {
  content: "$"; position: inset 0; display: flex; align-items: center; justify-content: center;
  color: #8a6503; font-size: 11px; font-weight: 800;
}
.fx-coin.c1 { width: 20px; height: 20px; right: 218px; top: 6px; }
.fx-coin.c2 { width: 14px; height: 14px; right: 196px; top: 24px; opacity: 0.75; }
.fx-coin.c3 { width: 16px; height: 16px; left: 12px; top: -8px; opacity: 0.6; }

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .fx-bar .container { gap: 10px; min-height: 62px; padding-top: 6px; padding-bottom: 6px; }
  .fx-slot { padding: 5px; gap: 4px; }
  .fx-reel { width: 21px; height: 24px; }
  .fx-reel .strip span { height: 24px; font-size: 14px; }
  .fx-info strong { font-size: 0.86rem; }
  .fx-info small { font-size: 0.66rem; }
  .fx-coin.c1, .fx-coin.c2 { display: none; }
  .fx-actions .btn { padding: 9px 16px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx-reel .strip { animation: none; }
  .btn:hover { transform: none; }
  * { transition: none !important; animation-duration: 0.01ms !important; }
}

/* ---------- Util ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink); padding: 10px 18px; font-weight: 800; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
