/* ==========================================================================
   Betwing88 — style.css
   Tema: casino modern (hitam · merah · emas · hijau · biru · putih)
   Struktur kelas mengikuti konvensi tema WordPress (site-header, site-main,
   entry-content, widget, main-navigation, dsb.) agar mudah dikonversi
   menjadi tema WP di kemudian hari.
   ========================================================================== */

:root {
  --bw-black: #0a0d14;
  --bw-black-2: #0f141f;
  --bw-surface: #141b29;
  --bw-surface-2: #1a2334;
  --bw-line: #263146;
  --bw-red: #e8283f;
  --bw-red-2: #ff4560;
  --bw-red-dark: #b0162c;
  --bw-gold: #ffc233;
  --bw-gold-2: #f5a623;
  --bw-green: #1ec675;
  --bw-green-dark: #0e8a50;
  --bw-blue: #3d8bff;
  --bw-blue-dark: #1f5fd6;
  --bw-white: #f4f7fc;
  --bw-muted: #9fadc4;
  --bw-radius: 14px;
  --bw-radius-lg: 20px;
  --bw-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --bw-font: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bw-max: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--bw-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bw-white);
  background: var(--bw-black);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bw-gold); text-decoration: none; }
a:hover { color: var(--bw-gold-2); }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4, h5 {
  font-family: var(--bw-font);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* ---------- Utilitas WordPress-style ---------- */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; width: 100%; }
.content-area { max-width: var(--bw-max); margin: 0 auto; padding: 0 20px; width: 100%; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}
.text-center { text-align: center; }

/* ==========================================================================
   1. Header / Navigasi
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 13, 20, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bw-line);
}
.site-header.is-scrolled { background: rgba(10, 13, 20, .98); }
.header-inner {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.custom-logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.custom-logo { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .logo-name {
  font-size: 22px; font-weight: 900; letter-spacing: .5px;
  color: var(--bw-white);
}
.logo-text .logo-name b { color: var(--bw-gold); }
.logo-text .logo-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--bw-red-2); text-transform: uppercase; margin-top: 3px;
}

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-navigation a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--bw-white);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}
.main-navigation a:hover { background: var(--bw-surface-2); color: var(--bw-gold); }
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  background: linear-gradient(135deg, var(--bw-red-dark), var(--bw-red));
  color: #fff;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search-toggle {
  background: var(--bw-surface-2);
  border: 1px solid var(--bw-line);
  color: var(--bw-white);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.header-search-toggle:hover { transform: scale(1.06); border-color: var(--bw-gold); }
.header-search-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.nav-toggle {
  display: none;
  background: var(--bw-surface-2);
  border: 1px solid var(--bw-line);
  color: var(--bw-white);
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 18px; height: 2px;
  background: var(--bw-white);
  margin: 4px auto;
  border-radius: 2px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-daftar {
  background: linear-gradient(135deg, var(--bw-red-dark) 0%, var(--bw-red) 55%, var(--bw-red-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 40, 63, .38);
}
.btn-masuk {
  background: linear-gradient(135deg, var(--bw-gold-2), var(--bw-gold));
  color: #241a02;
  box-shadow: 0 8px 24px rgba(255, 194, 51, .3);
}
.btn-green { background: linear-gradient(135deg, var(--bw-green-dark), var(--bw-green)); color: #fff; }
.btn-blue { background: linear-gradient(135deg, var(--bw-blue-dark), var(--bw-blue)); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--bw-white);
  border: 2px solid var(--bw-line);
}
.btn-ghost:hover { border-color: var(--bw-gold); color: var(--bw-gold); }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }

/* ==========================================================================
   2. Breadcrumb
   ========================================================================== */
.breadcrumb {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 13.5px;
  color: var(--bw-muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--bw-red-2); font-weight: 800; }
.breadcrumb a { color: var(--bw-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--bw-gold); }
.breadcrumb [aria-current="page"] { color: var(--bw-gold); font-weight: 700; }

/* ==========================================================================
   3. Hero (beranda)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 12% -10%, rgba(232, 40, 63, .28), transparent 60%),
    radial-gradient(760px 420px at 96% 8%, rgba(61, 139, 255, .2), transparent 62%),
    radial-gradient(700px 500px at 55% 118%, rgba(255, 194, 51, .12), transparent 60%),
    var(--bw-black-2);
  border-bottom: 1px solid var(--bw-line);
}
.hero-inner {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 58px 20px 66px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30, 198, 117, .12);
  border: 1px solid rgba(30, 198, 117, .45);
  color: var(--bw-green);
  font-size: 13px; font-weight: 800;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bw-green);
  animation: bw-pulse 1.6s infinite;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  margin-bottom: 16px;
}
.hero h1 .hl-red { color: var(--bw-red-2); }
.hero h1 .hl-gold { color: var(--bw-gold); }
.hero-sub { font-size: clamp(15px, 1.6vw, 17.5px); color: var(--bw-muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--bw-muted); font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--bw-radius-lg);
  border: 1px solid var(--bw-line);
  box-shadow: var(--bw-shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-chip {
  position: absolute;
  background: rgba(15, 20, 31, .92);
  border: 1px solid var(--bw-line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--bw-shadow);
  display: flex; align-items: center; gap: 8px;
}
.hero-chip small { display: block; font-weight: 600; color: var(--bw-muted); font-size: 11.5px; }
.hero-chip.c1 { top: 16px; left: -10px; border-color: rgba(30, 198, 117, .5); }
.hero-chip.c2 { bottom: 18px; right: -10px; border-color: rgba(255, 194, 51, .5); }
.hero-chip .ico { font-size: 20px; }

/* strip logo kategori di bawah hero */
.cat-strip {
  border-bottom: 1px solid var(--bw-line);
  background: var(--bw-black);
}
.cat-strip-inner {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cat-strip a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  color: var(--bw-muted);
  border: 1px solid var(--bw-line);
  background: var(--bw-surface);
  padding: 7px 14px; border-radius: 999px;
}
.cat-strip a:hover { color: var(--bw-gold); border-color: var(--bw-gold); }

/* ==========================================================================
   4. Section generik
   ========================================================================== */
.section { padding: 64px 0; }
.section-alt { background: var(--bw-black-2); border-block: 1px solid var(--bw-line); }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--bw-red-2);
  background: rgba(232, 40, 63, .1);
  border: 1px solid rgba(232, 40, 63, .35);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-kicker.gold { color: var(--bw-gold); background: rgba(255, 194, 51, .08); border-color: rgba(255, 194, 51, .4); }
.section-kicker.green { color: var(--bw-green); background: rgba(30, 198, 117, .08); border-color: rgba(30, 198, 117, .4); }
.section-kicker.blue { color: var(--bw-blue); background: rgba(61, 139, 255, .08); border-color: rgba(61, 139, 255, .4); }
.section-title { font-size: clamp(24px, 3.2vw, 34px); }
.section-desc { color: var(--bw-muted); font-size: 15.5px; }

/* grid */
.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); }

/* kartu */
.card {
  background: linear-gradient(180deg, var(--bw-surface), var(--bw-black-2));
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius-lg);
  padding: 26px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 194, 51, .45); box-shadow: var(--bw-shadow); }
.card .card-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .05);
}
.card h3 { font-size: 18.5px; }
.card p { color: var(--bw-muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Langkah 4 panduan ---------- */
.step-card { position: relative; overflow: hidden; }
.step-card .step-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 64px; font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 194, 51, .32);
  line-height: 1;
}
.step-card .card-ico { background: linear-gradient(135deg, rgba(232, 40, 63, .22), rgba(255, 194, 51, .18)); }
.step-link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--bw-gold); }

/* ---------- Kartu promo ---------- */
.promo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.promo-card .promo-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card .promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.promo-card:hover .promo-media img { transform: scale(1.06); }
.promo-card .promo-tag {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--bw-red-dark), var(--bw-red));
  color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.promo-card .promo-tag.green { background: linear-gradient(135deg, var(--bw-green-dark), var(--bw-green)); }
.promo-card .promo-tag.blue { background: linear-gradient(135deg, var(--bw-blue-dark), var(--bw-blue)); }
.promo-card .promo-tag.gold { background: linear-gradient(135deg, var(--bw-gold-2), var(--bw-gold)); color: #241a02; }
.promo-card .promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-card h3 { font-size: 17.5px; margin: 0; }
.promo-card .promo-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-card .promo-meta span {
  font-size: 12px; font-weight: 700;
  color: var(--bw-muted);
  border: 1px solid var(--bw-line);
  padding: 4px 10px; border-radius: 999px;
}
.promo-card p { color: var(--bw-muted); font-size: 14px; margin: 0; }
.promo-card .promo-cta { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Testimoni ---------- */
.testi-card { display: flex; flex-direction: column; gap: 12px; }
.testi-stars { color: var(--bw-gold); letter-spacing: 3px; font-size: 15px; }
.testi-text { color: var(--bw-white); font-size: 14.5px; font-style: italic; margin: 0; }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.testi-user .name { font-weight: 800; font-size: 14.5px; }
.testi-user .role { font-size: 12.5px; color: var(--bw-muted); }

/* ---------- Bagian mobile ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.phone-wrap { position: relative; width: min(300px, 78%); margin: 0 auto; }
.phone-mock {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 34px;
  border: 8px solid #1c2436;
  background: var(--bw-black);
  box-shadow: var(--bw-shadow), 0 0 0 1px var(--bw-line);
  overflow: hidden;
  aspect-ratio: 9 / 18.5;
}
.phone-mock img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 20px; border-radius: 999px;
  background: #1c2436; z-index: 2;
}
.phone-float-chip {
  position: absolute;
  background: rgba(15, 20, 31, .94);
  border: 1px solid var(--bw-line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px; font-weight: 800;
  box-shadow: var(--bw-shadow);
  z-index: 3;
}
.phone-float-chip.a { top: 12%; left: -14%; border-color: rgba(30, 198, 117, .5); }
.phone-float-chip.b { bottom: 14%; right: -12%; border-color: rgba(61, 139, 255, .5); }

.feature-list { list-style: none; margin: 20px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .fi {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: rgba(30, 198, 117, .13);
}
.feature-list .fi.blue { background: rgba(61, 139, 255, .13); }
.feature-list .fi.gold { background: rgba(255, 194, 51, .13); }
.feature-list .fi.red { background: rgba(232, 40, 63, .15); }
.feature-list b { display: block; font-size: 15px; }
.feature-list span { color: var(--bw-muted); font-size: 14px; }

/* ---------- Pencocok permainan (section inovatif) ---------- */
.matcher-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bw-surface), var(--bw-black-2));
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius-lg);
  padding: 34px 30px;
  box-shadow: var(--bw-shadow);
}
.matcher-progress { display: flex; gap: 8px; margin-bottom: 24px; }
.matcher-progress i { flex: 1; height: 5px; border-radius: 99px; background: var(--bw-line); transition: background .3s; }
.matcher-progress i.on { background: linear-gradient(90deg, var(--bw-gold-2), var(--bw-gold)); }
.matcher-q { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.matcher-hint { color: var(--bw-muted); font-size: 14px; margin-bottom: 20px; }
.matcher-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.matcher-opt {
  background: var(--bw-surface-2);
  border: 1.6px solid var(--bw-line);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
  color: var(--bw-white);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .18s, transform .18s, background .18s;
  display: flex; align-items: center; gap: 12px;
}
.matcher-opt:hover { border-color: var(--bw-gold); transform: translateY(-2px); background: #202a3f; }
.matcher-opt .mo-ico { font-size: 22px; }
.matcher-opt small { display: block; color: var(--bw-muted); font-weight: 600; font-size: 12.5px; }
.matcher-result { text-align: center; padding: 8px 0; }
.matcher-result .mr-ico { font-size: 52px; margin-bottom: 10px; }
.matcher-result h3 { font-size: 22px; color: var(--bw-gold); }
.matcher-result p { color: var(--bw-muted); max-width: 520px; margin: 0 auto 20px; font-size: 14.5px; }
.matcher-note { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--bw-muted); }
.matcher-restart {
  background: none; border: none; color: var(--bw-blue);
  font-weight: 800; cursor: pointer; font-family: inherit; font-size: 14px;
  text-decoration: underline; margin-top: 12px;
}

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--bw-line); border-radius: var(--bw-radius); background: var(--bw-surface); }
table.bw-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.bw-table th, .bw-table td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--bw-line); }
.bw-table th {
  background: var(--bw-surface-2);
  color: var(--bw-gold);
  font-weight: 800;
  white-space: nowrap;
}
.bw-table tr:last-child td { border-bottom: none; }
.bw-table td { color: var(--bw-muted); }
.bw-table td b { color: var(--bw-white); }

/* ---------- Artikel / entry-content ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(61, 139, 255, .16), transparent 60%),
    radial-gradient(700px 340px at 8% -30%, rgba(232, 40, 63, .22), transparent 60%),
    var(--bw-black-2);
  border-bottom: 1px solid var(--bw-line);
}
.page-hero-inner {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 46px 20px 42px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); }
.page-hero .lede { color: var(--bw-muted); font-size: 16px; max-width: 640px; }
.page-hero figure { margin: 0; }
.page-hero figure img {
  border-radius: var(--bw-radius-lg);
  border: 1px solid var(--bw-line);
  box-shadow: var(--bw-shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.page-hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.article-layout {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 40px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.entry-content { min-width: 0; }
.entry-content h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  margin: 1.6em 0 .55em;
  padding-left: 14px;
  border-left: 4px solid var(--bw-gold);
}
.entry-content h3 { font-size: 18.5px; margin: 1.4em 0 .5em; color: var(--bw-gold); }
.entry-content p { color: #cfd8e8; font-size: 15.5px; }
.entry-content ul, .entry-content ol { color: #cfd8e8; padding-left: 22px; margin: 0 0 1.15em; display: flex; flex-direction: column; gap: 7px; font-size: 15.5px; }
.entry-content img { border-radius: var(--bw-radius); border: 1px solid var(--bw-line); margin: 1.4em 0; }
.entry-content figure figcaption { font-size: 13px; color: var(--bw-muted); text-align: center; margin-top: -0.8em; }
.entry-content .callout {
  background: rgba(61, 139, 255, .08);
  border: 1px solid rgba(61, 139, 255, .35);
  border-radius: var(--bw-radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: #cfe0ff;
  margin: 1.4em 0;
}
.entry-content .callout.warn {
  background: rgba(255, 194, 51, .07);
  border-color: rgba(255, 194, 51, .4);
  color: #ffe9b3;
}
.entry-content .callout b { color: #fff; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--bw-muted); margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--bw-line); }

/* sidebar widget */
.widget-area { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 84px; }
.widget {
  background: linear-gradient(180deg, var(--bw-surface), var(--bw-black-2));
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius-lg);
  padding: 22px;
}
.widget-title {
  font-size: 15.5px; margin: 0 0 14px;
  color: var(--bw-gold);
  display: flex; align-items: center; gap: 8px;
}
.widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.widget ul a { color: var(--bw-white); font-size: 14px; font-weight: 600; display: flex; gap: 8px; }
.widget ul a:hover { color: var(--bw-gold); }
.widget ul a::before { content: "›"; color: var(--bw-red-2); font-weight: 900; }
.widget .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .tag-cloud a {
  font-size: 12.5px; font-weight: 700;
  background: var(--bw-surface-2);
  border: 1px solid var(--bw-line);
  color: var(--bw-muted);
  padding: 6px 12px; border-radius: 999px;
}
.widget .tag-cloud a::before { content: none; }
.widget .tag-cloud a:hover { color: var(--bw-gold); border-color: var(--bw-gold); }
.widget-promo-cta {
  background: linear-gradient(150deg, rgba(232, 40, 63, .2), rgba(255, 194, 51, .12));
  border: 1px solid rgba(232, 40, 63, .4);
  border-radius: var(--bw-radius-lg);
  padding: 22px; text-align: center;
}
.widget-promo-cta p { font-size: 13.5px; color: var(--bw-muted); margin: 0 0 14px; }

/* ---------- Kartu kategori di beranda ---------- */
.game-cat-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.game-cat-card .gcc-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.game-cat-card .gcc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-cat-card:hover .gcc-media img { transform: scale(1.07); }
.game-cat-card .gcc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 20, .88));
}
.game-cat-card .gcc-body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-cat-card h3 { margin: 0; font-size: 18px; }
.game-cat-card p { color: var(--bw-muted); font-size: 14px; margin: 0; }
.game-cat-card .gcc-cta { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 13.5px; color: var(--bw-gold); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: linear-gradient(180deg, var(--bw-surface), var(--bw-black-2));
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 800;
  font-size: 15.5px;
  display: flex; align-items: center; gap: 12px;
  transition: background .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bw-surface-2); }
.faq-item summary .faq-q-ico {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(232, 40, 63, .16);
  color: var(--bw-red-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px;
  transition: transform .25s;
}
.faq-item[open] summary .faq-q-ico { transform: rotate(45deg); background: var(--bw-red); color: #fff; }
.faq-item .faq-a { padding: 0 20px 18px 58px; color: var(--bw-muted); font-size: 14.5px; }
.faq-item .faq-a p { margin-bottom: .6em; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Aman & privasi / tanggung jawab ---------- */
.sec-grid-icons .card .card-ico { background: rgba(61, 139, 255, .12); }
.rg-box {
  border: 1px solid rgba(30, 198, 117, .4);
  background: linear-gradient(180deg, rgba(30, 198, 117, .08), transparent);
  border-radius: var(--bw-radius-lg);
  padding: 26px;
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--bw-red-2);
  color: var(--bw-red-2);
  font-weight: 900; font-size: 19px;
  background: rgba(232, 40, 63, .08);
  margin-bottom: 14px;
}
.rg-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.rg-list li { display: flex; gap: 10px; font-size: 14.5px; color: #cfd8e8; }
.rg-list li::before { content: "✓"; color: var(--bw-green); font-weight: 900; flex-shrink: 0; }

/* ---------- Tag cloud pencarian populer ---------- */
.hot-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hot-tags a {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bw-surface);
  border: 1px solid var(--bw-line);
  color: var(--bw-white);
  font-size: 13.5px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
  transition: border-color .18s, transform .18s;
}
.hot-tags a:hover { border-color: var(--bw-red-2); transform: translateY(-2px); color: var(--bw-gold); }
.hot-tags .fire { color: var(--bw-red-2); }
.hot-tags a:nth-child(3n) .fire { color: var(--bw-gold); }
.hot-tags a:nth-child(4n) .fire { color: var(--bw-green); }
.hot-tags a:nth-child(5n) .fire { color: var(--bw-blue); }

/* ==========================================================================
   5. Search overlay
   ========================================================================== */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(6, 8, 13, .82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 12vh 20px 20px;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(680px, 100%);
  background: var(--bw-surface);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius-lg);
  box-shadow: var(--bw-shadow);
  overflow: hidden;
}
.search-bar { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--bw-line); }
.search-bar svg { width: 20px; height: 20px; stroke: var(--bw-gold); fill: none; stroke-width: 2.2; flex-shrink: 0; }
.search-bar input {
  flex: 1; min-width: 0;
  background: none; border: none; outline: none;
  color: var(--bw-white); font-family: inherit; font-size: 16.5px; font-weight: 600;
}
.search-bar input::placeholder { color: var(--bw-muted); }
.search-close {
  background: var(--bw-surface-2); border: 1px solid var(--bw-line);
  color: var(--bw-white); width: 34px; height: 34px;
  border-radius: 9px; cursor: pointer; font-size: 16px; font-weight: 800;
  flex-shrink: 0;
}
.search-results { max-height: 46vh; overflow-y: auto; padding: 10px; }
.search-results .sr-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px; border-radius: 12px;
}
.search-results .sr-item:hover, .search-results .sr-item:focus { background: var(--bw-surface-2); outline: none; }
.search-results .sr-title { font-weight: 800; font-size: 14.5px; color: var(--bw-white); }
.search-results .sr-title mark { background: rgba(255, 194, 51, .3); color: var(--bw-gold); border-radius: 3px; padding: 0 2px; }
.search-results .sr-desc { font-size: 13px; color: var(--bw-muted); }
.search-empty { text-align: center; color: var(--bw-muted); padding: 22px 10px; font-size: 14px; }
.search-suggest { padding: 14px 18px; border-top: 1px solid var(--bw-line); }
.search-suggest .label { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--bw-muted); margin-bottom: 10px; }

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--bw-line);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(232, 40, 63, .1), transparent 60%),
    var(--bw-black-2);
}
.footer-inner {
  max-width: var(--bw-max);
  margin: 0 auto;
  padding: 52px 20px 26px;
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 38px; }
.footer-brand p { color: var(--bw-muted); font-size: 13.5px; margin: 14px 0 18px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-badges .fb {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--bw-line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px; font-weight: 800;
  color: var(--bw-muted);
  background: var(--bw-surface);
}
.footer-col h4 { font-size: 14.5px; color: var(--bw-gold); letter-spacing: .6px; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--bw-muted); font-size: 14px; font-weight: 600; }
.footer-col ul a:hover { color: var(--bw-gold); }
.footer-legal {
  border-top: 1px solid var(--bw-line);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--bw-muted);
  text-align: center;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-legal .fl-strong { color: #c6d0e2; }
.footer-copy { font-size: 13px; }

/* ==========================================================================
   7. Tombol mengambang gaya slot (konversi)
   ========================================================================== */
.bw-float {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 14px;
  z-index: 950;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.bw-float-btn {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .5px;
  color: #fff;
  overflow: visible;
  isolation: isolate;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.bw-float-btn:active { transform: translateY(1px); }
.bw-float-daftar {
  background: linear-gradient(160deg, #ff5a71, var(--bw-red) 45%, #a3112a);
  animation: bw-btn-pulse 2s infinite;
}
.bw-float-masuk {
  background: linear-gradient(160deg, #ffdc6a, var(--bw-gold) 45%, #cf8a0a);
  color: #2a1e03;
  animation: bw-btn-pulse 2s .35s infinite;
}
@keyframes bw-btn-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 0 0 rgba(255, 90, 113, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 0 12px rgba(255, 90, 113, 0), inset 0 1px 0 rgba(255, 255, 255, .25); }
}
/* mini gulungan slot */
.bw-slot-reels { display: flex; gap: 3px; }
.bw-reel {
  width: 22px; height: 26px;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff8e1, #ffe9a8);
  border: 1.6px solid #b98914;
  overflow: hidden;
  position: relative;
}
.bw-reel::before {
  content: "7\A🍒\A⭐\A💎\A7\A🍒\A⭐\A💎\A7";
  white-space: pre;
  display: block;
  text-align: center;
  line-height: 26px;
  font-size: 15px;
  font-weight: 900;
  color: #b0162c;
  animation: bw-reel-spin 2.4s linear infinite;
}
.bw-reel:nth-child(2)::before { animation-delay: .2s; }
.bw-reel:nth-child(3)::before { animation-delay: .45s; }
@keyframes bw-reel-spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-208px); }
}
/* koin emas meloncat */
.bw-coin {
  position: absolute;
  bottom: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3b0, var(--bw-gold) 55%, #b8860b);
  border: 1.5px solid #9c6f07;
  box-shadow: 0 0 8px rgba(255, 194, 51, .8);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.bw-float-btn .bw-coin.c1 { left: 16%; animation: bw-coin-rise 2.1s ease-in infinite .1s; }
.bw-float-btn .bw-coin.c2 { left: 38%; animation: bw-coin-rise 2.1s ease-in infinite .75s; }
.bw-float-btn .bw-coin.c3 { left: 60%; animation: bw-coin-rise 2.1s ease-in infinite 1.3s; }
.bw-float-btn .bw-coin.c4 { left: 82%; animation: bw-coin-rise 2.1s ease-in infinite 1.7s; }
@keyframes bw-coin-rise {
  0% { transform: translate(0, 0) scale(.5) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(var(--bw-cx, 8px), -92px) scale(1.05) rotate(220deg); opacity: 0; }
}
.bw-float-btn .bw-coin.c1 { --bw-cx: 10px; }
.bw-float-btn .bw-coin.c2 { --bw-cx: -12px; }
.bw-float-btn .bw-coin.c3 { --bw-cx: 14px; }
.bw-float-btn .bw-coin.c4 { --bw-cx: -9px; }

/* ==========================================================================
   8. Form (daftar / masuk)
   ========================================================================== */
.auth-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 46px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.auth-card {
  background: linear-gradient(180deg, var(--bw-surface), var(--bw-black-2));
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius-lg);
  padding: 34px 32px;
  box-shadow: var(--bw-shadow);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--bw-muted); font-size: 14px; margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 7px; color: var(--bw-white); }
.form-row label .req { color: var(--bw-red-2); }
.form-row input, .form-row select {
  width: 100%;
  background: var(--bw-black-2);
  border: 1.6px solid var(--bw-line);
  border-radius: 12px;
  color: var(--bw-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 15px;
  outline: none;
  transition: border-color .18s;
}
.form-row input:focus, .form-row select:focus { border-color: var(--bw-gold); }
.form-row input::placeholder { color: #5d6b85; font-weight: 500; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--bw-muted); margin: 4px 0 18px; }
.form-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--bw-red); flex-shrink: 0; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--bw-muted); margin-top: 18px; }
.auth-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--bw-muted);
  background: rgba(255, 194, 51, .06);
  border: 1px dashed rgba(255, 194, 51, .35);
  border-radius: 10px;
  padding: 10px 14px;
}
.auth-side h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.auth-side p { color: var(--bw-muted); font-size: 15px; }
.auth-steps { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.auth-steps li { display: flex; gap: 14px; align-items: center; }
.auth-steps .as-num {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bw-red-dark), var(--bw-red));
  color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.auth-steps b { display: block; font-size: 14.5px; }
.auth-steps span { font-size: 13px; color: var(--bw-muted); }

/* halaman promo full CTA banner */
.promo-banner {
  position: relative;
  border-radius: var(--bw-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bw-line);
  margin-bottom: 34px;
}
.promo-banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.promo-banner .pb-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px;
  padding: 30px clamp(20px, 5vw, 54px);
  background: linear-gradient(90deg, rgba(10, 13, 20, .92) 25%, rgba(10, 13, 20, .35));
}
.promo-banner .pb-title { font-size: clamp(22px, 3.4vw, 34px); margin: 0; }
.promo-banner .pb-sub { color: #d7dfee; font-size: 14.5px; max-width: 520px; margin: 0; }

/* ==========================================================================
   9. Responsif
   ========================================================================== */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .widget-area { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; order: 3; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bw-black-2);
    border-bottom: 1px solid var(--bw-line);
    padding: 12px 20px 18px;
    margin: 0;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 6px; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 20px 50px; gap: 34px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; padding-bottom: 110px; }
  .header-actions .btn { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .custom-logo { height: 34px; }
  .header-inner { gap: 10px; padding: 10px 14px; }
  .header-search-toggle, .nav-toggle { width: 38px; height: 38px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 9px 14px; font-size: 12.5px; }
  .hero-chip.c1 { left: 8px; top: 8px; }
  .hero-chip.c2 { right: 8px; bottom: 8px; }
  .matcher-opts { grid-template-columns: 1fr; }
  .matcher-wrap { padding: 24px 18px; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .bw-float { gap: 8px; bottom: 10px; width: calc(100% - 24px); max-width: 420px; }
  .bw-float-btn { flex: 1; justify-content: center; padding: 11px 10px; font-size: 15px; }
  .faq-item .faq-a { padding-left: 20px; }
  .phone-float-chip.a { left: -4%; }
  .phone-float-chip.b { right: -3%; }
  .header-actions .btn-masuk-hide { display: none; }
  .entry-content h2 { font-size: 20px; }
  .entry-content, .entry-content p, .entry-content ul, .entry-content ol { font-size: 15px; }
}

@media (max-width: 380px) {
  .custom-logo { height: 28px; }
  .header-inner { padding: 10px; gap: 6px; }
  .header-search-toggle, .nav-toggle { width: 34px; height: 34px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 10px; font-size: 11px; }
  .btn { white-space: normal; }
  .bw-float-btn { font-size: 14px; padding: 10px 8px; white-space: nowrap; }
  .phone-float-chip { font-size: 11px; padding: 8px 10px; }
}

/* animasi utilitas */
@keyframes bw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.35); }
}
.fade-up { animation: bw-fade-up .7s ease both; }
@keyframes bw-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
