/* =========================================================================
   rd-base.css — Gaya redesign bersama (desktop + mobile) dan header desktop (Tahap 2).
   Semua selector diawali .rd- agar tidak bentrok dengan CSS lama.
   Warna mengikuti variabel tema panel (theme_render.php) dengan fallback.
   ========================================================================= */
:root {
  --rd-accent: var(--pw-accent, #f2c14e);
  --rd-accent-2: #c8922a;
  --rd-bg: var(--pw-body-bg, #0b0b0d);
  --rd-head: var(--pw-header-bg, #121214);
  --rd-card: var(--pw-card-bg, #1a1a1e);
  --rd-text: var(--pw-text, #f3f3f3);
  --rd-muted: var(--pw-text-muted, #a7a7ad);
  --rd-border: var(--pw-border, rgba(255, 255, 255, .09));
  --rd-gold-text: #1a1206; /* teks di atas tombol emas: selalu gelap agar kontras (bukan --pw-gold-text yang berarti teks berwarna emas) */
  --rd-foot: var(--pw-footer-bg, #0f0f11);
  --rd-danger: var(--pw-danger, #e5484d);
  --rd-ok: #3dd68c;
  --rd-w: 824px;
  --rd-r: 10px;
  --rd-gold-grad: linear-gradient(180deg, #ffe08a 0%, var(--rd-accent) 45%, var(--rd-accent-2) 100%);
}

/* ---------- Dasar (hanya bila body memakai kelas rd) ---------- */
body.rd-body {
  background: var(--rd-bg) radial-gradient(1200px 600px at 50% -10%, rgba(242, 193, 78, .10), transparent 70%) fixed;
  color: var(--rd-text);
  font-family: "Segoe UI", Roboto, "Noto Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}
body.rd-body:lang(zh-Hans) { letter-spacing: .02em; }
.rd-body *, .rd-body *::before, .rd-body *::after { box-sizing: border-box; }
.rd-wrap { width: 100%; max-width: var(--rd-w); margin: 0 auto; padding: 0 12px; }
.rd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--rd-accent); color: var(--rd-gold-text); padding: 8px 14px; border-radius: 0 0 8px 0; font-weight: 700; }
.rd-skip:focus { left: 0; }
.rd-body a:focus-visible, .rd-body button:focus-visible, .rd-body input:focus-visible, .rd-body [tabindex]:focus-visible {
  outline: 2px solid var(--rd-accent); outline-offset: 2px;
}

/* Ikon Font Awesome: CSS lama memaksa font icomoon pada <i>; pulihkan khusus .rd */
.rd-body i.fa-solid, .rd-body i.fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; font-style: normal; }
.rd-body i.fa-regular { font-weight: 400 !important; }
.rd-body i.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; font-style: normal; }
.rd-pill-input, .rd-pill-input::placeholder { letter-spacing: normal !important; }

/* ---------- Tombol ---------- */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 30px; padding: 4px 14px; border-radius: 6px; border: 1px solid var(--rd-accent);
  font-size: 13px; font-weight: 700; line-height: 1.1; white-space: nowrap; cursor: pointer;
  text-decoration: none !important; transition: filter .15s, background-color .15s;
}
.rd-btn-gold { background: var(--rd-gold-grad); color: var(--rd-gold-text) !important; border-color: transparent; }
.rd-btn-gold:hover { filter: brightness(1.08); }
.rd-btn-ghost { background: transparent; color: var(--rd-accent) !important; }
.rd-btn-ghost:hover { background: rgba(242, 193, 78, .12); }
.rd-btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.rd-header { position: sticky; top: 0; z-index: 1000; background: var(--rd-head); box-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.rd-topbar { background: rgba(0, 0, 0, .45); border-bottom: 1px solid var(--rd-border); }
.rd-topbar-in { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 40px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.rd-inline-login, .rd-userbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.rd-pill-input {
  width: 128px; height: 30px; padding: 0 12px; border-radius: 6px; font-size: 13px;
  background: #fff; color: #111; border: 1px solid transparent;
}
.rd-pill-input::placeholder { color: #8a8a8a; -webkit-text-fill-color: #8a8a8a; }
.rd-pill-input { -webkit-text-fill-color: #111; }
.rd-inline-msg {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; max-width: 320px;
  background: var(--rd-danger); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px;
}
.rd-inline-msg.is-ok { background: var(--rd-ok); color: #06210f; }
.rd-user { color: var(--rd-text); font-size: 13px; font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-user i { color: var(--rd-accent); }
.rd-bal {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--rd-border); color: var(--rd-text); font-size: 13px; cursor: pointer;
}
.rd-bal-label { color: var(--rd-muted); }
.rd-bal .bal-txt { color: var(--rd-accent); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Popover (akun / bahasa) */
.rd-pop { position: relative; }
.rd-pop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 1100; min-width: 200px;
  margin: 0; padding: 6px; list-style: none; background: #17171a; border: 1px solid var(--rd-border); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.rd-pop-right { left: auto; right: 0; }
.rd-pop-menu.is-open, .rd-pop.is-open > .rd-pop-menu { display: block; }
.rd-pop-menu a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px;
  color: var(--rd-text) !important; text-decoration: none !important; font-size: 13px;
}
.rd-pop-menu a:hover, .rd-pop-menu a.is-active { background: rgba(242, 193, 78, .14); color: var(--rd-accent) !important; }
.rd-pop-menu i { width: 16px; text-align: center; color: var(--rd-accent); }
.rd-lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px;
  background: transparent; border: 1px solid var(--rd-border); color: var(--rd-text); font-size: 13px; cursor: pointer;
}
.rd-lang-btn .fa-chevron-down { font-size: 10px; color: var(--rd-muted); }

/* Bendera — digambar CSS, tanpa aset pihak ketiga */
.rd-flag { display: inline-block; width: 20px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); background-size: cover; }
.rd-flag-my { background:
  linear-gradient(#0b3d91, #0b3d91) 0 0 / 50% 57% no-repeat,
  repeating-linear-gradient(180deg, #cc0001 0 1px, #fff 1px 2px); }
.rd-flag-gb { background:
  linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
  linear-gradient(0deg, transparent 38%, #c8102e 38% 62%, transparent 62%),
  linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%),
  linear-gradient(0deg, transparent 30%, #fff 30% 70%, transparent 70%), #012169; }
.rd-flag-cn { background: radial-gradient(circle at 26% 34%, #ffde00 0 14%, transparent 15%), #de2910; }

/* Baris logo + navigasi ikon */
.rd-mainbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.rd-logo { flex: none; display: block; line-height: 0; }
.rd-logo img { max-height: 48px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.rd-nav { min-width: 0; }
.rd-nav-list { display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rd-nav-item { position: static; }
.rd-nav-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 58px; height: 56px; padding: 4px 6px; border-radius: 8px; border: 1px solid transparent;
  color: var(--rd-text) !important; text-decoration: none !important; font-size: 11.5px; font-weight: 600; text-align: center;
}
.rd-nav-link i { font-size: 19px; color: var(--rd-accent); transition: transform .15s; }
.rd-nav-link span { max-width: 74px; line-height: 1.15; overflow-wrap: anywhere; }
.rd-nav-link:hover i { transform: translateY(-2px); }
.rd-nav-item.is-active > .rd-nav-link, .rd-nav-link:hover, .rd-nav-item.has-mega:focus-within > .rd-nav-link {
  background: linear-gradient(180deg, rgba(242, 193, 78, .22), rgba(242, 193, 78, .06));
  border-color: rgba(242, 193, 78, .45);
}
.rd-nav-item.is-active > .rd-nav-link span { color: var(--rd-accent); }

/* Mega menu (dibuka dengan hover dan fokus keyboard) */
.rd-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 999;
  background: rgba(14, 14, 16, .97); border-top: 2px solid var(--rd-accent); box-shadow: 0 18px 36px rgba(0, 0, 0, .65);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.rd-nav-item.has-mega:hover > .rd-mega, .rd-nav-item.has-mega:focus-within > .rd-mega { opacity: 1; visibility: visible; transform: none; }
.rd-mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.rd-mega-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 8px;
  color: var(--rd-text) !important; text-decoration: none !important; font-size: 12px; text-align: center;
}
.rd-mega-item:hover, .rd-mega-item:focus-visible { background: rgba(242, 193, 78, .1); color: var(--rd-accent) !important; }
.rd-mega-img {
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px;
  background: #222227; overflow: hidden;
}
.rd-mega-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.rd-mega-img b { font-size: 20px; color: var(--rd-accent); }
.rd-mega-more .rd-mega-img { background: rgba(242, 193, 78, .1); font-size: 26px; color: var(--rd-accent); }
.rd-mega-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-header .rd-mainbar { position: relative; }

/* ---------- Konten ---------- */
.rd-main { display: block; padding-bottom: 24px; }
.rd-home { padding-top: 10px; }
.rd-section { margin-top: 18px; }

/* Bar pengumuman */
.rd-announce {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--rd-border); overflow: hidden;
}
.rd-announce > i { color: var(--rd-accent); flex: none; }
.rd-marquee { position: relative; flex: 1; overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--rd-text); }
.rd-marquee > span { display: inline-block; padding-left: 100%; animation: rd-marq 26s linear infinite; }
.rd-announce:hover .rd-marquee > span { animation-play-state: paused; }
@keyframes rd-marq { to { transform: translateX(-100%); } }

/* Banner slider (gambar dari tabel banners, dikelola panel) */
.rd-banner { position: relative; margin-top: 10px; border-radius: var(--rd-r); overflow: hidden; background: #000; aspect-ratio: 1920 / 600; }
.rd-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s; }
.rd-slide.is-active { opacity: 1; visibility: visible; }
.rd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-banner-prev, .rd-banner-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; font-size: 14px;
}
.rd-banner-prev { left: 10px; } .rd-banner-next { right: 10px; }
.rd-banner-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.rd-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.rd-dot.is-active { width: 22px; border-radius: 4px; background: var(--rd-accent); }
.rd-banner-empty { display: flex; align-items: center; justify-content: center; color: var(--rd-muted); font-size: 14px; }

/* Jackpot odometer (paparan digenerate script) */
.rd-jackpot {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 14px; padding: 12px 16px 10px; border-radius: 14px;
  background: linear-gradient(180deg, #3a2a0b, #1a1206 60%, #0e0a03); border: 2px solid #8a6420;
  box-shadow: inset 0 0 0 1px rgba(255, 224, 138, .25), 0 6px 24px rgba(242, 193, 78, .15);
}
.rd-jp-crown { flex: none; width: 64px; height: 50px; }
.rd-jp-body { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.rd-jp-title { font-size: 13px; letter-spacing: .25em; font-weight: 800; color: #ffe08a; text-transform: uppercase; }
.rd-jp-row { display: flex; align-items: center; gap: 10px; }
.rd-jp-cur { font-weight: 800; font-size: 20px; color: #ffe08a; }
.rd-jp-digits { display: flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.rd-jp-d {
  position: relative; display: inline-block; width: 30px; height: 42px; overflow: hidden; border-radius: 5px;
  background: linear-gradient(180deg, #fff6d8, #f2d48a 48%, #e4b85a 52%, #fbe9b3); color: #1a1206;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 1px 0 rgba(255, 255, 255, .4);
}
.rd-jp-d i { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; font-style: normal; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.rd-jp-d b { display: block; height: 42px; line-height: 42px; text-align: center; font-size: 28px; font-weight: 900; }
.rd-jp-sep { display: inline-block; width: 8px; text-align: center; font-size: 26px; font-weight: 900; color: #ffe08a; }
.rd-jp-note { font-size: 10.5px; color: var(--rd-muted); }

/* Judul seksi model tab emas */
.rd-tab-title { display: flex; justify-content: center; margin: 22px 0 -1px; position: relative; z-index: 1; }
.rd-tab-title > span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 26px; border-radius: 10px 10px 0 0;
  background: var(--rd-gold-grad); color: var(--rd-gold-text); font-weight: 800; font-size: 14px; text-transform: uppercase;
}
.rd-heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 10px; font-size: 18px; font-weight: 800; color: var(--rd-text); }
.rd-heading::before, .rd-heading::after { content: ""; width: 60px; height: 2px; background: var(--rd-gold-grad); }

.rd-panel { background: var(--rd-card); border: 1px solid var(--rd-border); border-radius: var(--rd-r); padding: 12px; }

/* Permainan Panas: panel seni + grid 5x3 */
.rd-hot { display: grid; grid-template-columns: 220px 1fr; gap: 12px; }
.rd-hot-art {
  align-self: stretch; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 100%; padding: 14px; border-radius: var(--rd-r); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 10%, #7a1515 0%, #3a0909 55%, #160303 100%);
  border: 1px solid #8a6420;
}
.rd-hot-art svg { width: 70%; max-width: 150px; height: auto; }
.rd-hot-art strong {
  padding: 6px 16px; border-radius: 6px; background: var(--rd-gold-grad); color: var(--rd-gold-text);
  font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
.rd-grid { display: grid; gap: 8px; }
.rd-grid-5 { grid-template-columns: repeat(5, 1fr); }
.rd-grid-8 { grid-template-columns: repeat(8, 1fr); }

/* Kartu game */
.rd-game { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #222227; text-decoration: none !important; }
.rd-game[hidden] { display: none; }
.rd-game-img { display: block; aspect-ratio: 1 / 1; width: 100%; }
.rd-game-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.rd-game-name {
  display: block; padding: 4px 5px; font-size: 11px; line-height: 1.25; color: var(--rd-text); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(0, 0, 0, .55);
}
.rd-game-play {
  position: absolute; inset: 0 0 auto 0; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s;
}
.rd-game-play > span { padding: 5px 12px; border-radius: 20px; background: var(--rd-gold-grad); color: var(--rd-gold-text); font-weight: 800; font-size: 12px; }
.rd-game:hover .rd-game-play, .rd-game:focus-visible .rd-game-play { opacity: 1; }
.rd-game:hover .rd-game-img img { transform: scale(1.06); }

/* Scroller provider */
.rd-scroller { position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.rd-scroll-track { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; padding: 2px; }
.rd-scroll-track::-webkit-scrollbar { display: none; }
.rd-scroll-prev, .rd-scroll-next {
  flex: none; width: 26px; height: 46px; border-radius: 6px; border: 0; cursor: pointer;
  background: var(--rd-gold-grad); color: var(--rd-gold-text); font-size: 13px;
}
.rd-scroll-prev[disabled], .rd-scroll-next[disabled] { opacity: .35; cursor: default; }
.rd-prov {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; width: 116px; height: 46px; padding: 4px 8px;
  border-radius: 8px; background: #222227; border: 1px solid var(--rd-border); color: var(--rd-text) !important;
  text-decoration: none !important; font-size: 12px; font-weight: 700; overflow: hidden;
}
.rd-prov img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rd-prov.is-active { border-color: var(--rd-accent); background: rgba(242, 193, 78, .14); color: var(--rd-accent) !important; }
.rd-prov-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cari + pager */
.rd-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.rd-tools-title { font-weight: 700; color: var(--rd-accent); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-search { position: relative; }
.rd-search input {
  width: 220px; height: 32px; padding: 0 12px 0 32px; border-radius: 16px; border: 1px solid var(--rd-border);
  background: #111114; color: var(--rd-text); font-size: 13px;
}
.rd-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--rd-muted); font-size: 12px; }
.rd-pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.rd-pg {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--rd-border);
  background: #17171a; color: var(--rd-text); font-size: 12px; cursor: pointer;
}
.rd-pg.is-active { background: var(--rd-gold-grad); color: var(--rd-gold-text); border-color: transparent; font-weight: 800; }
.rd-pg[disabled] { opacity: .4; cursor: default; }
.rd-pg-gap { color: var(--rd-muted); padding: 0 4px; }
.rd-empty { padding: 26px 10px; text-align: center; color: var(--rd-muted); font-size: 13px; }

/* ---------- Footer ---------- */
.rd-footer { margin-top: 30px; background: var(--rd-foot); border-top: 2px solid rgba(242, 193, 78, .35); padding: 24px 0 16px; color: var(--rd-muted); font-size: 13px; }
.rd-foot-title { color: var(--rd-accent); font-weight: 700; font-size: 13px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; }
.rd-foot-provs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.rd-foot-prov { display: flex; align-items: center; justify-content: center; height: 38px; padding: 4px; border-radius: 6px; background: rgba(255, 255, 255, .04); overflow: hidden; }
.rd-foot-prov img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(.4) brightness(1.1); opacity: .85; }
.rd-foot-prov span { font-size: 11px; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-foot-provider-image { width: 100%; max-width: 1079px; margin: 0 auto; }
.rd-foot-provider-image img { display: block; width: 100%; height: auto; max-width: 100%; filter: none; opacity: 1; }
.rd-foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 22px; }
.rd-foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rd-foot-links a { color: var(--rd-text) !important; text-decoration: none !important; }
.rd-foot-links a:hover { color: var(--rd-accent) !important; }
.rd-foot-pay img { max-width: 150px; border-radius: 8px; }
.rd-foot-bottom { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rd-border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.rd-age { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rd-danger); color: var(--rd-danger); font-weight: 800; font-size: 11px; margin-right: 8px; }

/* Ikon melayang (kontak dari panel) */
.rd-float { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.rd-float a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--rd-gold-grad); color: var(--rd-gold-text) !important; font-size: 19px; text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.rd-float a:hover { filter: brightness(1.1); }

/* ---------- Responsif desktop-site (tablet 768–1024) ---------- */
@media (max-width: 1024px) {
  .rd-mainbar-in { flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 6px; }
  .rd-nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .rd-nav-list { justify-content: center; }
  .rd-mega { display: none; }
  .rd-grid-8 { grid-template-columns: repeat(6, 1fr); }
  .rd-foot-provs { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .rd-nav-list { justify-content: flex-start; }
  .rd-hot { grid-template-columns: 1fr; }
  .rd-hot-art { flex-direction: row; justify-content: center; min-height: 0; padding: 10px; }
  .rd-hot-art svg { width: 54px; }
  .rd-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .rd-grid-8 { grid-template-columns: repeat(4, 1fr); }
  .rd-foot-provs { grid-template-columns: repeat(4, 1fr); }
  .rd-foot-cols { grid-template-columns: 1fr; }
  .rd-pill-input { width: 110px; }
  .rd-jp-d { width: 22px; height: 32px; } .rd-jp-d b { height: 32px; line-height: 32px; font-size: 21px; }
  .rd-jp-crown { width: 44px; }
  .rd-float { top: auto; bottom: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-marquee > span { animation: none; padding-left: 0; }
  .rd-slide, .rd-mega, .rd-jp-d i, .rd-game-img img, .rd-nav-link i { transition: none !important; }
  .rd-scroll-track { scroll-behavior: auto; }
}

/* util */
.rd-center { text-align: center; margin: 14px 0 0; }
.btn-refresh-wallet.is-busy i { animation: rd-spin .8s linear infinite; }
@keyframes rd-spin { to { transform: rotate(360deg); } }

/* ---------- Ikon emas ilustrasi (rd_icon) ---------- */
.rd-ic { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: middle; overflow: visible; }
.rd-nav-link { min-width: 76px; height: 66px; gap: 3px; padding: 5px 8px; border-radius: 10px; border: 0; font-size: 13px; font-weight: 800; color: #fff !important; }
.rd-nav-link .rd-ic { width: 36px; height: 36px; transition: transform .15s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.rd-nav-link:hover .rd-ic { transform: translateY(-2px) scale(1.04); }
.rd-nav-item.is-active > .rd-nav-link, .rd-nav-link:hover, .rd-nav-item.has-mega:focus-within > .rd-nav-link {
  background: #3e3e42; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.rd-nav-item.is-active > .rd-nav-link span { color: #fff; }
.rd-mainbar { border-bottom: 2px solid #c8962e; }
.rd-tab-title .rd-ic { width: 26px; height: 26px; margin-right: 4px; }
@media (max-width: 1180px) { .rd-nav-link { min-width: 64px; font-size: 12px; } .rd-nav-link .rd-ic { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .rd-nav-link .rd-ic { transition: none !important; } }
@media (min-width: 1181px) {
  .rd-nav-link { min-width: 86px; height: 78px; font-size: 14.5px; gap: 4px; }
  .rd-nav-link .rd-ic { width: 44px; height: 44px; }
}
@media (min-width: 1181px) { .rd-nav-link span { max-width: none; white-space: nowrap; } }

/* Bendera bulat (SVG buatan sendiri) */
.rd-flag.rd-flag-round { background-size: 100% 100% !important; background-repeat: no-repeat !important; background-position: center !important; }
.rd-flag-round.rd-flag-my { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%3E%3Crect%20y%3D%220%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%222%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%224%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%226%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%228%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%2210%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2212%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%2214%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2216%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%2218%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2220%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%2222%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2224%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23cc0001%22/%3E%3Crect%20y%3D%2226%22%20width%3D%2228%22%20height%3D%222%22%20fill%3D%22%23fff%22/%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23010066%22/%3E%3Ccircle%20cx%3D%227%22%20cy%3D%228%22%20r%3D%225%22%20fill%3D%22%23fc0%22/%3E%3Ccircle%20cx%3D%228.4%22%20cy%3D%228%22%20r%3D%224.1%22%20fill%3D%22%23010066%22/%3E%3Cpath%20d%3D%22m12.6%204.6.5%202.2%202-1.1-1.3%201.9%202.2.4-2.2.5%201.3%201.8-2-1.1-.5%202.2-.5-2.2-2%201.1%201.3-1.8-2.2-.5%202.2-.4-1.3-1.9%202%201.1z%22%20fill%3D%22%23fc0%22/%3E%3C/svg%3E") !important; background-color: transparent !important; }
.rd-flag-round.rd-flag-us { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%3E%3Crect%20y%3D%220.00%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%222.15%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%224.31%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%226.46%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%228.62%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%2210.77%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2212.92%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%2215.08%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2217.23%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%2219.38%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2221.54%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20y%3D%2223.69%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23fff%22/%3E%3Crect%20y%3D%2225.85%22%20width%3D%2228%22%20height%3D%222.20%22%20fill%3D%22%23b22234%22/%3E%3Crect%20width%3D%2214%22%20height%3D%2215.1%22%20fill%3D%22%233c3b6e%22/%3E%3Ccircle%20cx%3D%222.00%22%20cy%3D%221.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%224.50%22%20cy%3D%221.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%227.00%22%20cy%3D%221.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%229.50%22%20cy%3D%221.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2212.00%22%20cy%3D%221.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%223.25%22%20cy%3D%224.20%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%225.75%22%20cy%3D%224.20%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%228.25%22%20cy%3D%224.20%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2210.75%22%20cy%3D%224.20%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2213.25%22%20cy%3D%224.20%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%222.00%22%20cy%3D%226.60%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%224.50%22%20cy%3D%226.60%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%227.00%22%20cy%3D%226.60%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%229.50%22%20cy%3D%226.60%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2212.00%22%20cy%3D%226.60%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%223.25%22%20cy%3D%229.00%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%225.75%22%20cy%3D%229.00%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%228.25%22%20cy%3D%229.00%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2210.75%22%20cy%3D%229.00%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2213.25%22%20cy%3D%229.00%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%222.00%22%20cy%3D%2211.40%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%224.50%22%20cy%3D%2211.40%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%227.00%22%20cy%3D%2211.40%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%229.50%22%20cy%3D%2211.40%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2212.00%22%20cy%3D%2211.40%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%223.25%22%20cy%3D%2213.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%225.75%22%20cy%3D%2213.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%228.25%22%20cy%3D%2213.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2210.75%22%20cy%3D%2213.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2213.25%22%20cy%3D%2213.80%22%20r%3D%22.6%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E") !important; background-color: transparent !important; }
.rd-flag-round.rd-flag-cn { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%3E%3Crect%20width%3D%2228%22%20height%3D%2228%22%20fill%3D%22%23de2910%22/%3E%3Cpath%20d%3D%22m8%204%201.2%203.6H13l-3%202.2%201.1%203.6L8%2011.2l-3.1%202.2L6%209.8%203%207.6h3.8z%22%20fill%3D%22%23ffde00%22/%3E%3Cg%20fill%3D%22%23ffde00%22%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%224.5%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%227.5%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2211.5%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2214.5%22%20r%3D%221%22/%3E%3C/g%3E%3C/svg%3E") !important; background-color: transparent !important; }
.rd-flag-round.rd-flag-gb { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%3E%3Crect%20width%3D%2228%22%20height%3D%2228%22%20fill%3D%22%23012169%22/%3E%3Cpath%20d%3D%22M0%200l28%2028M28%200L0%2028%22%20stroke%3D%22%23fff%22%20stroke-width%3D%225%22/%3E%3Cpath%20d%3D%22M0%200l28%2028M28%200L0%2028%22%20stroke%3D%22%23c8102e%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M14%200v28M0%2014h28%22%20stroke%3D%22%23fff%22%20stroke-width%3D%228%22/%3E%3Cpath%20d%3D%22M14%200v28M0%2014h28%22%20stroke%3D%22%23c8102e%22%20stroke-width%3D%224.5%22/%3E%3C/svg%3E") !important; background-color: transparent !important; }
.rd-flag-us { background: linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 45% 54% no-repeat, repeating-linear-gradient(180deg, #b22234 0 1.1px, #fff 1.1px 2.2px); }

/* Disclosed fictional simulation, shared by desktop/mobile. */
img.rd-ic { object-fit: scale-down; flex-shrink: 0; }
.rd-hot.rd-hot-with-image .rd-hot-art { background: transparent; border: 0; padding: 0; justify-content: flex-end; }
.rd-hot-with-image .rd-hot-art .rd-hot-upload { display: block; width: 100%; height: auto; max-width: none; object-fit: contain; }
@media (min-width: 901px) {
  .rd-hot.rd-hot2.rd-hot-with-image { grid-template-columns: 32% minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .rd-hot-with-image .rd-hot-art { max-width: 260px; margin-inline: auto; }
}

.rd-win-sim { margin: 28px 0 20px; color: #f5f5f5; }
.rd-win-sim-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; }
.rd-win-sim-head::before, .rd-win-sim-head::after { content: ""; flex: 0 1 65px; height: 2px; background: linear-gradient(90deg, transparent, #b78b33, transparent); }
.rd-win-sim-head h2 { margin: 0; font: inherit; font-size: 24px; font-weight: 800; color: #f3cd78; text-align: center; }
.rd-win-sim-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.rd-win-sim-list[hidden] { display: none !important; }
.rd-win-sim-row { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 58px; align-items: center; gap: 9px; padding: 0 8px 0 0; min-height: 60px; border-radius: 5px; background: linear-gradient(180deg, #343434, #191919); box-shadow: inset 0 1px 0 #454545; }
.rd-win-sim-art { position: relative; width: 54px; height: 60px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; background: #171717; }
.rd-win-sim-art .rd-ic { width: 36px; height: 36px; }
.rd-win-sim-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd-win-sim-art img[hidden] { display: none; }
.rd-win-sim-identity { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rd-win-sim-game { color: #ebc876; font-size: 13px; line-height: 1.2; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rd-win-sim-alias { font-size: 12px; line-height: 1.2; color: #fff; }
.rd-win-sim-money { color: #f3cd78; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-win-sim-play { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 5px; border: 1px solid #ac7a22; border-radius: 3px; background: linear-gradient(90deg, #bf7e17, #ffdd8a 35%, #edb847 75%, #bd7b16); color: #181107 !important; font-size: 12px; line-height: 1.2; font-weight: 700; text-align: center; text-decoration: none !important; }
.rd-win-sim-play:focus-visible { outline: 2px solid #fff3d6; outline-offset: 3px; }
.rd-mhome .rd-win-sim-list { grid-template-columns: minmax(0, 1fr); }
.rd-mhome .rd-win-sim-game { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-win-sim-head { position: relative; padding-right: 32px; padding-left: 32px; }
.rd-win-sim-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border: 1px solid #65542e; border-radius: 4px; background: #191919; color: #edc977; cursor: pointer; font-size: 14px; }
.rd-win-sim-toggle[hidden] { display: none !important; }
.rd-win-sim-toggle:focus-visible { outline: 2px solid #fff3d6; outline-offset: 2px; }
.rd-win-sim-streams { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.rd-win-sim-window { min-width: 0; height: 340px; overflow: hidden; overflow-anchor: none; }
.rd-win-sim-track { display: flex !important; flex-direction: column; gap: 10px; will-change: transform; }
.rd-win-sim-track .rd-win-sim-row { flex: none; height: 60px; min-height: 60px; }
@media (prefers-reduced-motion: reduce) {
  .rd-win-sim-track { will-change: auto; }
}
@media (max-width: 600px) {
  .rd-win-sim { margin-top: 24px; }
  .rd-win-sim-list { grid-template-columns: minmax(0, 1fr); }
  .rd-win-sim-head { gap: 10px; }
  .rd-win-sim-head h2 { font-size: 20px; }
  .rd-win-sim-row { grid-template-columns: 44px minmax(0, 1fr) auto 62px; gap: 6px; padding-right: 6px; min-height: 56px; }
  .rd-win-sim-art { width: 44px; height: 56px; }
  .rd-win-sim-money { font-size: 12px; }
  .rd-win-sim-game { font-size: 12px; }
  .rd-win-sim-window { height: 320px; }
  .rd-win-sim-track .rd-win-sim-row { height: 56px; min-height: 56px; }
  .rd-win-sim-head { padding-left: 12px; padding-right: 46px; gap: 6px; min-height: 44px; }
  .rd-win-sim-head::before, .rd-win-sim-head::after { flex: 1 1 12px; min-width: 0; }
  .rd-win-sim-head h2 { font-size: 19px; flex: none; white-space: nowrap; }
  .rd-win-sim-toggle { width: 44px; height: 44px; }
}

/* =========================================================================
   Revisi 3 — tata letak desktop mengikuti video referensi
   ========================================================================= */
.rd-topbar { background: #0b0b0c; border-bottom: 1px solid #1f1f22; }
.rd-topbar-in { min-height: 36px; gap: 6px; }
.rd-pill-input {
  width: 128px; height: 26px; border-radius: 13px; padding: 0 12px; font-size: 12px;
  background: #2a2a2d; border: 1px solid #4a4a4f; color: #fff; -webkit-text-fill-color: #fff;
}
.rd-pill-input:focus { border-color: #e7b64a; outline: none; box-shadow: 0 0 0 2px rgba(231, 182, 74, .3); }
.rd-inline-login .rd-btn, .rd-userbar .rd-btn { min-height: 26px; height: 26px; padding: 0 12px; border-radius: 13px; font-size: 12px; }
.rd-inline-login .rd-btn-ghost { background: #2a2a2d; border: 1px solid #4a4a4f; color: #fff !important; }
.rd-lang-btn { height: 26px; border: 0 !important; background: transparent !important; gap: 6px; font-size: 12px; color: #fff; }
.rd-lang-btn .rd-flag-round { width: 18px !important; height: 18px !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) !important; }
.rd-pop-menu .rd-flag-round { width: 20px !important; height: 20px !important; }
.rd-mainbar { background: linear-gradient(180deg, #121212, #0b0b0b); border-bottom: 2px solid #c8962e; }

.rd-home .rd-announce { height: 30px; border-radius: 6px; background: #3b3b3e; border: 0; margin-top: 12px; }
.rd-home .rd-announce > .fa-bell { color: #f3c552; }
.rd-home .rd-marquee { color: #fff; font-weight: 600; }
.rd-home .rd-banner { border-radius: 4px; margin-top: 10px; }

/* Jackpot: lencana di atas + bar emas panjang + emblem kiri */
.rd-jackpot.rd-jp2 {
  display: grid; grid-template-columns: 150px 1fr; align-items: end; gap: 0; margin-top: 14px; padding: 0 0 4px;
  background: none; border: 0; box-shadow: none; border-radius: 0;
}
.rd-jp2-art { position: relative; z-index: 2; margin-right: -40px; align-self: end; }
.rd-jp2-art svg { display: block; width: 150px; height: 150px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.rd-jp2-main { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rd-jp2-badge { display: flex; align-items: flex-end; gap: 6px; margin-bottom: -10px; position: relative; z-index: 3; }
.rd-jp2-badge > .rd-ic { width: 22px; height: 22px; margin-bottom: 12px; }
.rd-jp2-plate {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 0 26px 6px; border-radius: 22px;
  background: linear-gradient(180deg, #2a1d06, #0d0903); border: 3px solid #e7b64a; box-shadow: 0 0 0 2px #6b4a12, 0 0 14px rgba(242, 193, 78, .4);
}
.rd-jp2-plate .rd-ic { width: 40px; height: 40px; margin-top: -26px; }
.rd-jp2-plate .rd-jp-title {
  font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 900; letter-spacing: .04em; line-height: 1.05;
  background: linear-gradient(180deg, #fff4c2, #f3c552 55%, #a8701a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.rd-jp2-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 30px 12px 60px; border-radius: 46px;
  background: linear-gradient(180deg, #1a1a1a, #050505);
  border: 4px solid #e7b64a; box-shadow: 0 0 0 3px #6b4a12, inset 0 0 0 2px #fff0b8, inset 0 6px 16px rgba(0, 0, 0, .8), 0 8px 22px rgba(0, 0, 0, .55);
}
.rd-jp2-bar .rd-jp-cur { font-size: 22px; color: #f3c552; }
.rd-jp2-bar .rd-jp-d { width: 34px; height: 46px; border-radius: 4px; background: linear-gradient(180deg, #fffaf0, #f4ead2); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.rd-jp2-bar .rd-jp-d b { height: 46px; line-height: 46px; font-size: 32px; color: #111; }
.rd-jp2-bar .rd-jp-sep { color: #f3c552; font-size: 30px; }
.rd-jp2 .rd-jp-note { margin-top: 6px; font-size: 10px; color: #7d7d7d; }

/* Hot Games: panel seni kiri dengan plakat merah di bawah; tile tanpa nama */
.rd-hot.rd-hot2 { grid-template-columns: 230px 1fr; gap: 10px; margin-top: 14px; }
.rd-hot2 .rd-hot-art {
  justify-content: flex-end; gap: 0; padding: 10px 8px 14px; border: 0; border-radius: 10px;
  background: radial-gradient(90% 60% at 50% 40%, rgba(255, 140, 40, .35), transparent 70%), linear-gradient(180deg, #1c1c1c, #101010);
}
.rd-hot2 .rd-hot-art svg { width: 86%; max-width: 190px; margin-bottom: -6px; }
.rd-hot-plaque {
  position: relative; display: block; width: 100%; padding: 10px 6px !important; border-radius: 8px !important;
  background: linear-gradient(180deg, #d0281f, #8e0f0b) !important; border: 2px solid #f3c552; box-shadow: 0 0 0 2px #5a0a07, 0 6px 14px rgba(0, 0, 0, .6);
  color: #fff3c4 !important; font-family: Georgia, "Times New Roman", serif; font-size: 17px !important; white-space: nowrap; font-weight: 900; letter-spacing: .04em;
  text-shadow: 0 2px 0 #4a0603; text-align: center;
}
.rd-hot2 > .rd-grid { padding: 10px; border-radius: 10px; background: #232323; gap: 8px; }
.rd-hot2 .rd-game-name, .rd-slot2 .rd-game-name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.rd-hot2 .rd-game, .rd-slot2 .rd-game { border-radius: 8px; background: #1a1a1a; }

/* Slot: tab emas, jalur logo provider tanpa kotak, grid 8x3, pager pil */
.rd-tab-title { margin-top: 26px; }
.rd-tab-title > span { padding: 8px 46px; border-radius: 14px 14px 0 0; font-size: 15px; text-transform: none; }
.rd-panel.rd-slot2 { background: #232323; border: 0; border-radius: 10px; padding: 10px 12px 14px; }
.rd-slot2 .rd-scroller { margin-bottom: 12px; padding: 4px 0; border-radius: 8px; background: #2c2c2c; }
.rd-slot2 .rd-scroll-prev, .rd-slot2 .rd-scroll-next { width: 22px; height: 50px; border-radius: 6px; }
.rd-slot2 .rd-scroll-prev { background: #4a4a4a; color: #ddd; }
.rd-slot2 .rd-scroll-next { background: linear-gradient(180deg, #ffe08a, #e7b64a 60%, #b07a1c); color: #111; }
.rd-slot2 .rd-prov { width: 120px; height: 50px; background: transparent; border: 0; border-radius: 6px; opacity: .8; }
.rd-slot2 .rd-prov:hover { opacity: 1; }
.rd-slot2 .rd-prov.is-active { opacity: 1; background: rgba(255, 255, 255, .06); box-shadow: inset 0 -2px 0 #e7b64a; color: #fff !important; }
.rd-slot2 .rd-pager { margin-top: 14px; gap: 6px; }
.rd-slot2 .rd-pg { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; border: 0; background: #3a3a3a; color: #ddd; font-size: 12px; }
.rd-slot2 .rd-pg.is-active { background: linear-gradient(180deg, #ffe08a, #e7b64a 60%, #b07a1c); color: #111; }
.rd-slot2 .rd-pg-arrow { background: transparent; color: #f3c552; font-size: 15px; }

/* Footer: grid logo provider tanpa kotak, baris link di tengah, tagline, hak cipta */
.rd-footer.rd-footer2 { margin-top: 36px; background: #0d0d0d; border-top: 1px solid #2a2a2a; padding: 26px 0 18px; text-align: center; }
.rd-footer2 .rd-foot-provs { grid-template-columns: repeat(10, 1fr); gap: 14px 18px; max-width: 900px; margin: 0 auto; }
.rd-footer2 .rd-foot-prov { height: 30px; padding: 0; background: transparent; border-radius: 0; }
.rd-footer2 .rd-foot-prov img { filter: grayscale(1) brightness(1.6); opacity: .85; }
.rd-footer2 .rd-foot-prov:hover img { filter: none; opacity: 1; }
.rd-foot-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin: 26px 0 0; }
.rd-foot-row a { color: #9a9a9a !important; text-decoration: none !important; font-size: 12px; }
.rd-foot-row a:hover, .rd-foot-row a:focus-visible { color: #f3c552 !important; }
.rd-footer2 .rd-foot-pay { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.rd-footer2 .rd-foot-pay img { max-width: 110px; border-radius: 6px; opacity: .9; }
.rd-foot-tag { max-width: 760px; margin: 14px auto 0; font-size: 11.5px; color: #7d7d7d; line-height: 1.5; }
.rd-footer2 .rd-foot-bottom { justify-content: center; gap: 6px 20px; margin-top: 10px; padding-top: 10px; border-top: 0; font-size: 11px; color: #6d6d6d; }

@media (max-width: 1100px) {
  .rd-footer2 .rd-foot-provs { grid-template-columns: repeat(8, 1fr); }
  .rd-jp2-bar .rd-jp-d { width: 28px; height: 40px; } .rd-jp2-bar .rd-jp-d b { height: 40px; line-height: 40px; font-size: 27px; }
}
@media (max-width: 900px) {
  .rd-jackpot.rd-jp2 { grid-template-columns: 1fr; }
  .rd-jp2-art { display: none; }
  .rd-jp2-bar { padding: 14px 16px 10px; }
  .rd-hot.rd-hot2 { grid-template-columns: 1fr; }
  .rd-hot2 .rd-hot-art { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
  .rd-hot2 .rd-hot-art svg { width: 70px; margin: 0; }
  .rd-hot-plaque { width: auto; padding: 8px 22px !important; }
  .rd-footer2 .rd-foot-provs { grid-template-columns: repeat(5, 1fr); }
}
