/* =====================================================================
   Kedai69 — Portal Informasi Game Online (kedai69.games)
   Tema: gelap dengan aksen merah, emas, hijau, biru | 18+ | informasi saja
   ===================================================================== */

/* ---------- Token & reset ---------- */
:root {
  --bg: #0b0e14;
  --bg-soft: #0e121b;
  --surface: #121826;
  --surface-2: #1a2334;
  --border: #263145;
  --red: #e63946;
  --red-dark: #b52234;
  --gold: #f6c445;
  --gold-dark: #d9a520;
  --green: #2fbd6b;
  --blue: #4c8dff;
  --text: #eef1f7;
  --muted: #a4aec3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 480px at 85% -180px, rgba(230, 57, 70, .14), transparent 62%),
    radial-gradient(900px 420px at -10% -140px, rgba(246, 196, 69, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  padding-bottom: calc(78px + env(safe-area-inset-bottom)); /* ruang float-bar */
}

img, svg, picture { max-width: 100%; display: block; }

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

ul, ol { list-style-position: inside; }

h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Utilitas ---------- */
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(860px, 100%); }

.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section-sm { padding: 2.2rem 0 3rem; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .045)); border-block: 1px solid rgba(38, 49, 69, .6); }
.section-security { background:
    radial-gradient(700px 300px at 110% 0, rgba(47, 189, 107, .1), transparent 60%),
    linear-gradient(180deg, rgba(47, 189, 107, .05), rgba(47, 189, 107, .02)); }
.section-article { background: linear-gradient(180deg, rgba(246, 196, 69, .04), transparent); }

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

.kicker {
  color: var(--gold); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .55rem;
}

.sec-head { max-width: 720px; margin-bottom: 2.2rem; }
.sec-head .sec-lead { color: var(--muted); margin-top: .8rem; }
.sec-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.link-more { margin-top: 1.6rem; font-weight: 600; }
.link-more a { color: var(--gold); }

/* ---------- Tombol, chip, badge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .78rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #17130a; box-shadow: 0 6px 18px rgba(246, 196, 69, .25); }
.btn-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 6px 18px rgba(230, 57, 70, .3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.chip {
  display: inline-flex; align-items: center; padding: .42rem .95rem;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--text);
}
a.chip:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.chip-static { font-size: .78rem; padding: .3rem .75rem; color: var(--gold); border-color: rgba(246, 196, 69, .35); background: rgba(246, 196, 69, .06); }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.badge { display: inline-block; padding: .22rem .7rem; border-radius: 8px; font-size: .78rem; font-weight: 700; }
.badge-outline { border: 1px solid var(--border); color: var(--muted); }

.tag {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: .86rem; font-weight: 600;
}
.tag:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.tag-label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 1.4rem 0 .7rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Daftar centang & catatan ---------- */
.check-list { list-style: none; margin-top: 1rem; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgba(47, 189, 107, .16); color: var(--green);
  font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.check-list.dark li::before { background: rgba(246, 196, 69, .16); color: var(--gold); }

.notice {
  margin-top: 1.4rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(76, 141, 255, .08); border: 1px solid rgba(76, 141, 255, .3);
  font-size: .9rem; color: var(--muted);
}
.notice strong { color: var(--text); }
.notice-warn { background: rgba(246, 196, 69, .07); border-color: rgba(246, 196, 69, .3); }
.notice-info { background: rgba(47, 189, 107, .07); border-color: rgba(47, 189, 107, .3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(11, 14, 20, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-name { font-size: 1.28rem; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--gold); }
a.brand:hover { text-decoration: none; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: .35rem; list-style: none; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: .93rem;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); background: rgba(246, 196, 69, .08); }

.nav-auth { display: none; }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 1rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; font-size: .84rem; }
.breadcrumb li { color: var(--muted); display: flex; align-items: center; gap: .15rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.crumb-sep { margin-inline: .45rem; color: var(--border); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.4rem, 5.5vw, 4.4rem) 0 clamp(2.6rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-copy h1 { font-size: clamp(1.75rem, 4vw, 2.7rem); margin-bottom: 1.1rem; }
.hero-lead { color: var(--muted); font-size: 1.04rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-note { margin-top: 1rem; font-size: .84rem; color: var(--muted); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.hero-media { position: relative; }
.hero-media .pic {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media .pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: #fff; font-weight: 800; font-size: .85rem;
  padding: .3rem .75rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .25);
  box-shadow: 0 6px 16px rgba(230, 57, 70, .4);
}

/* ---------- Kartu & bagian konten ---------- */
.adv-card, .sec-point, .review-card, .term {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.adv-card:hover, .sec-point:hover { border-color: rgba(246, 196, 69, .45); transform: translateY(-3px); }
.adv-card h3, .sec-point h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.adv-card p, .sec-point p { color: var(--muted); font-size: .93rem; }
.adv-num { color: var(--gold); font-weight: 800; font-size: .9rem; margin-bottom: .7rem; letter-spacing: .08em; }

.why-list { display: grid; gap: .9rem; max-width: 880px; }
.why-row {
  display: flex; gap: 1.1rem; padding: 1.15rem 1.3rem;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--red); border-radius: var(--radius-sm);
}
.why-num { color: var(--red); font-weight: 800; font-size: 1rem; min-width: 2.2rem; padding-top: .15rem; }
.why-row h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.why-row p { color: var(--muted); font-size: .93rem; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: center; }
.split-media .pic { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-media .pic img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .8rem; }

.review-card { display: flex; flex-direction: column; gap: 1rem; }
.review-card blockquote { color: var(--text); font-size: .95rem; }
.review-card figcaption { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .86rem; font-weight: 600; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--red-dark)); color: #10131c; font-weight: 800; font-size: .82rem;
}
.reviews-note { margin-top: 1.3rem; color: var(--muted); font-size: .82rem; }

.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.term { padding: 1.1rem 1.2rem; }
.term dt { color: var(--gold); font-weight: 700; margin-bottom: .35rem; }
.term dd { color: var(--muted); font-size: .92rem; }

/* ---------- Artikel ---------- */
.article { padding: 1.6rem 0 3.2rem; }
.article-head { max-width: 820px; margin-bottom: 1.8rem; }
.article-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: .3rem 0 .8rem; }
.article-meta { color: var(--muted); font-size: .85rem; }

.article-media { margin: 0 0 2rem; }
.article-media .pic { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-media .pic img { width: 100%; height: 100%; object-fit: cover; }
.section-article .article-media { margin-bottom: 1.8rem; }
.section-article .article-head h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin: .3rem 0 .8rem; }

.prose { max-width: 780px; }
.prose > * + * { margin-top: 1.05rem; }
.prose p { color: #cdd5e4; }
.prose h2 { font-size: 1.35rem; margin-top: 2.1rem; padding-bottom: .35rem; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.12rem; margin-top: 1.7rem; color: var(--gold); }
.prose ul, .prose ol { color: #cdd5e4; display: grid; gap: .5rem; padding-left: 1.2rem; list-style-position: outside; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgba(76, 141, 255, .5); }

.ordered-list { display: grid; gap: .6rem; margin-top: 1rem; }

/* Tabel ringkasan promo */
.promo-summary {
  max-width: 780px; margin: 0 0 2rem; background: var(--surface);
  border: 1px solid rgba(246, 196, 69, .3); border-radius: var(--radius); padding: 1.4rem;
}
.promo-summary h2 { font-size: 1.15rem; margin-bottom: .9rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: .8rem; padding-top: .8rem; }
th, td { text-align: left; padding: .68rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody th[scope="row"] { color: var(--gold); font-weight: 700; white-space: nowrap; }
tbody td { color: #cdd5e4; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }

/* Terkait */
.related { margin-top: 2.6rem; max-width: 880px; }
.related h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rel-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; color: var(--text);
}
.rel-card:hover { border-color: var(--gold); text-decoration: none; }
.rel-card h3 { font-size: .98rem; margin-bottom: .35rem; }
.rel-card p { color: var(--muted); font-size: .85rem; }

/* CTA band */
.cta-band-wrap { padding-top: 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(230, 57, 70, .16), rgba(246, 196, 69, .1));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 2rem;
}
.cta-band h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.cta-band p { color: var(--muted); font-size: .93rem; }
.cta-band-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Kartu promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin: 2.2rem 0; }
.promo-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: border-color .2s ease, transform .2s ease;
}
.promo-card:hover { border-color: var(--gold); transform: translateY(-4px); text-decoration: none; }
.promo-card .pic { aspect-ratio: 16/10; overflow: hidden; }
.promo-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-card:hover .pic img { transform: scale(1.04); }
.promo-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.promo-card-body h3 { font-size: 1.08rem; }
.promo-card-body p { color: var(--muted); font-size: .9rem; }
.link-arrow { color: var(--gold); font-weight: 700; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; font-size: .98rem;
  list-style: none; position: relative; padding-right: 2.4rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-weight: 800; font-size: 1.2rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-a { padding: .9rem 1.2rem 1rem; }
.faq-a p { color: var(--muted); font-size: .93rem; }

/* ---------- Halaman auth (daftar/login) ---------- */
.auth-wrap { padding: 1.8rem 0 3.6rem; }
.auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: start; }
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; margin: .25rem 0 .6rem; }
.auth-sub { color: var(--muted); font-size: .93rem; margin-bottom: 1.4rem; }
.auth-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text); }
.field input {
  padding: .78rem .95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
  font-size: .95rem; font-family: inherit; width: 100%;
}
.field input:focus { outline: 2px solid rgba(246, 196, 69, .55); outline-offset: 1px; border-color: var(--gold); }
.field-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.field-check input { margin-top: .28rem; accent-color: var(--gold); width: 1rem; height: 1rem; }
.auth-alt { margin-top: 1.2rem; font-size: .9rem; color: var(--muted); }
.auth-aside {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem;
}
.auth-aside h2 { font-size: 1.08rem; margin-bottom: .3rem; }
.auth-aside h2 + ul, .auth-aside h2 + .check-list { margin-bottom: 1.6rem; }
.plain-links { list-style: none; display: grid; gap: .5rem; margin-top: .6rem; }
.plain-links a { font-weight: 600; }

/* ---------- Pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; padding: 1rem;
  background: rgba(7, 9, 14, .82); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(720px, 100%); margin-top: clamp(2rem, 10vh, 6rem);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.search-head { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--border); }
.search-form { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }
.search-form svg { color: var(--muted); flex: none; }
.search-form input {
  flex: 1; min-width: 0; background: transparent; border: none; color: var(--text);
  font-size: 1.02rem; font-family: inherit; padding: .5rem 0;
}
.search-form input:focus { outline: none; }
.search-form.standalone {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .55rem .6rem .55rem 1.1rem; margin: .4rem 0 1rem;
}
.search-body { padding: 1.1rem 1.3rem 1.5rem; }
.search-results { margin-top: 1.2rem; display: grid; gap: .7rem; }
.search-results a {
  display: block; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .85rem 1rem; color: var(--text);
}
.search-results a:hover { border-color: var(--gold); text-decoration: none; }
.search-results .sr-title { font-weight: 700; font-size: .95rem; color: var(--gold); }
.search-results .sr-desc { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.page-results { margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 2rem; }
.footer-col h3 { font-size: .95rem; margin-bottom: .8rem; color: var(--gold); }
.footer-col ul { list-style: none; display: grid; gap: .45rem; }
.footer-col a { color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { color: var(--muted); font-size: .9rem; margin-top: .9rem; max-width: 34ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer-legal { border-top: 1px solid var(--border); padding: 1.2rem 0 1.4rem; }
.footer-legal p { color: var(--muted); font-size: .8rem; max-width: 1080px; }
.footer-legal p + p { margin-top: .35rem; }

/* ---------- Float bar (tanpa tombol tutup) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: linear-gradient(90deg, #10141f, #1b1524 55%, #241417);
  border-top: 1px solid rgba(246, 196, 69, .4);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .5);
  padding: .55rem 0 calc(.55rem + env(safe-area-inset-bottom));
}
.float-inner { display: flex; align-items: center; gap: 1rem; }
.float-visual { flex: none; display: flex; align-items: center; }
.float-text { color: var(--text); font-size: .9rem; font-weight: 600; flex: 1; min-width: 0; }
.float-actions { display: flex; gap: .55rem; flex: none; }

/* Animasi mesin slot & koin (halus, hormati reduced-motion) */
.slot-gfx .reel { animation: reelBob 2.6s ease-in-out infinite; }
.slot-gfx .reel:nth-child(3) { animation-delay: .35s; }
.slot-gfx .reel:nth-child(4) { animation-delay: .7s; }
.slot-gfx .sym { animation: symSpin 3.4s ease-in-out infinite; }
.slot-gfx .s2 { animation-delay: 1.7s; }
.slot-gfx .coin { animation: coinPop 2.2s ease-in-out infinite; transform-origin: center; }
.slot-gfx .c2 { animation-delay: .7s; }
.slot-gfx .c3 { animation-delay: 1.3s; }

@keyframes reelBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes symSpin {
  0%, 18% { transform: translateY(0); opacity: 1; }
  28%, 72% { transform: translateY(-9px); opacity: .85; }
  82%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes coinPop {
  0%, 100% { transform: translateY(0) scale(1); opacity: .9; }
  50% { transform: translateY(-3px) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .slot-gfx .reel, .slot-gfx .sym, .slot-gfx .coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Gambar ---------- */
.pic { width: 100%; background: var(--surface-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .main-nav a { padding: .5rem .6rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 1.8rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
    padding: .8rem 1.2rem 1.1rem;
  }
  body.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav .nav-auth { display: block; margin-top: .8rem; }
  .main-nav .nav-auth + .nav-auth { margin-top: .5rem; }
  .header-actions .btn-outline { display: none; } /* hemat ruang; Masuk tetap ada di menu seluler */

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .glossary { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; min-width: 9.5rem; }
  .float-text { display: none; }
  .float-actions { flex: 1; }
  .float-actions .btn { flex: 1; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .auth-card { padding: 1.4rem; }
  .promo-summary { padding: 1rem; }
  .why-row { flex-direction: column; gap: .3rem; }
}
