/* ==========================================================================
   Grandbet88 — Casino Info Portal (grandbet88.casino)
   Tema: merah / putih / hijau / kuning / biru / hitam — responsif penuh
   ========================================================================== */

:root {
  --c-bg: #0b0f16;
  --c-bg-2: #0e1420;
  --c-surface: #121a29;
  --c-surface-2: #172236;
  --c-line: rgba(148, 163, 184, 0.16);
  --c-red: #e63950;
  --c-red-deep: #b91c3a;
  --c-gold: #f7c948;
  --c-gold-2: #ffe08a;
  --c-gold-deep: #d4a017;
  --c-green: #2ecc71;
  --c-green-deep: #169b4d;
  --c-blue: #4ea1ff;
  --c-blue-deep: #2563eb;
  --c-white: #f4f7fb;
  --c-muted: #9fb0c6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  --font: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-white);
  line-height: 1.75;
  font-size: 16px;
  /* ruang untuk floating CTA bar (tanpa menambah area kosong di luar) */
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; overflow-wrap: break-word; }

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

::selection { background: var(--c-gold); color: #20160a; }

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

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

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-gold {
  background: linear-gradient(180deg, var(--c-gold-2) 0%, var(--c-gold) 45%, var(--c-gold-deep) 100%);
  color: #241a03;
  box-shadow: 0 6px 20px rgba(247, 201, 72, 0.35);
}
.btn-green {
  background: linear-gradient(180deg, #3be085, var(--c-green-deep));
  color: #04220f;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}
.btn-red {
  background: linear-gradient(180deg, #ff5d75, var(--c-red-deep));
  color: #fff;
  box-shadow: 0 6px 20px rgba(230, 57, 80, 0.32);
}
.btn-blue {
  background: linear-gradient(180deg, #6cb4ff, var(--c-blue-deep));
  color: #fff;
  box-shadow: 0 6px 20px rgba(78, 161, 255, 0.28);
}
.btn-outline {
  background: rgba(247, 201, 72, 0.06);
  border-color: rgba(247, 201, 72, 0.55);
  color: var(--c-gold-2);
}
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 36px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10, 14, 21, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 201, 72, 0.18);
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45); }

.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, #ffe9a8, var(--c-gold-deep));
  color: #241a03; font-weight: 800; font-size: 15px;
  border: 2px dashed rgba(36, 26, 3, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.55), 0 4px 14px rgba(247, 201, 72, 0.4);
}
.brand-name {
  font-size: 21px; font-weight: 800; letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff3cd, var(--c-gold) 55%, var(--c-gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name b { color: var(--c-red); -webkit-text-fill-color: var(--c-red); }
.brand-domain { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--c-muted); -webkit-text-fill-color: var(--c-muted); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--c-muted); font-size: 14.5px; font-weight: 600;
}
.main-nav a:hover { color: var(--c-white); background: rgba(247, 201, 72, 0.08); }
.main-nav a.is-active { color: var(--c-gold); background: rgba(247, 201, 72, 0.12); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.badge18 {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-red); color: #ff8fa0;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
  background: rgba(230, 57, 80, 0.12);
}

.nav-burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--c-line); border-radius: 10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  cursor: pointer; flex-shrink: 0;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--c-gold); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(720px 420px at 12% -10%, rgba(230, 57, 80, 0.22), transparent 60%),
    radial-gradient(760px 460px at 96% 8%, rgba(247, 201, 72, 0.14), transparent 62%),
    radial-gradient(600px 420px at 55% 115%, rgba(46, 204, 113, 0.10), transparent 60%),
    linear-gradient(180deg, var(--c-bg-2), var(--c-bg));
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--c-bg));
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--c-red), var(--c-gold)); border-radius: 2px; }

.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
.hero h1 .hl {
  background: linear-gradient(180deg, #fff3cd, var(--c-gold) 60%, var(--c-gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .hl-red { color: var(--c-red); -webkit-text-fill-color: #ff6b81; }

.hero-sub { margin: 18px 0 26px; color: var(--c-muted); font-size: clamp(15px, 2vw, 17px); max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(18, 26, 41, 0.85); border: 1px solid var(--c-line); color: var(--c-muted);
}
.chip i { font-style: normal; }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius); border: 1px solid rgba(247, 201, 72, 0.3);
  box-shadow: var(--shadow); aspect-ratio: 16 / 11; object-fit: cover; width: 100%;
}
.hero-card {
  position: absolute; left: -14px; bottom: -18px;
  background: linear-gradient(180deg, #1c2740, #121a29);
  border: 1px solid rgba(247, 201, 72, 0.4); border-radius: 12px;
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
}
.hero-card b { color: var(--c-gold-2); font-size: 14px; }
.hero-card span { display: block; font-size: 12px; color: var(--c-muted); }

/* --------------------------------------------------------------------------
   Section umum
   -------------------------------------------------------------------------- */
.section { padding: 68px 0; }
.section-alt {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(78, 161, 255, 0.06), transparent 60%),
    linear-gradient(180deg, var(--c-bg-2), var(--c-bg));
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}

.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.45rem, 3.2vw, 2.15rem); font-weight: 800; }
.section-head p { color: var(--c-muted); margin-top: 12px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* kartu umum */
.card {
  background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface));
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(247, 201, 72, 0.45); box-shadow: var(--shadow); }

/* kartu info ber-ikon */
.info-card .ico {
  width: 52px; height: 52px; border-radius: 14px; font-size: 24px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: rgba(247, 201, 72, 0.12); border: 1px solid rgba(247, 201, 72, 0.35);
}
.info-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.info-card p { font-size: 14.5px; color: var(--c-muted); }

.t-red { background: rgba(230, 57, 80, 0.14); border-color: rgba(230, 57, 80, 0.4); }
.t-green { background: rgba(46, 204, 113, 0.13); border-color: rgba(46, 204, 113, 0.4); }
.t-blue { background: rgba(78, 161, 255, 0.13); border-color: rgba(78, 161, 255, 0.4); }
.t-gold { background: rgba(247, 201, 72, 0.12); border-color: rgba(247, 201, 72, 0.4); }

/* langkah 4 step */
.step-card { position: relative; padding-top: 30px; }
.step-num {
  position: absolute; top: -20px; left: 24px;
  width: 46px; height: 46px; border-radius: 14px 14px 14px 4px;
  background: linear-gradient(160deg, var(--c-gold-2), var(--c-gold-deep));
  color: #241a03; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(247, 201, 72, 0.35);
}
.step-card h3 { font-size: 16.5px; margin: 6px 0 8px; }
.step-card p { font-size: 14px; color: var(--c-muted); }
.steps-grid { margin-top: 26px; }

/* kartu kategori */
.cat-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cat-card figure { position: relative; }
.cat-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cat-card .cat-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card h3 a { color: var(--c-white); font-size: 18px; }
.cat-card h3 a:hover { color: var(--c-gold); }
.cat-card p { font-size: 14px; color: var(--c-muted); flex: 1; }
.cat-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.cat-tag.tag-gold { background: rgba(247, 201, 72, 0.14); color: var(--c-gold-2); border: 1px solid rgba(247, 201, 72, 0.4); }
.cat-tag.tag-red { background: rgba(230, 57, 80, 0.14); color: #ff8fa0; border: 1px solid rgba(230, 57, 80, 0.4); }
.cat-tag.tag-green { background: rgba(46, 204, 113, 0.13); color: #7ce6a8; border: 1px solid rgba(46, 204, 113, 0.4); }
.cat-tag.tag-blue { background: rgba(78, 161, 255, 0.13); color: #9cc9ff; border: 1px solid rgba(78, 161, 255, 0.4); }

/* entry daftar / masuk */
.access-card { display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--c-green); }
.access-card.alt { border-top-color: var(--c-blue); }
.access-card h3 { font-size: 20px; }
.access-card p { color: var(--c-muted); font-size: 14.5px; }
.access-card ul { display: grid; gap: 9px; }
.access-card ul li { position: relative; padding-left: 26px; font-size: 14px; color: var(--c-muted); }
.access-card ul li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--c-green); font-weight: 700; font-size: 13px;
}
.access-card.alt ul li::before { color: var(--c-blue); }

/* split media + teks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .split-media img { border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.split h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
.split .lead { color: var(--c-muted); margin: 12px 0 18px; }

.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--c-muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border-radius: 6px; background: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.45);
  color: #7ce6a8; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.check-list.gold li::before { background: rgba(247, 201, 72, 0.14); border-color: rgba(247, 201, 72, 0.5); color: var(--c-gold-2); }
.check-list.blue li::before { background: rgba(78, 161, 255, 0.14); border-color: rgba(78, 161, 255, 0.5); color: #9cc9ff; }

/* ulasan pembaca */
.review-card .stars { color: var(--c-gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.review-card blockquote { font-size: 14.5px; color: #d7dfeb; font-style: italic; margin-bottom: 16px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .ava {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  background: linear-gradient(160deg, #2c3a58, #1b2740);
  border: 1px solid var(--c-line); color: var(--c-gold-2);
}
.review-card .who b { display: block; font-size: 14.5px; }
.review-card .who span { display: block; font-size: 12.5px; color: var(--c-muted); }

.note {
  margin-top: 18px; padding: 12px 18px; border-left: 3px solid var(--c-blue);
  background: rgba(78, 161, 255, 0.07); border-radius: 0 10px 10px 0;
  font-size: 13px; color: var(--c-muted);
}

/* checklist pemain cerdas (details) */
.check-item, .faq-item {
  background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface));
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.check-item + .check-item, .faq-item + .faq-item { margin-top: 12px; }
.check-item summary, .faq-item summary {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15.5px; color: var(--c-white);
  transition: background 0.15s ease;
}
.check-item summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.check-item summary:hover, .faq-item summary:hover { background: rgba(247, 201, 72, 0.06); }
.check-item summary .idx, .faq-item summary .idx {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(247, 201, 72, 0.14); border: 1px solid rgba(247, 201, 72, 0.4);
  color: var(--c-gold-2); font-size: 13.5px; font-weight: 800;
}
.check-item summary .mark, .faq-item summary .mark {
  margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(247, 201, 72, 0.45); color: var(--c-gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; transition: transform 0.2s ease;
}
.check-item[open] summary .mark, .faq-item[open] summary .mark { transform: rotate(45deg); background: rgba(247, 201, 72, 0.15); }
.check-item .item-body, .faq-item .item-body { padding: 0 20px 20px; color: var(--c-muted); font-size: 14.5px; }
.check-item .item-body ul, .faq-item .item-body ul { display: grid; gap: 8px; margin-top: 8px; }
.check-item .item-body ul li, .faq-item .item-body ul li { position: relative; padding-left: 20px; }
.check-item .item-body ul li::before, .faq-item .item-body ul li::before { content: "•"; position: absolute; left: 4px; color: var(--c-gold); }

/* kotak khusus */
.info-box, .warn-box, .gold-box {
  border-radius: var(--radius-sm); padding: 18px 22px; font-size: 14.5px; margin: 22px 0;
}
.info-box { background: rgba(78, 161, 255, 0.09); border: 1px solid rgba(78, 161, 255, 0.35); color: #cfe2ff; }
.warn-box { background: rgba(230, 57, 80, 0.09); border: 1px solid rgba(230, 57, 80, 0.4); color: #ffd3da; }
.gold-box { background: rgba(247, 201, 72, 0.08); border: 1px solid rgba(247, 201, 72, 0.38); color: #ffedbb; }
.info-box b, .warn-box b, .gold-box b { display: block; margin-bottom: 6px; font-size: 15px; }

/* tabel syarat & ketentuan */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius-sm); border: 1px solid var(--c-line); -webkit-overflow-scrolling: touch; }
table.tc { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
table.tc th {
  background: linear-gradient(180deg, rgba(247, 201, 72, 0.16), rgba(247, 201, 72, 0.07));
  color: var(--c-gold-2); text-align: left; padding: 13px 16px; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
table.tc td { padding: 13px 16px; border-top: 1px solid var(--c-line); color: #d7dfeb; vertical-align: top; }
table.tc tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
table.tc td:first-child { color: var(--c-muted); white-space: nowrap; font-weight: 600; }

/* pencarian + tag cloud */
.search-strip {
  background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface));
  border: 1px solid rgba(247, 201, 72, 0.3); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.search-form { display: flex; gap: 12px; }
.search-form input {
  flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-bg-2); color: var(--c-white);
  font-family: var(--font); font-size: 15px;
}
.search-form input::placeholder { color: #64748b; }
.search-form input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.18); }
.search-results { margin-top: 18px; display: grid; gap: 10px; }
.search-results[hidden] { display: none; }
.search-results a {
  display: block; padding: 12px 18px; border-radius: 10px;
  background: rgba(11, 15, 22, 0.7); border: 1px solid var(--c-line);
}
.search-results a:hover { border-color: rgba(247, 201, 72, 0.5); }
.search-results a b { display: block; color: var(--c-white); font-size: 14.5px; }
.search-results a:hover b { color: var(--c-gold); }
.search-results a span { font-size: 13px; color: var(--c-muted); }
.search-empty { padding: 12px 18px; border-radius: 10px; background: rgba(230, 57, 80, 0.08); border: 1px dashed rgba(230, 57, 80, 0.4); color: #ffd3da; font-size: 14px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--c-bg-2); border: 1px solid var(--c-line); color: var(--c-muted);
  transition: all 0.15s ease;
}
.tag:hover { color: #241a03; background: var(--c-gold); border-color: var(--c-gold); transform: translateY(-2px); }
.tag-lg { font-size: 14.5px; padding: 9px 20px; }
.tag-red { border-color: rgba(230, 57, 80, 0.5); color: #ff9fae; }
.tag-green { border-color: rgba(46, 204, 113, 0.5); color: #7ce6a8; }
.tag-blue { border-color: rgba(78, 161, 255, 0.5); color: #9cc9ff; }

/* --------------------------------------------------------------------------
   Halaman artikel
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 46px 0 10px;
  background:
    radial-gradient(640px 320px at 85% -20%, rgba(247, 201, 72, 0.12), transparent 60%),
    radial-gradient(560px 300px at 0% 0%, rgba(230, 57, 80, 0.12), transparent 55%);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--c-gold); font-size: 15px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb [aria-current] { color: var(--c-gold-2); font-weight: 600; }

.article-head h1 { font-size: clamp(1.55rem, 3.6vw, 2.4rem); font-weight: 800; max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 13px; color: var(--c-muted); }
.article-meta li { display: inline-flex; align-items: center; gap: 7px; }
.article-hero-img { margin: 28px 0 8px; }
.article-hero-img img { width: 100%; border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow); aspect-ratio: 21 / 9; object-fit: cover; }
.article-hero-img figcaption { font-size: 12.5px; color: var(--c-muted); margin-top: 10px; text-align: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding: 30px 0 70px; align-items: start; }

.prose { font-size: 15.5px; color: #d7dfeb; max-width: 820px; }
.prose p { margin: 0 0 18px; }
.prose h2 {
  position: relative; font-size: 21.5px; color: var(--c-white);
  margin: 44px 0 16px; padding-left: 16px;
}
.prose h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--c-gold), var(--c-red)); }
.prose h3 { font-size: 17.5px; color: var(--c-gold-2); margin: 28px 0 12px; }
.prose ul, .prose ol { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: "◆"; position: absolute; left: 2px; top: 0; color: var(--c-gold); font-size: 10px; line-height: 2.4; }
.prose ol { counter-reset: olc; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: olc; }
.prose ol li::before {
  content: counter(olc); position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 7px; font-size: 12px; font-weight: 700;
  background: rgba(247, 201, 72, 0.14); border: 1px solid rgba(247, 201, 72, 0.4);
  color: var(--c-gold-2); display: flex; align-items: center; justify-content: center;
}
.prose figure { margin: 24px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--c-line); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose figcaption { font-size: 12.5px; color: var(--c-muted); margin-top: 10px; text-align: center; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--c-white); }

.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin: 40px 0; padding: 26px 30px; border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(230, 57, 80, 0.18), transparent 60%),
    linear-gradient(120deg, #1c2740, #121a29);
  border: 1px solid rgba(247, 201, 72, 0.4);
}
.cta-box h3 { font-size: 19px; }
.cta-box p { color: var(--c-muted); font-size: 14px; margin-top: 4px; }
.cta-box .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* sidebar artikel */
.article-side { position: sticky; top: 90px; display: grid; gap: 22px; }
.side-card { background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 15.5px; margin-bottom: 14px; color: var(--c-gold-2); display: flex; align-items: center; gap: 8px; }
.side-card ul { display: grid; gap: 10px; }
.side-card ul a { display: block; font-size: 14px; color: var(--c-muted); padding: 10px 14px; border-radius: 9px; background: rgba(11, 15, 22, 0.5); border: 1px solid var(--c-line); }
.side-card ul a:hover { color: var(--c-gold); border-color: rgba(247, 201, 72, 0.4); }
.side-card ul a b { display: block; color: var(--c-white); font-size: 13.5px; }
.side-card ul a:hover b { color: var(--c-gold); }
.side-cta { text-align: center; background: radial-gradient(300px 160px at 50% 0%, rgba(247, 201, 72, 0.14), transparent 70%), linear-gradient(180deg, var(--c-surface-2), var(--c-surface)); }
.side-cta .btn { width: 100%; margin-top: 6px; }
.side-cta p { font-size: 13px; color: var(--c-muted); margin-bottom: 12px; }

/* promo cards */
.promo-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.promo-card figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.promo-card .promo-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-pill {
  align-self: flex-start; padding: 4px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: rgba(46, 204, 113, 0.14); color: #7ce6a8; border: 1px solid rgba(46, 204, 113, 0.45);
}
.promo-pill.gold { background: rgba(247, 201, 72, 0.14); color: var(--c-gold-2); border-color: rgba(247, 201, 72, 0.45); }
.promo-pill.green { background: rgba(46, 204, 113, 0.14); color: #7ce6a8; border-color: rgba(46, 204, 113, 0.45); }
.promo-pill.blue { background: rgba(78, 161, 255, 0.13); color: #9cc9ff; border-color: rgba(78, 161, 255, 0.45); }
.promo-pill.red { background: rgba(230, 57, 80, 0.13); color: #ff9fae; border-color: rgba(230, 57, 80, 0.45); }
.promo-card h3 { font-size: 17.5px; }
.promo-card h3 a { color: var(--c-white); }
.promo-card h3 a:hover { color: var(--c-gold); }
.promo-card p { font-size: 14px; color: var(--c-muted); flex: 1; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--c-muted); }
.promo-meta span { padding: 3px 10px; border-radius: 6px; background: rgba(11, 15, 22, 0.6); border: 1px solid var(--c-line); }

/* --------------------------------------------------------------------------
   Formulir auth
   -------------------------------------------------------------------------- */
.auth-wrap { max-width: 560px; margin: 0 auto; }
.auth-card {
  background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface));
  border: 1px solid rgba(247, 201, 72, 0.35); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: #c7d2e2; }
.form-field label small { color: var(--c-muted); font-weight: 400; }
.form-field input {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--c-line);
  background: var(--c-bg-2); color: var(--c-white); font-family: var(--font); font-size: 15px; width: 100%;
}
.form-field input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.16); }
.form-field .field-error { font-size: 12.5px; color: #ff9fae; display: none; }
.form-field.is-error input { border-color: var(--c-red); }
.form-field.is-error .field-error { display: block; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--c-muted); }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-gold); flex-shrink: 0; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--c-muted); text-align: center; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--c-muted); }
.auth-alt a { color: var(--c-gold); font-weight: 600; }

.agegate {
  display: flex; gap: 14px; align-items: center; margin-bottom: 22px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(230, 57, 80, 0.09); border: 1px dashed rgba(230, 57, 80, 0.45);
  font-size: 13px; color: #ffd3da;
}
.agegate .badge18 { width: 44px; height: 44px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(230, 57, 80, 0.1), transparent 60%),
    linear-gradient(180deg, #0d1320, #090d14);
  border-top: 1px solid rgba(247, 201, 72, 0.22);
  margin-bottom: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 38px;
  padding: 56px 20px 40px;
}
.footer-brand p { font-size: 13.5px; color: var(--c-muted); margin: 16px 0 20px; max-width: 300px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.f-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.f-badge.b18 { border: 2px solid var(--c-red); color: #ff8fa0; }
.f-badge.brg { border: 2px solid var(--c-green); color: #7ce6a8; }
.site-footer h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gold-2); margin-bottom: 18px; }
.site-footer h4::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 8px; background: linear-gradient(90deg, var(--c-red), var(--c-gold)); border-radius: 2px; }
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { color: var(--c-muted); font-size: 14px; }
.footer-links a:hover { color: var(--c-gold); }
.footer-contact { font-size: 13.5px; color: var(--c-muted); display: grid; gap: 10px; }
.footer-contact a { color: var(--c-gold-2); }

.footer-disclaimer {
  padding: 22px 20px; border-top: 1px solid var(--c-line);
  font-size: 12px; color: #76889f; line-height: 1.8; text-align: center;
}
.footer-bottom {
  padding: 16px 20px; border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Floating CTA bar (gaya mesin slot + koin) — TANPA tombol tutup
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(8, 11, 17, 0.9), rgba(8, 11, 17, 0.985));
  border-top: 1px solid rgba(247, 201, 72, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.btn-float {
  position: relative; overflow: hidden;
  height: 56px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16.5px; font-weight: 800; letter-spacing: 0.06em;
}

.btn-float.btn-daftar {
  background: linear-gradient(180deg, #ffe08a 0%, var(--c-gold) 48%, #e2a41f 100%);
  color: #241a03;
  border: 2px solid #fff1c2;
  box-shadow: 0 5px 20px rgba(247, 201, 72, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: ctaGlow 2.2s ease-in-out infinite;
}
.btn-float.btn-masuk {
  background: linear-gradient(180deg, #2fdd7f 0%, var(--c-green-deep) 100%);
  color: #ffffff;
  border: 2px solid #8df2b6;
  box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 5px 20px rgba(247, 201, 72, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 5px 30px rgba(247, 201, 72, 0.85), 0 0 14px rgba(255, 224, 138, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
}

/* reel mesin slot mini di kiri tombol */
.reels { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: flex; gap: 3px; }
.reel {
  width: 15px; height: 17px; overflow: hidden; border-radius: 4px;
  background: rgba(11, 15, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}
.btn-float.btn-masuk .reel { border-color: rgba(255, 255, 255, 0.35); }
.reel i {
  display: block; font-style: normal; font-size: 11px; line-height: 17px;
  text-align: center; height: 17px;
}
.reel .reel-strip { display: block; animation: reelSpin 2.1s linear infinite; }
.btn-float.btn-masuk .reel .reel-strip { animation-duration: 2.6s; animation-direction: reverse; }
.reels + .float-label { padding-left: 62px; }

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* efek koin emas meloncat (khusus tombol DAFTAR) */
.coins { position: absolute; inset: 0; pointer-events: none; }
.coin {
  position: absolute; bottom: 6px; font-size: 13px; font-style: normal;
  opacity: 0; animation: coinFly 1.9s ease-out infinite;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}
.coin.c1 { left: 26%; animation-delay: 0s; }
.coin.c2 { left: 58%; animation-delay: 0.55s; font-size: 11px; }
.coin.c3 { left: 78%; animation-delay: 1.1s; font-size: 12px; }
.coin.c4 { left: 40%; animation-delay: 1.45s; font-size: 10px; }

@keyframes coinFly {
  0% { transform: translateY(4px) scale(0.5) rotate(0deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-40px) scale(1.1) rotate(28deg); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 9px 10px; font-size: 13.5px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; }
}

@media (max-width: 960px) {
  .header-actions .btn-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 60px 0 56px; }
  .hero-media { max-width: 620px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; padding-top: 46px; }
}

@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 21, 0.985);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(247, 201, 72, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 12px 20px 20px; margin-left: 0;
  }
  .nav-toggle:checked ~ .site-header .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 16px; font-size: 15px; border-radius: 10px; }
  .nav-extra { display: block; }
  .nav-extra a { color: var(--c-gold-2); background: rgba(247, 201, 72, 0.07); }
  .header-inner { flex-wrap: nowrap; }
  .main-nav { order: 5; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .hero { padding: 46px 0 46px; }
  .hero-cta .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { margin-top: 34px; }
  .step-card { margin-top: 6px; }
  .cta-box { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-box .cta-actions { flex-direction: column; }
  .article-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .auth-card { padding: 26px 20px; }
  .hero-card { left: 10px; bottom: -14px; padding: 10px 14px; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .brand-name { font-size: 18px; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 12.5px; }
  /* cegah overflow header pada layar sempit */
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .badge18 { display: none; }
  .brand-name { font-size: 16.5px; }
  .brand-domain { font-size: 9px; letter-spacing: 0.1em; }
  .brand-badge { width: 34px; height: 34px; font-size: 13px; }
  .nav-burger { width: 40px; height: 40px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

@media (max-width: 420px) {
  .float-cta { gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .btn-float { height: 52px; font-size: 15px; border-radius: 11px; }
  .reel { width: 13px; }
  .reels + .float-label { padding-left: 54px; }
  .badge18 { width: 32px; height: 32px; font-size: 11px; }
}

/* layar sangat sempit (<= 359px): header & float bar dimampatkan agar bebas overflow */
@media (max-width: 359px) {
  .header-inner { gap: 10px; }
  .brand-name { font-size: 15px; }
  .brand-domain { display: none; }
  .brand-badge { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px rgba(230, 57, 80, 0.55); }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 12px; }
  .nav-burger { width: 38px; height: 38px; }
  .float-cta { gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .btn-float { height: 48px; font-size: 13.5px; }
  .reel { width: 12px; height: 15px; }
  .reel i { font-size: 10px; line-height: 15px; }
  .reels { left: 8px; gap: 2px; }
  .reels + .float-label { padding-left: 46px; }
  .coin { font-size: 11px; }
  .hero-card { max-width: calc(100% - 20px); }
}

/* preferensi gerak minimal */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}

/* cetak */
@media print {
  .site-header, .float-cta, .site-footer, .article-side { display: none !important; }
  body { background: #fff; color: #111; padding: 0; }
}
