/* ==========================================================================
   GOL33 / ANCUA - LUXURY CASINO STYLESHEET
   Theme Palette: Dominan Merah VIP (Luxury Red / Crimson), Emas (Gold) & Gelap (Dark)
   ========================================================================== */

/* ==========================================================================
   0. Global Body & Main Backgrounds (Deep Midnight Charcoal with Red Aura)
   ========================================================================== */
html,
body {
  background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.15) 0%, rgba(18, 5, 8, 0.98) 55%, #08080a 100%), #08080a !important;
  background-color: #08080a !important;
  color: #e2e8f0;
}

/* Color Helpers Override to ensure zero blue leakage across legacy scripts */
.text-cyan,
.text-blue,
.text-gold {
  color: #ffd700 !important;
}
.text-red {
  color: #ef4444 !important;
}
.text-green {
  color: #34d399 !important;
}

/* ==========================================================================
   0.1. Exact Header & Topbar Theme Overrides (Red & Gold)
   ========================================================================== */
.topbar-container {
  background: #060203 !important;
  border-bottom: 1px solid rgba(220, 38, 38, 0.3) !important;
  padding: 8px 0 !important;
}

.topbar-left-section .topbar-item {
  color: #cbd5e1 !important;
}

.topbar-left-section .topbar-item a {
  color: #e2e8f0 !important;
  transition: color 0.2s ease;
}

.topbar-left-section .topbar-item a:hover {
  color: #dc2626 !important;
}

.topbar-left-section .live-chat {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4) !important;
}

.topbar-left-section .live-chat:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
}

.site-header {
  background: linear-gradient(180deg, #140507 0%, #08080a 100%) !important;
  background-color: #08080a !important;
  border-bottom: 3px solid #dc2626 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

.site-header .logo {
  background-image: none !important;
  background-color: transparent !important;
}

.top-menu > li {
  color: #cbd5e1 !important;
}

.top-menu > li > a {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.site-header .top-menu > li[data-active="true"],
.site-header .top-menu > li:hover,
.top-menu > li[data-active="true"],
.top-menu > li:hover {
  color: #dc2626 !important;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.02) 100%) !important;
  background-color: transparent !important;
}

.site-header .top-menu > li[data-active="true"] > a,
.site-header .top-menu > li:hover > a {
  color: #ef4444 !important;
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.6) !important;
}

.top-menu .game-list {
  background-color: rgba(12, 3, 5, 0.97) !important;
  border-top: 3px solid #dc2626 !important;
  border-bottom: 6px solid #dc2626 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9) !important;
}

.top-menu .game-list > li > a .background {
  background: linear-gradient(to left, rgba(220, 38, 38, 0.25) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
  border: 1px solid rgba(220, 38, 38, 0.4) !important;
}

/* ==========================================================================
   1. Progressive Jackpot Display (Authentic Digital Clock Font)
   ========================================================================== */
.home-progressive-jackpot {
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-progressive-jackpot .jackpot-container {
  font-family: 'Open24DisplaySt', monospace !important;
  letter-spacing: 2px;
}

.home-progressive-jackpot #progressive_jackpot {
  font-family: 'Open24DisplaySt', monospace !important;
  font-size: 36px;
  color: #ffd700;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.85), 0 0 28px rgba(220, 38, 38, 0.65);
  font-weight: bold;
}

@media (max-width: 768px) {
  .home-progressive-jackpot #progressive_jackpot {
    font-size: 22px;
  }
}

/* ==========================================================================
   2. Real-Time Telemetry KPI Bar (Red, Gold & Dark)
   ========================================================================== */
.kpi-telemetry-section {
  background: linear-gradient(180deg, #140507 0%, #08080a 100%);
  padding: 14px 0;
  border-top: 2px solid #dc2626;
  border-bottom: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 991px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: linear-gradient(135deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #3b0d11;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
}

.kpi-card:hover {
  border-color: #dc2626;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.35);
}

.kpi-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 2px;
}

.kpi-label i {
  color: #ffd700 !important;
}

.kpi-value {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}

.kpi-sub {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}

/* ==========================================================================
   3. Live Streaming Ticker (Winners Ticker - Red, Gold, Dark)
   ========================================================================== */
.live-marquee-section {
  background: linear-gradient(90deg, #08080a 0%, #140507 50%, #08080a 100%);
  border-bottom: 1px solid rgba(220, 38, 38, 0.35);
  overflow: hidden;
  padding: 8px 0;
}

.marquee-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-badge {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 28px;
  color: #e2e8f0;
  font-size: 12px;
}

.marquee-item strong {
  color: #ffd700;
}

.marquee-item i {
  color: #ffd700 !important;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. Section Headers (Red Ribbon, Pure White Text, Dark Canvas)
   ========================================================================== */
.rtp-live-section {
  padding: 30px 0;
  background: radial-gradient(ellipse at center top, rgba(220, 38, 38, 0.1) 0%, #120508 65%, #08080a 100%);
  color: #fff;
}

#popular-games {
  background: radial-gradient(ellipse at center top, rgba(220, 38, 38, 0.12) 0%, #120508 65%, #08080a 100%);
  border-top: 2px solid #dc2626;
}

.rtp-section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

.section-badge i {
  color: #ffffff !important;
}

.rtp-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.rtp-section-desc {
  color: #cbd5e1;
  font-size: 12px;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   5. Controls & 7-Day Tab Navigation (Red & Gold)
   ========================================================================== */
.rtp-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.rtp-days-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.day-tab-btn {
  flex: 1;
  min-width: 100px;
  background: linear-gradient(180deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #3b0d11;
  border-radius: 4px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-tab-btn:hover {
  background: linear-gradient(180deg, #2b0c10 0%, #170406 100%);
  border-color: #dc2626;
  color: #ef4444;
}

.day-tab-btn.active {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.5);
}

.day-tab-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.day-tab-date {
  font-size: 10px;
  color: #94a3b8;
}

.day-tab-btn.active .day-tab-date {
  color: #fef08a;
  font-weight: 700;
}

.day-tab-badge {
  font-size: 9px;
  font-weight: 800;
  margin-top: 2px;
  color: #ffd700;
}

.day-tab-btn.active .day-tab-badge {
  color: #ffffff;
}

.rtp-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #140507 0%, #08080a 100%);
  border: 1px solid #3b0d11;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  width: 100%;
}

.provider-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  padding: 2px 0 4px;
  scrollbar-width: thin;
  scrollbar-color: #dc2626 #140507;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.provider-pills::-webkit-scrollbar {
  height: 4px;
}

.provider-pills::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 4px;
}

.provider-pill {
  flex-shrink: 0;
  white-space: nowrap;
  background: linear-gradient(180deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #3b0d11;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.provider-pill:hover {
  background: linear-gradient(180deg, #2b0c10 0%, #170406 100%);
  color: #ef4444;
  border-color: #dc2626;
}

.provider-pill.active {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  border-color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.45);
}

.provider-pill.active i {
  color: #ffffff !important;
}

.provider-badge-count {
  font-size: 9px;
  background: rgba(0, 0, 0, 0.45);
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 2px;
  opacity: 0.9;
}

.provider-pill.active .provider-badge-count {
  background: #ffffff;
  color: #dc2626;
  font-weight: 800;
  opacity: 1;
}

.rtp-meta-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.rtp-meta-info strong {
  color: #ffd700 !important;
}

@media (max-width: 768px) {
  .rtp-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .rtp-meta-info {
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(22, 54, 111, 0.5);
  }
}

/* ==========================================================================
   6. Ancua 200x200 Game Card Layout (Light Blue, White, & Navy)
   ========================================================================== */
.rtp-cards-grid,
.popular-games-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  justify-content: center;
}

@media (max-width: 480px) {
  .rtp-cards-grid,
  .popular-games-dynamic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.ancua-game-card {
  width: 100%;
  background: linear-gradient(180deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #3b0d11;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.ancua-game-card:hover {
  border-color: #dc2626;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
}

.ancua-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.ancua-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ancua-provider-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid #dc2626;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  color: #ffd700;
  z-index: 2;
}

.ancua-hot-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
  z-index: 2;
}

.ancua-hot-badge i {
  color: #ffffff !important;
}

.ancua-rank-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #140507;
  color: #ffd700;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #dc2626;
  z-index: 2;
}

.ancua-rank-badge.gold-rank {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 900;
  border: 1px solid #fef08a;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.ancua-rank-badge.silver-rank {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: #ffffff;
  font-weight: 900;
  border: 1px solid #ffffff;
}

.ancua-rank-badge.bronze-rank {
  background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
  color: #ffffff;
  font-weight: 900;
  border: 1px solid #fcd34d;
}

.ancua-player-tag {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid #3b0d11;
  padding: 2px 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #cbd5e1;
  z-index: 2;
}

.ancua-hover-links {
  position: absolute;
  inset: 0;
  background: rgba(12, 3, 5, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.ancua-game-card:hover .ancua-hover-links {
  opacity: 1;
}

.ancua-btn-pola {
  background: #140507;
  border: 1px solid #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 4px;
  cursor: pointer;
  width: 90px;
  text-align: center;
  transition: all 0.2s;
}

.ancua-btn-pola:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #ffffff;
}

.ancua-btn-play {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  width: 90px;
  display: block;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

.ancua-btn-play:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

.ancua-card-footer {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #0d0204;
  border-top: 1px solid #3b0d11;
}

.ancua-game-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ancua-game-name:hover {
  color: #ffd700;
}

.ancua-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}

.ancua-rtp-label {
  color: #94a3b8;
}

.ancua-rtp-val {
  font-weight: 800;
}

.ancua-bar-track {
  width: 100%;
  height: 5px;
  background: #08080a;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #3b0d11;
}

.ancua-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.fill-gacor { background: linear-gradient(to right, #b45309, #f59e0b, #ffd700); }
.fill-hot { background: linear-gradient(to right, #059669, #10b981, #6ee7b7); }
.fill-medium { background: linear-gradient(to right, #d97706, #f59e0b, #fde68a); }
.fill-cold { background: linear-gradient(to right, #b45309, #ea580c, #fdba74); }
.fill-anjlok { background: linear-gradient(to right, #450a0a, #991b1b, #ef4444); }

.val-gacor { color: #ffd700 !important; }
.val-hot { color: #34d399 !important; }
.val-medium { color: #fbbf24 !important; }
.val-cold { color: #fb923c !important; }
.val-anjlok { color: #f87171 !important; }

.ancua-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  margin-top: 1px;
}

.ancua-status-tag {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ancua-vol-tag {
  color: #94a3b8;
}

.ancua-jackpot-text {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   7. Testimonials Section (Red, Gold, Dark)
   ========================================================================== */
.testimonials-section {
  padding: 30px 0;
  background: linear-gradient(180deg, #140507 0%, #08080a 100%);
  border-top: 1px solid #3b0d11;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.testi-card {
  background: linear-gradient(135deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #3b0d11;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}

.testi-card:hover {
  border-color: #dc2626;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.3);
}

.testi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testi-member {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #ffffff;
  font-size: 11px;
  border: 1px solid #ffffff;
}

.testi-info h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.testi-info span {
  font-size: 10px;
  color: #94a3b8;
}

.testi-rating {
  color: #ffd700;
  font-size: 10px;
}

.testi-payout-box {
  background: #08080a;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}

.payout-label {
  color: #cbd5e1;
}

.payout-label i {
  color: #ffd700 !important;
}

.payout-amount {
  font-weight: 800;
  color: #34d399;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

.testi-comment {
  font-size: 11px;
  line-height: 1.4;
  color: #cbd5e1;
}

.testi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #94a3b8;
  border-top: 1px solid #3b0d11;
  padding-top: 4px;
  margin-top: auto;
}

.testi-footer strong {
  color: #ffd700;
}

/* ==========================================================================
   8. Notification Toasts (Red & Gold Glow)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  width: 90%;
  pointer-events: none;
}

.live-toast {
  pointer-events: auto;
  background: linear-gradient(135deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #dc2626;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 14px rgba(220, 38, 38, 0.35);
  animation: toastSlideIn 0.3s ease;
  transition: all 0.3s ease;
}

.live-toast.toast-closing {
  opacity: 0;
  transform: translateX(60px);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
  border: 1px solid #ffffff;
  flex-shrink: 0;
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 2px;
}

.toast-desc {
  font-size: 10px;
  color: #e2e8f0;
  line-height: 1.3;
}

.toast-desc strong {
  color: #ffffff;
}

.toast-time {
  font-size: 9px;
  color: #94a3b8;
  margin-top: 2px;
  display: block;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
}

.toast-close-btn:hover {
  color: #dc2626;
}

/* ==========================================================================
   9. Pola Gacor Modal (Red & Gold)
   ========================================================================== */
.pola-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pola-modal-overlay.open {
  display: flex;
}

.pola-modal-card {
  background: linear-gradient(180deg, #1a0609 0%, #08080a 100%);
  border: 1px solid #dc2626;
  border-radius: 8px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(220, 38, 38, 0.35);
  overflow: hidden;
}

.pola-modal-header {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff;
}

.pola-modal-header h4 {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.pola-modal-header h4 i {
  color: #ffffff !important;
}

.pola-modal-body {
  padding: 16px;
}

/* ==========================================================================
   10. Floating Widgets & Mobile Navigation (Red & Gold)
   ========================================================================== */
.floating-widget-group {
  position: fixed;
  bottom: 70px;
  left: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.floating-wa { background: #25d366; }
.floating-chat { 
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  border: 1px solid #ffffff;
}

.floating-btn:hover {
  transform: scale(1.08);
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #140507 0%, #08080a 100%);
  border-top: 2px solid #dc2626;
  z-index: 99990;
  padding: 6px 10px;
  justify-content: space-around;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav-item i {
  font-size: 15px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #ffd700;
}

.mobile-nav-item.highlight-daftar {
  color: #ffffff;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 4px 12px;
  border-radius: 12px;
  transform: translateY(-3px);
  font-weight: 900;
  border: 1px solid #ffffff;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.5);
}

.btn-vip-primary {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

.btn-vip-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

.btn-vip-secondary {
  background: #140507;
  color: #ffffff;
  border: 1px solid #dc2626;
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-vip-secondary:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #ffffff;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   11. Exact Ancua Theme Footer & Provider Styles (Luxury Red, Gold & Dark)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #140507 0%, #08080a 100%) !important;
  background-color: #08080a !important;
  border-top: 4px solid #ce1702 !important;
  color: #cbd5e1 !important;
  padding: 30px 0 0 !important;
  position: relative !important;
}

.site-footer .footer-separator {
  border: 0 !important;
  border-top: 1px dotted rgba(220, 38, 38, 0.4) !important;
  margin: 18px 0 !important;
  padding: 0 !important;
}

.site-footer .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
}

.site-footer .footer-links li {
  display: inline-block !important;
  list-style: none !important;
}

.site-footer .footer-links li a {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.site-footer .footer-links li a:hover {
  color: #ffd700 !important;
}

.site-footer .copyright {
  color: #94a3b8 !important;
  font-size: 13px !important;
  text-align: right;
  margin-bottom: 12px;
}

.site-footer .site-description {
  overflow: hidden;
  margin: 12px 0;
}

.site-footer .site-description h1 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.site-footer .site-info-title {
  border-bottom: 1px dotted rgba(220, 38, 38, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 0 !important;
}

.site-footer .site-info-title [data-icon] {
  display: inline-block !important;
  height: 40px !important;
  width: 40px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.site-footer .site-info-title h3 {
  color: #ffd700 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.site-footer .site-info-title p {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  margin: 0 !important;
}

.site-footer .site-info-description {
  margin: 16px 0 !important;
}

.site-footer .site-info-description h4 {
  color: #ef4444 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin: 12px 0 4px !important;
}

.site-footer .site-info-description p,
.site-footer .site-info-description span,
.site-footer .site-info-description div {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.site-footer .site-info-description h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffd700 !important;
  margin: 12px 0 6px !important;
}

.site-footer .site-info-description a {
  color: #ef4444 !important;
}

.site-footer .footer-section-title {
  color: #ffd700 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
}

/* ==========================================================================
   12. Exact Ancua Hover-List (Active / Inactive Provider Swap)
   ========================================================================== */
.hover-list {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 10px 14px !important;
  align-items: center !important;
}

.hover-list > li {
  list-style: none !important;
  display: inline-block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.hover-list > li::before {
  display: none !important;
  content: "" !important;
}

.hover-list > li > picture,
.hover-list > li > a > picture {
  display: block !important;
}

.hover-list > li > picture:last-child,
.hover-list > li > a > picture:last-child {
  display: none !important;
}

.hover-list > li:hover > picture:first-child,
.hover-list > li > a:hover > picture:first-child {
  display: none !important;
}

.hover-list > li:hover > picture:last-child,
.hover-list > li > a:hover > picture:last-child {
  display: block !important;
}

.hover-list img {
  height: 40px !important;
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
}

.contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.contact-list > li {
  list-style: none !important;
  margin-bottom: 8px !important;
}

.contact-list > li::before {
  display: none !important;
  content: "" !important;
}

.contact-list a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #140507 !important;
  border: 1px solid #dc2626 !important;
  color: #ffffff !important;
  padding: 5px 14px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.contact-list a:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   13. Exact Ancua Provider Section (Red, Gold & Dark Onyx)
   ========================================================================== */
.provider-section {
  background: rgba(8, 8, 10, 0.98) !important;
  border-top: 1px solid rgba(220, 38, 38, 0.35) !important;
  padding: 25px 0 35px !important;
  margin-top: 20px !important;
}

.provider-section .footer-section-title {
  color: #ffd700 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  background: transparent !important;
}

.provider-container {
  margin-bottom: 18px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.provider-container > h5,
.provider-container h5,
.provider-container span h5,
.provider-container span {
  color: #ffd700 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
}

/* ==========================================================================
   14. Dynamic RTP Controls & Load More System
   ========================================================================== */
.rtp-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  gap: 8px;
}

.rtp-showing-info {
  font-size: 12px;
  color: #94a3b8;
}

.rtp-showing-info strong {
  color: #ffd700;
}

.btn-rtp-load-more {
  background: linear-gradient(135deg, #1a0609 0%, #0d0204 100%);
  border: 1px solid #dc2626;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-rtp-load-more:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.btn-rtp-load-more:active {
  transform: translateY(0);
}

.game-card-fade-in {
  animation: gameCardFadeIn 0.35s ease forwards;
}

@keyframes gameCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pola-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #ffd700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

/* Pola Gacor Modal Styling */
.pola-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.pola-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pola-modal-card {
  background: linear-gradient(180deg, #1a0609 0%, #08080a 100%);
  border: 2px solid #dc2626;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(220, 38, 38, 0.4);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pola-modal-overlay.open .pola-modal-card {
  transform: scale(1) translateY(0);
}

.pola-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #140507;
  border-bottom: 1px solid #3b0d11;
}

.pola-modal-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pola-modal-header .modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pola-modal-header .modal-close:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.8);
}

.pola-modal-body {
  padding: 16px;
  max-height: 80vh;
  overflow-y: auto;
}

/* ==========================================================================
   16. Live Winner Toast Notification (Floating Fixed Bottom-Left)
   ========================================================================== */
#toastContainer, .rtp-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 340px;
  width: calc(100% - 48px);
}

.live-toast {
  background: rgba(20, 5, 7, 0.95);
  border: 1px solid #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ffffff;
  font-size: 11px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(220, 38, 38, 0.35);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(-50px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.toast-closing {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
  to {
    transform: translateX(-50px) scale(0.9);
    opacity: 0;
  }
}

.toast-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffd700;
  flex-shrink: 0;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.toast-desc {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.35;
}

.toast-desc strong {
  color: #ffffff;
}

.toast-desc em {
  color: #fef08a;
  font-style: normal;
}

.toast-time {
  font-size: 9px;
  color: #64748b;
  margin-top: 3px;
  display: block;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 0 0 4px 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.toast-close-btn:hover {
  color: #f87171;
}

@media (max-width: 768px) {
  #toastContainer, .rtp-toast-container {
    bottom: 75px;
    left: 12px;
    width: calc(100% - 24px);
    max-width: 320px;
  }
}

/* ==========================================================================
   17. FAQ (Frequently Asked Questions) Accordion Section
   ========================================================================== */
.rtp-faq-section, .faq-section {
  padding: 30px 0;
  border-top: 1px solid #3b0d11;
  margin-top: 30px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #140507;
  border: 1px solid #3b0d11;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: #dc2626;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(220, 38, 38, 0.2);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #ffd700;
}

.faq-question i.faq-chevron {
  color: #ffd700;
  transition: transform 0.3s ease;
  font-size: 13px;
}

.faq-item.active .faq-question i.faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
  background: #0d0204;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 14px 20px 18px;
  border-top: 1px solid #3b0d11;
}


