/* ============================================================
   Duniaslot77 — Portal Informasi Slot & Casino Online (18+)
   Tema: merah · putih · hijau · kuning emas · biru · hitam
   ============================================================ */
:root {
  --red: #d31245;
  --red-deep: #9c0c33;
  --red-soft: #fdeef3;
  --gold: #ffc531;
  --gold-2: #ff9d00;
  --gold-soft: #fff6df;
  --green: #0f9d58;
  --green-deep: #0b7a44;
  --green-soft: #e9f8f0;
  --blue: #1e6fd9;
  --blue-deep: #14549f;
  --blue-soft: #eaf2fd;
  --ink: #14101f;
  --ink-2: #1d1730;
  --ink-3: #251d3d;
  --text: #2a2438;
  --muted: #6b6580;
  --line: #e7e3f0;
  --paper: #ffffff;
  --paper-2: #f8f6f1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 16, 31, .10);
  --shadow-lg: 0 18px 50px rgba(20, 16, 31, .18);
  --grad-gold: linear-gradient(135deg, #ffd76a 0%, #ffc531 45%, #ff9d00 100%);
  --grad-red: linear-gradient(135deg, #e0154f 0%, #d31245 55%, #9c0c33 100%);
  --grad-green: linear-gradient(135deg, #22c06f 0%, #0f9d58 60%, #0b7a44 100%);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.25rem); }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-size: .98rem; font-weight: 800; letter-spacing: .3px;
  text-decoration: none; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); }
.btn-gold { background: var(--grad-gold); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 157, 0, .45); }
.btn-red { background: var(--grad-red); color: #fff; box-shadow: 0 6px 18px rgba(211, 18, 69, .4); }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: 0 6px 18px rgba(15, 157, 88, .4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .75); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30, 111, 217, .35); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 16, 31, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 197, 49, .25);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 1.15rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .brand-chip {
  width: 40px; height: 40px; border-radius: 10px; background: var(--grad-gold);
  display: grid; place-items: center; color: var(--ink); font-size: .82rem; font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(20, 16, 31, .18);
}
.brand b { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: #efeaf7; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(255, 197, 49, .14); color: var(--gold); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 197, 49, .12); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background .15s ease;
}
.icon-btn:hover { background: rgba(255, 197, 49, .2); text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font-size: 1.2rem; line-height: 1;
}
.age-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 5px 12px;
}
.age-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero (beranda) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(20, 16, 31, .78), rgba(20, 16, 31, .92)), url("../img/hero.jpg") center 38% / cover no-repeat;
}
.hero-inner { padding: clamp(56px, 9vw, 108px) 20px clamp(48px, 7vw, 84px); max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  background: rgba(255, 197, 49, .14); border: 1px solid rgba(255, 197, 49, .5); color: var(--gold);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.15rem); color: #e9e4f2; max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
  color: #efeaf7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 13px; border-radius: 999px;
}
.hero-chip svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2.2; }

/* ---------- Hero halaman dalam ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(20, 16, 31, .82), rgba(20, 16, 31, .95)), url("../img/hero.jpg") center 40% / cover no-repeat;
  padding: clamp(38px, 6vw, 64px) 0 clamp(34px, 5vw, 56px);
}
.page-hero h1 { color: #fff; margin: 10px 0 12px; }
.page-hero .lead { color: #e9e4f2; max-width: 720px; font-size: 1.02rem; margin: 0; }
.page-hero.page-hero-sm { padding: clamp(30px, 5vw, 48px) 0; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .84rem; color: #cfc8de; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--gold); font-weight: 800; }
.crumbs a { color: #d9d3e6; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current="page"] { color: var(--gold); font-weight: 700; }

/* ---------- Bagian umum ---------- */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink-2); color: #d9d3e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--red); background: var(--red-soft); border: 1px solid rgba(211, 18, 69, .25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.kicker.k-gold { color: #8a5a00; background: var(--gold-soft); border-color: rgba(255, 157, 0, .35); }
.kicker.k-green { color: var(--green-deep); background: var(--green-soft); border-color: rgba(15, 157, 88, .3); }
.kicker.k-blue { color: var(--blue-deep); background: var(--blue-soft); border-color: rgba(30, 111, 217, .3); }
.section-dark .kicker { color: var(--gold); background: rgba(255, 197, 49, .1); border-color: rgba(255, 197, 49, .4); }
.section-head .lead { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section-dark .section-head .lead { color: #cfc8de; }

/* ---------- Kartu keunggulan ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.4rem; background: var(--red-soft); color: var(--red);
}
.card .icon.i-gold { background: var(--gold-soft); color: var(--gold-2); }
.card .icon.i-green { background: var(--green-soft); color: var(--green); }
.card .icon.i-blue { background: var(--blue-soft); color: var(--blue); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Kartu promosi ---------- */
.promo-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-thumb { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-tag {
  position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; color: var(--ink); background: var(--grad-gold);
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(20, 16, 31, .3);
}
.promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { margin: 0; }
.promo-body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.promo-mini { font-size: .8rem; color: var(--muted); background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.promo-mini strong { color: var(--text); }

/* ---------- Daftar centang ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-size: .8rem; font-weight: 900; margin-top: 3px;
}
.check-list li b { display: block; color: var(--ink); }
.check-list li span { color: var(--muted); font-size: .94rem; }

/* ---------- Panel gambar + teks ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.split .frame img { width: 100%; object-fit: cover; }
.frame-note {
  position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(20, 16, 31, .82);
  color: #fff; font-size: .82rem; padding: 10px 14px; border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* ---------- Pembayaran ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay-badge {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: 0 4px 14px rgba(20, 16, 31, .06);
}
.pay-badge .pay-kind { font-size: .72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.pay-badge .pay-names { font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.5; }

/* ---------- Testimoni ---------- */
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.testi .stars { color: var(--gold-2); letter-spacing: 3px; font-size: .95rem; }
.testi blockquote { margin: 0; color: var(--text); font-size: .95rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .9rem;
}
.testi .who b { display: block; color: var(--ink); font-size: .92rem; }
.testi .who span { font-size: .8rem; color: var(--muted); }
.testi-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 22px; }

/* ---------- Kalkulator rencana main ---------- */
.planner {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(255, 197, 49, .3); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px); color: #d9d3e6; box-shadow: var(--shadow-lg);
}
.planner h3 { color: #fff; }
.planner .field { margin-bottom: 16px; }
.planner label { display: block; font-weight: 700; font-size: .88rem; color: #efeaf7; margin-bottom: 7px; }
.planner input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07); color: #fff; font-family: var(--font); font-size: 1rem;
}
.planner input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.planner-result {
  margin-top: 18px; background: rgba(255, 197, 49, .1); border: 1px dashed rgba(255, 197, 49, .5);
  border-radius: var(--radius-sm); padding: 18px;
}
.planner-result .big { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 900; color: var(--gold); }
.planner-result p { margin: 6px 0 0; font-size: .88rem; color: #cfc8de; }
.planner-tip { font-size: .82rem; color: #9d96b3; margin-top: 14px; }

/* ---------- Artikel / prosa ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--red); }
.prose h3 { margin-top: 1.4em; color: var(--red-deep); }
.prose p, .prose li { color: var(--text); font-size: 1.01rem; }
.prose figure { margin: 26px 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.article-meta .dot { color: var(--gold-2); }
.note-box {
  background: var(--blue-soft); border-left: 5px solid var(--blue); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: .93rem; color: #1c3a63; margin: 18px 0;
}
.note-box.warn { background: var(--red-soft); border-left-color: var(--red); color: #6d0b26; }
.note-box.good { background: var(--green-soft); border-left-color: var(--green); color: #0b4d2c; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 18px; box-shadow: 0 4px 14px rgba(20, 16, 31, .05);
}
.faq-list summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 34px 14px 0; position: relative;
  list-style: none; font-size: .99rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); font-weight: 900; transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-list details p { color: var(--muted); font-size: .94rem; margin: 0; padding: 0 0 16px; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700;
  color: var(--text); background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; box-shadow: 0 3px 10px rgba(20, 16, 31, .05);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.tag-cloud a::before { content: "#"; color: var(--gold-2); font-weight: 800; }
.tag-cloud a:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--red); text-decoration: none; }
.tag-cloud a.hot::after {
  content: "🔥"; font-size: .8rem;
}
.section-dark .tag-cloud a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #efeaf7; }
.section-dark .tag-cloud a:hover { border-color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-red); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 197, 49, .25), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(255, 255, 255, .14), transparent 45%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe9f0; max-width: 620px; margin: 0 auto 22px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b2c9; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 34px;
  padding: clamp(44px, 6vw, 70px) 20px 40px;
}
.footer-grid h3 { color: #fff; font-size: 1rem; letter-spacing: .5px; margin-bottom: 16px; }
.footer-grid p { font-size: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #cfc8de; font-size: .9rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 1.05rem; margin-bottom: 14px; }
.footer-brand .brand-chip {
  width: 36px; height: 36px; border-radius: 9px; background: var(--grad-gold);
  display: grid; place-items: center; color: var(--ink); font-size: .76rem; font-weight: 900;
}
.footer-18 {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  border: 1px solid rgba(255, 197, 49, .5); color: var(--gold); border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: .82rem;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 20px 120px; font-size: .8rem; color: #8f88a5; text-align: center;
}
.footer-legal p { max-width: 900px; margin: 0 auto 8px; }

/* ---------- Floating CTA (gaya mesin slot) ---------- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 1200;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(160deg, #241c3b, #14101f 70%);
  border: 1.5px solid var(--gold); border-radius: 999px;
  padding: 8px 10px; box-shadow: 0 14px 38px rgba(20, 16, 31, .55), 0 0 0 1px rgba(255, 197, 49, .15);
}
.float-reels { display: flex; gap: 5px; margin-right: 2px; }
.reel {
  width: 30px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 1.02rem;
  background: linear-gradient(#fff8e6, #ffe7ad); border: 1.5px solid #e3b84e;
  box-shadow: inset 0 -6px 10px rgba(160, 110, 0, .25);
  animation: reelSpin 2.4s ease-in-out infinite;
}
.reel.r2 { animation-delay: .3s; }
.reel.r3 { animation-delay: .6s; }
@keyframes reelSpin {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: saturate(1); }
  25% { transform: translateY(-4px) rotate(-8deg); filter: saturate(1.6) brightness(1.12); }
  50% { transform: translateY(2px) rotate(6deg); }
  75% { transform: translateY(-2px) rotate(-4deg); filter: brightness(1.1); }
}
.fbtn {
  position: relative; overflow: hidden; border-radius: 999px; padding: 11px 22px;
  font-family: var(--font); font-weight: 900; font-size: .95rem; letter-spacing: 1px;
  text-decoration: none; white-space: nowrap; line-height: 1;
  box-shadow: 0 6px 16px rgba(20, 16, 31, .45);
  transition: transform .15s ease, filter .15s ease;
}
.fbtn:hover { text-decoration: none; transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.fbtn-gold { background: var(--grad-gold); color: var(--ink); }
.fbtn-green { background: var(--grad-green); color: #fff; }
.fbtn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); animation: shine 2.6s ease-in-out infinite;
}
.fbtn-green::after { animation-delay: 1.1s; }
@keyframes shine { 0%, 55% { left: -80%; } 85%, 100% { left: 130%; } }
.coin {
  position: absolute; font-size: .95rem; opacity: 0; pointer-events: none; z-index: -1;
  animation: coinUp 3.2s ease-in infinite;
}
.coin.c1 { left: 16%; bottom: 6px; animation-delay: 0s; }
.coin.c2 { left: 46%; bottom: 4px; animation-delay: 1.1s; font-size: .8rem; }
.coin.c3 { left: 74%; bottom: 6px; animation-delay: 2.1s; font-size: .88rem; }
@keyframes coinUp {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  18% { opacity: .95; }
  55% { opacity: .75; }
  100% { opacity: 0; transform: translateY(-92px) rotate(340deg); }
}
@media (prefers-reduced-motion: reduce) {
  .reel, .fbtn::after, .coin { animation: none; }
  .coin { display: none; }
}

/* ---------- Form daftar/masuk ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 40px);
}
.form-card h2 { margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: var(--font); font-size: .98rem; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 18px 0; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.auth-side .benefit { display: flex; gap: 12px; margin-bottom: 18px; }
.auth-side .benefit .icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.15rem; background: var(--gold-soft); color: var(--gold-2);
}

/* ---------- Tabel responsif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.tbl th { background: var(--ink-2); color: #fff; text-align: left; padding: 13px 16px; font-size: .85rem; letter-spacing: .4px; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text); }
.tbl tr:nth-child(even) td { background: var(--paper-2); }

/* ---------- Pencarian ---------- */
.search-box { display: flex; gap: 10px; margin-bottom: 26px; }
.search-box input {
  flex: 1; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--font); font-size: 1rem; background: #fff; color: var(--text);
}
.search-box input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.search-result { display: flex; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.search-result .s-kind { font-size: .72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.search-result h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.search-result p { margin: 0; color: var(--muted); font-size: .9rem; }
.search-empty { color: var(--muted); text-align: center; padding: 30px 0; }

/* ---------- Langkah / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: 0 4px 14px rgba(20, 16, 31, .05); }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-red); color: #fff; font-weight: 900; font-size: .95rem;
}
.step b { display: block; color: var(--ink); margin-bottom: 3px; }
.step span { color: var(--muted); font-size: .93rem; }

/* ---------- Ponsel mock ---------- */
.phone-mock { position: relative; width: min(280px, 78%); margin-inline: auto; aspect-ratio: 9 / 17.5; border-radius: 34px; background: var(--ink); border: 3px solid #332b52; box-shadow: var(--shadow-lg); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone-mock .notch { width: 84px; height: 16px; border-radius: 999px; background: #332b52; margin: 0 auto 4px; }
.phone-mock .app-bar { display: flex; align-items: center; justify-content: space-between; }
.phone-mock .app-bar .logo-chip { width: 26px; height: 26px; border-radius: 7px; background: var(--grad-gold); display: grid; place-items: center; font-size: .6rem; font-weight: 900; color: var(--ink); }
.phone-mock .app-bar .menu { display: flex; flex-direction: column; gap: 3px; }
.phone-mock .app-bar .menu span { width: 18px; height: 2.5px; background: #fff8e6; border-radius: 2px; }
.phone-mock .game-tile { border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; min-height: 62px; }
.phone-mock .g1 { background: linear-gradient(140deg, #5b0f2e, #d31245); }
.phone-mock .g2 { background: linear-gradient(140deg, #7a4a00, #ffc531); }
.phone-mock .g3 { background: linear-gradient(140deg, #063f26, #0f9d58); }
.phone-mock .g4 { background: linear-gradient(140deg, #0b2f6b, #1e6fd9); }
.phone-mock .tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.phone-mock .phone-cta { background: var(--grad-gold); border-radius: 999px; text-align: center; padding: 10px 0; font-weight: 900; font-size: .85rem; color: var(--ink); }
.phone-glow { position: absolute; inset: -8%; background: radial-gradient(circle at 50% 40%, rgba(255, 197, 49, .18), transparent 60%); z-index: -1; }

/* ---------- Utilitas ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700;
  border-radius: 999px; padding: 7px 14px; background: var(--paper); border: 1px solid var(--line); color: var(--text);
}
.pill.p-red { background: var(--red-soft); border-color: rgba(211, 18, 69, .25); color: var(--red-deep); }
.pill.p-gold { background: var(--gold-soft); border-color: rgba(255, 157, 0, .3); color: #8a5a00; }
.pill.p-green { background: var(--green-soft); border-color: rgba(15, 157, 88, .3); color: var(--green-deep); }
.pill.p-blue { background: var(--blue-soft); border-color: rgba(30, 111, 217, .3); color: var(--blue-deep); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid rgba(255, 197, 49, .25);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 18px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 1rem; }
  .split, .auth-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .header-actions .btn-outline { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .float-cta { gap: 8px; padding: 7px 9px; bottom: 10px; width: calc(100% - 24px); justify-content: center; }
  .float-reels { display: none; }
  .fbtn { flex: 1 1 auto; text-align: center; padding: 12px 16px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 30px; }
  .footer-legal { padding-bottom: 118px; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .search-box { flex-direction: column; }
  .search-box .btn { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand .brand-chip { width: 36px; height: 36px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .icon-btn, .nav-toggle { width: 38px; height: 38px; }
  .btn-sm { padding: 8px 13px; font-size: .84rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .fbtn { padding: 12px 12px; font-size: .9rem; }
  .hero-cta { gap: 10px; }
}
@media (max-width: 360px) {
  .grid-4 { grid-template-columns: 1fr; }
  .pay-grid { gap: 10px; }
}
@media (max-width: 340px) {
  .header-actions .icon-btn,
  .header-actions .btn { display: none; }
}
