:root {
  --page-width: 1120px;
  --bg-top: #2b0d45;
  --bg-main: #1d0931;
  --bg-bottom: #150722;
  --line-soft: rgba(143, 76, 230, 0.28);
  --button-from: #8c32ff;
  --button-to: #5d17b4;
  --button-gold-from: #ffd661;
  --button-gold-to: #d9a80b;
  --text: #fff;
  --text-soft: #eadcff;
  --text-muted: #ccb4f1;
  --shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-main) 45%, var(--bg-bottom) 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input {
  font: inherit;
}

.page-shell {
  background: linear-gradient(180deg, rgba(49, 17, 78, 0.96), rgba(29, 9, 49, 0.98));
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.topbar-inner, .navbar-inner, .marquee-inner, .hero-inner, .content-inner, .footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* ========== TOPBAR ========== */
.topbar {
  background: #220b36;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 16px;
  color: var(--text-soft);
}

.topbar-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-links {
  align-items: center;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar-links a+a {
  position: relative;
  padding-left: 18px;
}

.topbar-links a+a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.topbar-links .fa-whatsapp { color: #25d366; }
.topbar-links .fa-telegram { color: #1ea5ff; }
.topbar-links .fa-headset { color: #ff9500; }
.topbar-links .fa-user-plus { color: #ffd661; }

.topbar-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.download-apk-button, .download-apk-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #20c92f;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.download-apk-button {
  min-height: 44px;
  border-radius: 0 0 8px 8px;
}

.download-apk-mobile {
  min-height: 42px;
}

.topbar-clock {
  padding: 8px 10px;
  text-align: center;
  color: #fff;
}

.clock-date, .clock-time {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.clock-date::before {
  content: '\f017';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 6px;
  font-size: 11px;
}

.topbar-mobile-stack, .topbar-links-mobile {
  display: none;
}

/* ========== NAVBAR ========== */
.navbar {
  background: linear-gradient(180deg, #12061d 0%, #08040f 100%);
  border-bottom: 2px solid #b100ff;
  position: relative;
  z-index: 1000 !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 200px;
  max-height: 65px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
  flex-wrap: nowrap;
}

.nav-links>a, .nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.nav-links>a:not(.nav-home):hover,
.nav-links>a.is-active:not(.nav-home),
.nav-dropdown.is-active .nav-dropdown-toggle,
.nav-dropdown-toggle:hover {
  background: transparent;
  color: #ff8cff;
  text-shadow: 0 0 10px rgba(255, 88, 255, 0.35);
}

.nav-home, .nav-home:hover, .nav-home.is-active {
  background: transparent !important;
  padding: 0 !important;
}

.nav-home i { font-size: 15px; }

.nav-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd84c, #f0b300);
  color: #2a1d00;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  display: none;
  padding: 8px 0;
  background: #050505;
  border-top: 3px solid #ff2bff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  z-index: 1001 !important;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  color: #ff8cff;
  text-shadow: 0 0 10px rgba(255, 88, 255, 0.35);
}

/* ========== MOBILE HEADER ========== */
.mobile-brand-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 12px 8px;
  min-height: 84px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  color: #fff;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.brand-mobile { margin: 0 auto; }
.brand-mobile img {
  width: 240px;
  max-width: 100%;
  max-height: 85px;
}

.mobile-links {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px 14px;
}

.mobile-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #b72fff, #7016d5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 16px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.mobile-links a.is-hot::before {
  content: 'HOT';
  position: absolute;
  top: -8px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd84c, #f0b300);
  color: #2a1d00;
  font-size: 10px;
  font-weight: 900;
}

.mobile-links.is-open { display: grid; }
@media (max-width: 980px) {
    /* 1. Paksa Bukti Jackpot Ambil 2 Kolom (Manjang Sendiri) */
    .mobile-links a[href*="bukti-jackpot"] {
        grid-column: span 2 !important;
        /* Tinggi disamakan 44px agar seragam dengan kode asli kamu */
        min-height: 44px !important; 
    }

    /* 2. Kasih Jarak Icon Home & Lainnya agar Tidak Nempel Teks */
    .mobile-links a i {
        margin-right: 8px !important;
    }

    /* 3. Rapikan Posisi Badge HOT biar Gak Berantakan */
    .mobile-links a.is-hot {
        position: relative !important;
    }
}
/* ========== MARQUEE ========== */
.marquee {
  background: linear-gradient(180deg, #5f19b7 0%, #45107f 100%);
  border-bottom: 1px solid var(--line-soft);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

.marquee-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.16);
  color: #ffe483;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.marquee-window {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  min-width: max-content;
  animation: sellerMarquee 18s linear infinite;
}

.marquee-track span {
  display: inline-block;
  color: var(--text-soft);
  font-size: 16px;
}

@keyframes sellerMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 24px)); }
}

/* ========== HERO ========== */
.hero { padding-top: 14px; }
.hero-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: 14px;
  padding-right: 14px;
}

.hero-banner-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 20px;
  align-items: start;
}

.hero-banner {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #5f19b7, #341157);
  box-shadow: var(--shadow);
}

.hero-banner-main .hero-banner-fallback { min-height: 352px; border-radius: 8px; }
.hero-banner-fallback {
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 30%), linear-gradient(135deg, #6120b9 0%, #3c1365 50%, #2a0e47 100%);
}

.hero-banner-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-side-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #7d22ed 0%, #531491 100%);
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.hero-side-banner+.hero-side-banner { border-top: none; }

.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.action-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(180deg, var(--button-from), var(--button-to));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.action-buttons a.is-gold {
  background: linear-gradient(180deg, var(--button-gold-from), var(--button-gold-to));
  color: #260a3f;
}

.section-divider {
  width: 100%;
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(to right, transparent, #c78bff, transparent);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 14px;
  align-items: stretch;
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feature-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(140, 50, 255, 0.75), rgba(93, 23, 180, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.winner-bar {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #10061a;
}

.winner-label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: linear-gradient(180deg, var(--button-from), var(--button-to));
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.winner-text {
  min-height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 12px;
  color: var(--text-soft);
  font-size: 12px;
}

.winner-text-inner { white-space: nowrap; }

/* ========== CONTENT ========== */
.content-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 16px 14px 0;
}

.content-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(59, 22, 94, 0.96), rgba(38, 13, 61, 0.98));
}

.section-title {
  margin: 0 0 16px;
  padding: 14px 0;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 900;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.empty-state, .simple-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(199, 139, 255, 0.42);
  background: rgba(0, 0, 0, 0.16);
  color: var(--text-soft);
}

.simple-list { display: grid; gap: 12px; }
.simple-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.simple-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
}

.simple-card-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.page-copy {
  color: var(--text-soft);
  line-height: 1.75;
}

.article-block {
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(91, 42, 145, 0.25), rgba(34, 12, 55, 0.25));
  border: 1px solid var(--line-soft);
  line-height: 1.8;
  color: var(--text-soft);
}

.article-title {
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
}

.footer {
  margin-top: 18px;
  background: linear-gradient(180deg, #180823 0%, #110719 100%);
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

/* ========== HOME MARKET GRID ========== */
.home-market-grid {
    display: grid !important;
    /* Ubah repeat auto-fill menjadi repeat(4, 1fr) agar dipaksa 4 kolom */
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 15px !important; /* Jarak dikecilkan sedikit dari 20px biar gak sesak */
}

/* Penyesuaian agar di layar tablet/kecil tidak hancur */
@media (max-width: 1024px) {
    .home-market-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .home-market-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .home-market-grid {
        grid-template-columns: 1fr !important;
    }
}

.market-card {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(115, 44, 188, 0.92), rgba(61, 20, 109, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.market-card-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3/2;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.market-card-title {
  margin-bottom: 8px;
  text-align: center;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.market-card-number-wrap {
  position: relative;
  margin-bottom: 10px;
  padding: 3px;
  border-radius: 8px;
}

.market-card-number-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: repeating-linear-gradient(90deg, #ffd84c 0 8px, transparent 8px 16px) top left / 100% 2px no-repeat,
              repeating-linear-gradient(180deg, #ffd84c 0 8px, transparent 8px 16px) top right / 2px 100% no-repeat,
              repeating-linear-gradient(270deg, #ffd84c 0 8px, transparent 8px 16px) bottom right / 100% 2px no-repeat,
              repeating-linear-gradient(0deg, #ffd84c 0 8px, transparent 8px 16px) bottom left / 2px 100% no-repeat;
}

.market-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 6px;
  background: #10061a;
  color: #ffd84c;
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.market-card-date {
  margin-bottom: 8px;
  text-align: center;
  color: var(--text-soft);
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
}

.market-card-links { display: grid; gap: 6px; }
.market-card-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ========== LIVEDRAW ========== */
.livedraw-list { display: grid; gap: 10px; }
.livedraw-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #b319ff, #7b16d2 55%, #5c0da7 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.livedraw-item-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.livedraw-item-icon {
  font-size: 16px;
  color: #fff;
}

.livedraw-item:hover .livedraw-item-title,
.livedraw-item:hover .livedraw-item-icon {
  color: #ffe483;
  text-shadow: 0 0 10px rgba(255, 228, 131, 0.25);
}

.livedraw-detail-panel {
  background: radial-gradient(circle at center, rgba(163, 55, 255, 0.18), transparent 28%), linear-gradient(180deg, rgba(59, 22, 94, 0.96), rgba(38, 13, 61, 0.98));
}

.livedraw-detail-wrap {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.livedraw-detail-card {
  width: min(100%, 540px);
  padding: 22px;
  background: linear-gradient(180deg, rgba(106, 15, 176, 0.96), rgba(78, 12, 133, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.livedraw-detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.livedraw-detail-thumb {
  flex: 0 0 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.livedraw-detail-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

.livedraw-detail-meta {
  color: #eadcff;
  font-size: 13px;
  font-weight: 700;
}

.livedraw-detail-table { display: grid; gap: 8px; }
.livedraw-detail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  background: rgba(61, 10, 102, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.livedraw-detail-row strong {
  color: #ffd84c;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
}

.livedraw-detail-logo-outside {
  text-align: center;
  margin-bottom: 20px;
}

.livedraw-detail-logo-outside img {
  max-width: 250px;
}

/* ========== PREDIKSI ========== */
.prediksi-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prediksi-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(115, 44, 188, 0.92), rgba(61, 20, 109, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.prediksi-card-image {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
}

.prediksi-card-info { flex: 1; }
.prediksi-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.prediksi-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.prediksi-card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffd661, #d9a80b);
  color: #260a3f;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.prediksi-detail-angka-main { text-align: center; margin-bottom: 24px; }
.prediksi-angka-besar {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #ffd84c;
  letter-spacing: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: 12px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.prediksi-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prediksi-detail-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
}

.prediksi-detail-label {
  font-weight: 800;
  color: #ffd84c;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
}

.prediksi-detail-value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  word-break: break-word;
  line-height: 1.6;
  text-align: center;
}

.prediksi-sebelumnya-section {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 216, 76, 0.3);
}

.prediksi-sebelumnya-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #ffd84c;
  margin-bottom: 16px;
  text-align: center;
}

.prediksi-sebelumnya-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prediksi-sebelumnya-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-left: 3px solid #ffd84c;
}

.prediksi-sebelumnya-item .item-title {
  font-weight: 800;
  font-size: 14px;
  color: #ffd84c;
}

.prediksi-sebelumnya-item .item-date {
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
}

.prediksi-sebelumnya-item .item-link {
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

/* ========== SLOT GACOR ========== */
.rtp-filter-bar {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 25px !important;
}

.rtp-filter-select {
  flex: 0 0 220px !important;
  min-height: 46px !important;
  padding: 0 40px 0 16px !important;
  border-radius: 10px !important;
  border: 2px solid #ffffff !important;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

.page-search#gameSearch {
  flex: 1 !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  border: 2px solid #ffffff !important;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none !important;
  margin-bottom: 0 !important;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.slot-card {
  background: linear-gradient(180deg, rgba(115, 44, 188, 0.92), rgba(61, 20, 109, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}

.slot-card:hover { transform: translateY(-4px); }

.slot-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 800;
}

.slot-card-content { padding: 16px; }

.slot-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  color: #fff;
}

.slot-rtp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slot-rtp-value {
  font-weight: 800;
  color: #ffd84c;
}

.slot-progress {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.slot-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffd661, #ff9500);
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .rtp-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .rtp-filter-select { flex: none !important; width: 100% !important; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ========== JADWAL TOGEL ========== */
.jadwal-search-input {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    margin-bottom: 25px !important;
    
    border: 2px solid #ffffff !important; 
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    font-size: 15px !important;
    
    /* MATIKAN GLOW & ANIMASI */
    box-shadow: none !important;
    outline: none !important;
    transition: none !important; 
}

.jadwal-search-input:focus {
    border-color: #ffffff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: none !important;
    outline: none !important;
}

.jadwal-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.jadwal-grid-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .jadwal-grid-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 992px) {
    .jadwal-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 576px) {
    .jadwal-grid-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

.jadwal-card-grid {
    background: linear-gradient(180deg, rgba(115, 44, 188, .92), rgba(61, 20, 109, .98)) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px !important;
    padding: 18px !important;
    transition: transform 0.2s !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.jadwal-card-grid:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 216, 76, 0.4) !important;
}

.jadwal-card-grid .pasaran {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffd84c !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    display: block !important;
}

.jadwal-card-grid .info-row {
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    border-bottom: 1px dashed rgba(255, 255, 255, .1) !important;
}

.jadwal-card-grid .info-label {
    color: #ccb4f1 !important;
}

.jadwal-card-grid .info-value {
    color: #fff !important;
    font-weight: 600 !important;
}

.jadwal-card-grid .btn-kunjungi {
    margin-top: auto !important; 
    display: block !important;
    text-align: center !important;
    padding: 10px !important;
    background: linear-gradient(180deg, #ffd661, #d9a80b) !important;
    color: #260a3f !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

/* ========== BBFS GENERATOR ========== */
.bbfs-generator { display: flex; flex-direction: column; gap: 24px; }
.bbfs-section { margin-bottom: 24px; }
.bbfs-section h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: #ffd84c;
  margin-bottom: 8px;
}

.bbfs-section p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.bbfs-input-full {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 14px;
}

.bbfs-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.bbfs-button {
  padding: 12px 28px;
  background: linear-gradient(180deg, #ffd661, #d9a80b);
  color: #260a3f;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}

.bbfs-reset {
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  color: #fff;
}

.bbfs-kombinasi {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.bbfs-kombinasi h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: #ffd84c;
  margin-bottom: 10px;
}

.bbfs-kombinasi p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.bbfs-result-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.bbfs-result-container h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: #ffd84c;
  margin-bottom: 12px;
}

.bbfs-result-display {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: #ffd84c;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  word-break: break-all;
  margin-bottom: 12px;
}

.proses-kecil { padding: 8px 20px; font-size: 12px; }

/* ========== BUKU MIMPI ========== */
.buku-mimpi-viewer-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.buku-mimpi-search-single {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 14px;
}

.buku-mimpi-image-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.buku-mimpi-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--line-soft);
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  min-height: 300px;
  object-fit: contain;
}

.buku-mimpi-nav-single {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.buku-mimpi-nav-single button {
  padding: 8px 20px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.buku-mimpi-nav-single span { color: var(--text-soft); }

/* ========== PAITO WARNA ========== */
.paito-container { overflow-x: auto; }
.paito-color-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}
.paito-color-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}
.paito-color-btn:hover { transform: scale(1.05); }
.paito-reset-btn {
  padding: 8px 16px;
  background: linear-gradient(180deg, #ff4444, #aa2222);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  margin-left: 10px;
}
.paito-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.paito-table th, .paito-table td {
  padding: 8px 4px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}
.paito-number {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.2s;
}
.paito-number:hover { transform: scale(1.05); }
.paito-number.selected-red { background-color: #ff4444 !important; color: #fff !important; }
.paito-number.selected-blue { background-color: #4444ff !important; color: #fff !important; }
.paito-number.selected-green { background-color: #44ff44 !important; color: #000 !important; }
.paito-number.selected-yellow { background-color: #ffd84c !important; color: #000 !important; }
.paito-number.selected-purple { background-color: #aa44ff !important; color: #fff !important; }
.paito-number.selected-orange { background-color: #ff8800 !important; color: #fff !important; }
.paito-number.selected-pink { background-color: #ff66cc !important; color: #fff !important; }

.paito-posisi-input {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.paito-posisi-field {
  width: 80px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}
.paito-hapus-posisi {
  padding: 8px 20px;
  background: linear-gradient(180deg, #ff4444, #aa2222);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* ========== KONVERSI TOTO SGP ========== */
.konversi-toto-sgp { display: flex; flex-direction: column; gap: 20px; }
.konversi-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #ffd84c;
  text-align: center;
}
.konversi-winning label {
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}
.konversi-numbers-input {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.konversi-win-input {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffd84c;
}
.konversi-add-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
}
.konversi-add-minus {
  font-size: 24px;
  font-weight: 800;
  color: #ffd84c;
}
.konversi-add {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}
.konversi-add label {
  font-weight: 800;
  color: #ffd84c;
}
.konversi-add-input {
  width: 70px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffd84c;
}
.konversi-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.konversi-convert-btn, .konversi-hapus-btn {
  padding: 10px 24px;
  background: linear-gradient(180deg, #ffd661, #d9a80b);
  color: #260a3f;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.konversi-hapus-btn {
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  color: #fff;
}
.konversi-hasil-box {
  text-align: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
}
.konversi-hasil-angka {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #ffd84c;
  letter-spacing: 8px;
}
.konversi-cara ol, .konversi-tips p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ========== DATA RESULT ========== */
.result-filter {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-start;
}

.result-select {
  display: block !important;
  width: 100% !important;
  max-width: 280px !important;
  min-height: 46px !important;
  padding: 0 40px 0 16px !important;
  border-radius: 10px !important;
  border: 2px solid #ffffff !important;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

.result-select option {
  background: #2a1052 !important;
  color: #fff !important;
}

.table-wrapper { overflow-x: auto; margin-top: 16px; }

.result-table {
  width: 100%;
  border-collapse: collapse;
}

.result-table th, .result-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-table th {
  background: rgba(140, 50, 255, 0.3);
  font-weight: 800;
  color: #ffd84c;
  text-transform: uppercase;
  font-size: 13px;
}

.result-table td { color: #e0e0e0; }

.result-number {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  color: #ffd84c;
  font-size: 18px;
}

@media (max-width: 640px) {
  .result-select { max-width: 100% !important; }
  .result-table th, .result-table td { padding: 10px 6px; font-size: 12px; }
  .result-number { font-size: 14px; }
}

/* ========== JACKPOT ========== */
.jackpot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .jackpot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .jackpot-grid { grid-template-columns: 1fr; } }
.jackpot-card {
  background: linear-gradient(180deg, rgba(115, 44, 188, 0.92), rgba(61, 20, 109, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s;
}
.jackpot-card:hover { transform: translateY(-4px); }
.jackpot-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.jackpot-content { padding: 12px; }
.jackpot-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffd84c;
  margin-bottom: 6px;
}
.jackpot-desc {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.jackpot-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.jackpot-btn {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(180deg, #ffd661, #d9a80b);
  color: #260a3f;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  width: 100%;
  text-decoration: none;
}

/* ========== PROMOSI ========== */
.promosi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) { .promosi-grid { grid-template-columns: 1fr; } }
.promosi-card {
  background: linear-gradient(180deg, rgba(115, 44, 188, 0.92), rgba(61, 20, 109, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.promosi-card:hover { transform: translateY(-4px); }
.promosi-card h3 { color: #ffd84c; margin-bottom: 8px; }
.promosi-card p {
  color: var(--text-soft);
  font-size: 13px;
}

/* ========== INFO FAQ ========== */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 800;
  color: #ffd84c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}
.faq-question i { transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 20px 16px 20px;
  max-height: 300px;
}

/* ========== TOMBOL KEMBALI ========== */
.back-button-container {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(180deg, #8c32ff, #5d17b4);
  border-radius: 30px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s ease;
}
.back-button:hover {
  transform: translateX(-4px);
  background: linear-gradient(180deg, #9f45ff, #6e1fc9);
}

/* ========== DESKTOP DIPERBESAR (TETAP 1120px) ========== */
@media (min-width: 1200px) {
    .content-panel {
        padding: 28px !important;
    }
    
    .section-title {
        font-size: 36px !important;
        padding: 20px 0 !important;
    }
    
    .market-card,
    .prediksi-card,
    .jadwal-card-grid,
    .slot-card {
        padding: 20px !important;
    }
    
    .market-card-title,
    .prediksi-card-title {
        font-size: 24px !important;
    }
    
    .market-card-number {
        font-size: 36px !important;
        min-height: 70px !important;
    }
    
    .prediksi-card-image {
        width: 100px !important;
        height: 100px !important;
        font-size: 16px !important;
    }
    
    .prediksi-card-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .jadwal-card-grid .pasaran {
        font-size: 20px !important;
    }
    
    .jadwal-card-grid .info-row {
        font-size: 14px !important;
        padding: 10px 0 !important;
    }
    
    .jadwal-card-grid .btn-kunjungi {
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .slot-card-title {
        font-size: 18px !important;
    }
    
    .slot-rtp {
        font-size: 14px !important;
    }
    
    .livedraw-detail-card {
        width: min(100%, 720px) !important;
        padding: 36px !important;
    }
    
    .livedraw-detail-title {
        font-size: 42px !important;
    }
    
    .livedraw-detail-thumb {
        flex: 0 0 130px !important;
        height: 130px !important;
        font-size: 18px !important;
    }
    
    .livedraw-detail-row {
        font-size: 18px !important;
        padding: 16px 24px !important;
    }
    
    .livedraw-detail-row strong {
        font-size: 28px !important;
    }
    
    .back-button {
        padding: 14px 32px !important;
        font-size: 16px !important;
    }
    
    .brand img {
        width: 200px !important;
        max-height: 70px !important;
    }
    
    .livedraw-detail-logo-outside img {
        max-width: 300px !important;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  :root { --page-width: 100%; }
  .navbar-inner { display: none; }
  .topbar-meta.topbar-links-desktop, .topbar-side { display: none; }
  .topbar-mobile-stack { display: flex; flex-direction: column; width: 100%; }
  .topbar-links-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 6px;
  }
  .topbar-links-mobile a { flex: 1; justify-content: center; font-size: 11px; }
  .topbar-links-mobile a+a { position: relative; }
  .topbar-links-mobile a+a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%);
  }
  .mobile-brand-wrap { display: flex; }
  .mobile-menu-toggle { display: flex; }
  .hero-banner-wrap { grid-template-columns: 1fr; }
  .hero-banner-main .hero-banner-fallback { min-height: 220px; }
  .hero-banner-side { display: none; }
  .feature-tabs { display: none; }
  .feature-row { grid-template-columns: 1fr; }
  .winner-bar { width: 100%; margin-top: 4px; }
  .home-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .livedraw-detail-wrap { padding: 18px 0; min-height: auto; }
  .livedraw-detail-card { width: 100%; padding: 16px; }
  .livedraw-detail-title { font-size: 20px; }
}
@media (max-width: 640px) {
  .page-shell { border-left: 0; border-right: 0; }
  .topbar-inner {
    min-height: auto;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .brand-mobile img { width: 220px; max-height: 74px; }
  .marquee-inner, .hero-inner, .content-inner, .footer-inner { padding-left: 10px; padding-right: 10px; }
  .marquee-inner { align-items: center; min-height: 30px; gap: 8px; }
  .marquee-label { padding: 4px 8px; font-size: 11px; line-height: 1; border-radius: 6px; }
  .marquee-window { display: flex; align-items: center; min-height: 24px; }
  .marquee-track span { font-size: 12px; line-height: 1.2; }
  .hero-banner-main .hero-banner-fallback { min-height: 190px; }
  .action-buttons a { min-height: 34px; font-size: 11px; }
  .home-market-grid { grid-template-columns: 1fr; }
  .livedraw-item-title { font-size: 12px; }
  .livedraw-detail-head { gap: 12px; }
  .livedraw-detail-thumb { flex-basis: 72px; height: 72px; }
  .livedraw-detail-title { font-size: 18px; }
  .livedraw-detail-row { grid-template-columns: 1fr; justify-items: center; padding: 10px 12px; }
  .prediksi-card { flex-wrap: wrap; }
  .prediksi-card-button { width: 100%; text-align: center; justify-content: center; }
  .livedraw-detail-logo-outside img { max-width: 150px !important; }
}
@media (max-width: 480px) {
  .topbar-links-mobile {
    gap: 4px !important;
    padding: 6px 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .topbar-links-mobile a {
    font-size: 9px !important;
    padding: 0 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .topbar-links-mobile a i { font-size: 10px !important; margin-right: 2px !important; }
  .topbar-links-mobile a+a::before { height: 10px !important; }
}
@media (max-width: 1200px) {
  .nav-links { gap: 8px !important; }
  .nav-links > a, .nav-dropdown-toggle { font-size: 12px !important; padding: 0 2px !important; }
  .nav-badge { font-size: 8px !important; min-width: 28px !important; top: -8px !important; }
}
@media (max-width: 640px) {
  .topbar-links-mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 10px 12px !important;
    justify-content: flex-start !important;
  }
  .topbar-links-mobile a {
    flex-shrink: 0 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
  .topbar-links-mobile a i { font-size: 14px !important; }
  .topbar-links-mobile a+a::before { height: 14px !important; }
}
/* ============================================================
   PATCH TOTAL GLOBAL: SESUAI INDEX & ANTI GEPENG
   ============================================================ */

/* 1. Target Utama: Semua class yang ada di Index kamu */
.page-search, 
.jadwal-search-input, 
.bbfs-input-full, 
.bbfs-input-set,
.buku-mimpi-search-single,
.konversi-win-input,
.konversi-add-input,
#jadwalSearch,
#gameSearch {
    display: block !important;
    width: 100% !important; /* Biar manjang penuh, gak mungil lagi */
    min-height: 48px !important; /* Biar tinggi berisi, gak gepeng */
    background: rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    
    /* BORDER TEBAL PUTIH 2PX (Style BBFS) */
    border: 2px solid #ffffff !important; 
    
    /* MATIKAN SEMUA GLOW & ICON */
    box-shadow: none !important;
    outline: none !important;
    padding: 0 16px !important;
    margin-bottom: 25px !important;
    transition: none !important;
}

/* 2. Khusus Konversi Toto: Biar Tetap Kotak Kecil (Jangan Manjang 100%) */
.konversi-win-input, .konversi-add-input {
    width: 60px !important;
    height: 60px !important;
    display: inline-block !important; /* Biar tetap berjajar ke samping */
    margin: 5px !important;
    padding: 0 !important;
    text-align: center !important;
}

/* 3. Slot Gacor & Result Filter: Sejajar Satu Baris */
.rtp-filter-bar, .result-filter {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
}

.rtp-filter-select, .result-select {
    flex: 0 0 250px !important; /* Lebar dropdown dikunci */
    min-height: 48px !important;
    border: 2px solid #ffffff !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding: 0 40px 0 15px !important;
}

/* 4. Matikan Glow Saat Fokus/Klik */
.page-search:focus, 
#jadwalSearch:focus, 
.jadwal-search-input:focus,
input:focus {
    border-color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 5. Bersihkan Sisa Icon Kaca Pembesar */
.page-search-wrap i {
    display: none !important;
}
.page-search-wrap .page-search {
    padding-left: 16px !important;
}

/* 6. Responsive Mobile Fix */
@media (max-width: 768px) {
    .rtp-filter-bar, .result-filter {
        flex-direction: column !important;
    }
    .rtp-filter-select, .result-select {
        width: 100% !important;
        flex: none !important;
    }
}
/* =========================
   🔥 PATCH OVERRIDE START
   (AMAN - TIDAK MERUSAK CSS LAMA)
========================= */

/* GLOBAL SMOOTH */
html {
    scroll-behavior: smooth;
}

/* CONTENT PANEL UPGRADE */
.content-panel {
    background: rgba(255,255,255,0.03) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    animation: fadeUp .5s ease;
}

/* FADE ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO UPGRADE */
.hero-banner-main {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.hero-banner-main::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.12), transparent 60%);
    animation: heroGlowMove 8s linear infinite;
}

@keyframes heroGlowMove {
    0% { transform: translate(-30%, -30%); }
    50% { transform: translate(0%, 0%); }
    100% { transform: translate(-30%, -30%); }
}

/* MARKET CARD PREMIUM */
.market-card {
    background: rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: all .35s ease;
}

.market-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(255,215,0,0.4);
}

/* NUMBER GLOW */
.market-card-number {
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

/* NAVBAR INTERACTIVE */
.nav-links a {
    position: relative;
    transition: all .3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: gold;
    transition: .3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* PAGE SEARCH PREMIUM */
.page-search {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    transition: all .3s ease;
}

.page-search:focus {
    border-color: gold;
    box-shadow: 0 0 12px rgba(255,215,0,0.3);
}

/* LIVEDRAW LIST */
.livedraw-item {
    transition: all .25s ease;
}

.livedraw-item:hover {
    background: rgba(255,255,255,0.08) !important;
    transform: translateX(4px);
}

/* BUTTON IMPROVE */
.back-button {
    transition: all .3s ease;
}

.back-button:hover {
    background: gold !important;
    color: #000 !important;
}

/* CARD LINKS */
.market-card-links a {
    transition: all .25s ease;
}

.market-card-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* MOBILE POLISH */
@media (max-width: 768px) {
    .market-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* =========================
   🔥 PATCH OVERRIDE END
========================= */