/* ============================================================
   Ingatbola88 — style.css
   Tema: merah / putih / hijau / kuning / biru / hitam
   Responsif penuh (360px tanpa overflow horizontal)
   ============================================================ */

:root {
  --red: #d31145;
  --red-deep: #a30d33;
  --ink: #121217;
  --coal: #1b1b22;
  --paper: #ffffff;
  --cream: #faf7f1;
  --gold: #f2b705;
  --gold-deep: #c89304;
  --green: #0e8a3e;
  --green-deep: #0a6330;
  --blue: #1c50c2;
  --blue-deep: #12327e;
  --line: #e9e3d8;
  --mut: #5d616b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 18, 23, .10);
  --shadow-lg: 0 18px 46px rgba(18, 18, 23, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* ---------- Topbar berjalan ---------- */
.topbar {
  background: var(--ink);
  color: #f4efe4;
  font-size: .78rem;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
}
.topbar-track {
  display: inline-flex;
  gap: 42px;
  padding: 7px 0;
  animation: ticker 38s linear infinite;
}
.topbar-track span { display: inline-flex; align-items: center; gap: 6px; }
.topbar b { color: var(--gold); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(18, 18, 23, .06);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: .2px;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 900;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 10px rgba(211, 17, 69, .35);
}
.logo b { color: var(--red); }
.logo small { display: block; font-size: .58rem; font-weight: 600; color: var(--mut); letter-spacing: 2.5px; }

.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0; margin: 0;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .88rem;
}
.main-nav a:hover { background: var(--cream); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--red); background: #fdeef2; }

.header-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-red { background: linear-gradient(145deg, var(--red), var(--red-deep)); color: #fff; box-shadow: 0 6px 16px rgba(211, 17, 69, .35); }
.btn-gold { background: linear-gradient(145deg, var(--gold), var(--gold-deep)); color: var(--ink); box-shadow: 0 6px 16px rgba(242, 183, 5, .4); }
.btn-green { background: linear-gradient(145deg, var(--green), var(--green-deep)); color: #fff; box-shadow: 0 6px 16px rgba(14, 138, 62, .35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); }
.btn-sm { padding: 8px 14px; font-size: .82rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(242, 183, 5, .16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(28, 80, 194, .10), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  padding: 54px 0 58px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.kicker {
  display: inline-block;
  background: var(--ink);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 2.3rem; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 1.05rem; color: var(--mut); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-red { background: var(--red); }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }
.dot-gold { background: var(--gold); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 18px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: .75rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.hero-badge b { color: var(--gold); }

/* ---------- Seksi umum ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: #ece7db; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-green { background: linear-gradient(150deg, var(--green-deep), var(--green)); color: #eafaf0; }
.section-green h2, .section-green h3 { color: #fff; }
.section-blue { background: linear-gradient(150deg, var(--blue-deep), var(--blue)); color: #eaf0fd; }
.section-blue h2, .section-blue h3 { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--mut); margin: 0; }
.section-dark .sec-head p, .section-green .sec-head p, .section-blue .sec-head p { color: rgba(255, 255, 255, .82); }
.sec-head h2::after {
  content: "";
  display: block;
  width: 58px; height: 5px;
  border-radius: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.sec-center h2::after { margin-left: auto; margin-right: auto; }

/* ---------- Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cat-card figure { margin: 0; position: relative; }
.cat-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cat-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(18, 18, 23, .85);
  color: var(--gold);
  font-size: .68rem; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.cat-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { margin-bottom: .35em; }
.cat-card:hover h3 { color: var(--red); }
.cat-body p { font-size: .88rem; color: var(--mut); flex: 1; }
.cat-more { font-weight: 800; font-size: .85rem; color: var(--red); margin-top: 6px; }

/* ---------- Langkah pemula ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow);
}
.step:nth-child(2) { border-top-color: var(--gold); }
.step:nth-child(3) { border-top-color: var(--green); }
.step:nth-child(4) { border-top-color: var(--blue); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .88rem; color: var(--mut); margin: 0; }

/* ---------- Kartu promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.promo-card {
  background: #16161d;
  border: 1px solid #33333e;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease;
}
.promo-card:hover { transform: translateY(-4px); border-color: var(--gold); text-decoration: none; }
.promo-card figure { margin: 0; }
.promo-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.promo-body h3 { color: #fff; font-size: 1.05rem; }
.promo-pill {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  font-weight: 900;
  font-size: .8rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.promo-body p { font-size: .84rem; color: #b9b4a8; flex: 1; margin-bottom: 10px; }
.promo-mini { font-size: .74rem; color: #8f8b80; border-top: 1px dashed #3a3a45; padding-top: 10px; }
.promo-mini b { color: var(--gold); }

/* ---------- Kenapa memilih ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.why {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.why-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
  background: #fdeef2; color: var(--red);
  border: 1px solid #f6d3dd;
}
.why:nth-child(2) .why-ico { background: #fdf6df; color: var(--gold-deep); border-color: #f3e2b3; }
.why:nth-child(3) .why-ico { background: #e7f6ec; color: var(--green); border-color: #c9e9d4; }
.why:nth-child(4) .why-ico { background: #e9f0fd; color: var(--blue); border-color: #ccdbf7; }
.why:nth-child(5) .why-ico { background: #fdeef2; color: var(--red); border-color: #f6d3dd; }
.why:nth-child(6) .why-ico { background: #fdf6df; color: var(--gold-deep); border-color: #f3e2b3; }
.why h3 { font-size: 1rem; }
.why p { font-size: .86rem; color: var(--mut); margin: 0; }

/* ---------- Pembayaran & mobile ---------- */
.pay-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.pay-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.pay-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 12px 14px;
}
.pay-item:nth-child(2) { border-left-color: var(--blue); }
.pay-item:nth-child(3) { border-left-color: var(--gold); }
.pay-item:nth-child(4) { border-left-color: var(--red); }
.pay-item b { display: block; font-size: .9rem; }
.pay-item span { font-size: .76rem; color: var(--mut); }
.pay-media img { border-radius: 16px; box-shadow: var(--shadow); border: 4px solid #fff; }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.testi p { font-size: .88rem; color: var(--mut); font-style: italic; flex: 1; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-ava {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: .8rem;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
}
.testi:nth-child(2) .testi-ava { background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.testi:nth-child(3) .testi-ava { background: linear-gradient(145deg, var(--blue), var(--blue-deep)); }
.testi:nth-child(4) .testi-ava { background: linear-gradient(145deg, var(--gold), var(--gold-deep)); color: var(--ink); }
.testi-who b { display: block; font-size: .86rem; }
.testi-who span { font-size: .74rem; color: var(--mut); }
.testi-note { text-align: center; font-size: .76rem; color: var(--mut); margin-top: 18px; }

/* ---------- Laboratorium odds (inovatif) ---------- */
.odds-lab {
  background: linear-gradient(160deg, #0e1c3a, #12327e 60%, #0e1c3a);
  border: 1px solid rgba(242, 183, 5, .45);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
}
.odds-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 18px; }
.odds-field label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.odds-field input {
  width: 150px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.odds-field input:focus { outline: 2px solid var(--gold); }
.odds-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.odds-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.odds-box small { display: block; font-size: .7rem; letter-spacing: 1.2px; text-transform: uppercase; color: #aebfe6; margin-bottom: 4px; }
.odds-box b { font-size: 1.25rem; color: var(--gold); }
.odds-hint { font-size: .78rem; color: #aebfe6; margin-top: 14px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.table-odds { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.05); border-radius: 12px; overflow: hidden; min-width: 480px; }
.table-odds th, .table-odds td { padding: 10px 12px; text-align: left; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.table-odds th { color: var(--gold); text-transform: uppercase; font-size: .7rem; letter-spacing: 1.2px; }
.table-odds td { color: #e8ecf9; }
.table-odds tr:last-child td { border-bottom: none; }

/* ---------- Keamanan ---------- */
.safe-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.safe-list li { margin-bottom: 10px; }
.safe-list b { color: var(--ink); }
.safe-media img { border-radius: 16px; box-shadow: var(--shadow); border: 4px solid #fff; }

/* ---------- Tanggung jawab ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 8px; }
.rg-card {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.rg-card h3 { font-size: .98rem; }
.rg-card p, .rg-card li { font-size: .85rem; color: rgba(255, 255, 255, .88); }
.rg-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 26px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #fff;
}
.rg-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--gold);
  color: var(--gold); font-weight: 900; font-size: 1rem;
  background: rgba(242, 183, 5, .08);
}
.rg-band p { margin: 0; font-size: .82rem; color: #d9d4c8; flex: 1; min-width: 200px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  font-weight: 800;
  font-size: .95rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-a { padding: 0 18px 16px; color: var(--mut); font-size: .9rem; }

/* ---------- Awan tag ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .84rem;
  font-weight: 700;
  transition: all .15s ease;
}
.tag-cloud a:hover { border-color: var(--red); color: var(--red); background: #fdeef2; text-decoration: none; transform: translateY(-2px); }
.tag-cloud a[data-q]:hover { cursor: pointer; }

/* ---------- Breadcrumb ---------- */
.crumbs { background: var(--cream); border-bottom: 1px solid var(--line); font-size: .78rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; margin: 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.crumbs li + li::before { content: "›"; color: var(--mut); font-weight: 900; }
.crumbs a { color: var(--mut); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--red); font-weight: 800; }

/* ---------- Halaman dalam ---------- */
.page-head { padding: 44px 0 10px; }
.page-head .kicker { background: var(--red); color: #fff; }
.page-head h1 { font-size: 1.85rem; max-width: 20em; }
.page-head .lead { color: var(--mut); font-size: 1rem; max-width: 44em; }
.page-meta { font-size: .76rem; color: var(--mut); display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.page-hero-img img { border-radius: 16px; box-shadow: var(--shadow); border: 4px solid #fff; margin: 18px 0 8px; }

.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2::after {
  content: ""; display: block; width: 46px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px; margin-top: 8px;
}
.prose ul li, .prose ol li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; background: #fff; font-size: .88rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: var(--gold); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; }

.note {
  border-radius: 12px;
  padding: 16px 18px;
  font-size: .88rem;
  margin: 18px 0;
  border: 1px solid;
}
.note-blue { background: #eef3fd; border-color: #ccdbf7; color: #1d3a77; }
.note-green { background: #eaf8ef; border-color: #c9e9d4; color: #14532a; }
.note-gold { background: #fdf6df; border-color: #f3e2b3; color: #6b5305; }
.note-red { background: #fdeef2; border-color: #f6d3dd; color: #7a0d27; }

.two-col { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }

/* ---------- Kartu terkait ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.rel-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.rel-card:hover { transform: translateY(-3px); text-decoration: none; }
.rel-card b { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 4px; }
.rel-card:hover b { color: var(--red); }
.rel-card span { font-size: .8rem; color: var(--mut); }

/* ---------- Halaman formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; box-shadow: var(--shadow-lg);
}
.auth-side {
  background: linear-gradient(160deg, var(--ink), #23232c);
  border-radius: 18px; padding: 28px 26px; color: #d9d4c8;
  display: flex; flex-direction: column; gap: 14px;
}
.auth-side h2 { color: #fff; }
.auth-side img { border-radius: 12px; margin: 4px 0 10px; }
.auth-side .step-side { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; }
.auth-side .step-side b { color: var(--gold); }
.auth-side .n {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 900; font-size: .78rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .82rem; font-weight: 800; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fdfcf9;
}
.field input:focus { outline: 2px solid var(--red); border-color: var(--red); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--mut); margin: 14px 0; }
.field-check input { margin-top: 3px; width: auto; }
.form-note { font-size: .74rem; color: var(--mut); margin-top: 14px; }
.form-msg { display: none; margin-top: 12px; font-size: .84rem; font-weight: 700; }
.form-msg.show { display: block; }

/* ---------- Halaman cari ---------- */
.search-hero { padding: 46px 0 8px; text-align: center; }
.search-big {
  display: flex; gap: 10px; max-width: 640px; margin: 20px auto;
}
.search-big input {
  flex: 1; min-width: 0;
  padding: 14px 18px;
  border: 2px solid var(--line); border-radius: 999px;
  font-size: 1rem; font-family: inherit;
}
.search-big input:focus { outline: 2px solid var(--red); border-color: var(--red); }
.result-list { max-width: 760px; margin: 0 auto; }
.result-item {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.result-item:hover { text-decoration: none; border-color: var(--red); }
.result-item b { color: var(--ink); font-size: .98rem; }
.result-item:hover b { color: var(--red); }
.result-item span { display: block; font-size: .84rem; color: var(--mut); margin-top: 4px; }
.result-item .result-url { font-size: .74rem; color: var(--green); font-weight: 700; margin-top: 6px; }
.result-empty { text-align: center; color: var(--mut); padding: 26px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7b2a6; padding: 48px 0 26px; border-top: 4px solid var(--red); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand p { font-size: .82rem; color: #948f83; }
.foot-col h3 { color: var(--gold); font-size: .8rem; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col a { color: #cfc9bc; font-size: .85rem; display: block; padding: 4px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-badge {
  border: 1px solid #3a3a45; border-radius: 8px;
  font-size: .7rem; font-weight: 800; letter-spacing: .5px;
  padding: 5px 10px; color: #d9d4c8;
}
.foot-badge.b18 { border-color: var(--gold); color: var(--gold); }
.foot-legal {
  border-top: 1px solid #2c2c35; margin-top: 34px; padding-top: 20px;
  font-size: .74rem; color: #837e73; text-align: center;
}
.foot-legal p { margin-bottom: 8px; }

/* ---------- CTA melayang (mesin slot + koin) ---------- */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 300;
  width: min(92vw, 430px);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.float-cta a.slot-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 62px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #e9235a 0%, var(--red) 45%, var(--red-deep) 100%);
  border: 2.5px solid var(--gold);
  box-shadow:
    0 0 0 3px rgba(18, 18, 23, .65),
    0 12px 30px rgba(211, 17, 69, .55),
    inset 0 2px 0 rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  overflow: hidden;
}
.float-cta a.slot-btn:hover { text-decoration: none; filter: brightness(1.06); }
.slot-btn .btn-shine {
  position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { left: -70%; }
  85%, 100% { left: 130%; }
}
.slot-reels { display: flex; gap: 4px; }
.slot-reel {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: #fff;
  border: 2px solid var(--ink);
  overflow: hidden;
  display: flex; justify-content: center;
}
.slot-reel i {
  font-style: normal;
  font-weight: 900;
  color: var(--red);
  animation: reel 2.6s steps(1) infinite;
}
.slot-reel i b {
  display: block;
  height: 26px;
  line-height: 26px;
  text-align: center;
}
.slot-reel:nth-child(2) i { color: var(--gold-deep); animation-delay: .18s; }
.slot-reel:nth-child(3) i { color: var(--blue); animation-delay: .36s; }
@keyframes reel {
  0% { transform: translateY(0); }
  22% { transform: translateY(-26px); }
  44% { transform: translateY(-52px); }
  66% { transform: translateY(-26px); }
  88% { transform: translateY(0); }
}
.coin {
  position: absolute;
  bottom: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe58a, var(--gold) 55%, var(--gold-deep));
  border: 1.5px solid var(--gold-deep);
  box-shadow: 0 2px 6px rgba(200, 147, 4, .6);
  opacity: 0;
  pointer-events: none;
  animation: coinUp 2.8s ease-in infinite;
}
.coin::after {
  content: "Rp";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 900; color: #6b5305;
}
.coin.c1 { left: 12%; animation-delay: 0s; }
.coin.c2 { left: 30%; animation-delay: .7s; transform: scale(.85); }
.coin.c3 { right: 30%; animation-delay: 1.4s; transform: scale(1.1); }
.coin.c4 { right: 12%; animation-delay: 2.1s; transform: scale(.9); }
@keyframes coinUp {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-64px) rotate(340deg); }
}

/* ---------- Responsif ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-media { max-width: 560px; }
  .two-col, .safe-grid, .pay-grid, .auth-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 18px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 11px 10px; border-bottom: 1px dashed var(--line); border-radius: 6px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 560px) {
  .hero { padding: 36px 0 42px; }
  .hero h1 { font-size: 1.6rem; }
  .page-head h1 { font-size: 1.4rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 42px 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .search-big { flex-direction: column; }
  .search-big .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-badge { left: 8px; bottom: 8px; }
  .odds-field input { width: 100%; }
  .odds-form .btn { width: 100%; }
  .float-cta { bottom: 10px; width: calc(100vw - 24px); }
  .slot-btn { font-size: .95rem; gap: 10px; height: 58px; }
  .topbar { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-track, .slot-reel i, .btn-shine, .coin { animation: none; }
  html { scroll-behavior: auto; }
}
