/* KOINGACOR 88 — Cyber Lab Theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0a0c16;
  --bg-card: #121626;
  --bg-card-hover: #181d33;
  --gold-primary: #f59e0b;
  --gold-glow: #fbbf24;
  --gold-dark: #b45309;
  --neon-red: #ef4444;
  --neon-green: #10b981;
  --neon-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #242c48;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0c16;
}
::-webkit-scrollbar-thumb {
  background: #242c48;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Running Marquee */
.marquee-container {
  background: linear-gradient(90deg, #161a2b 0%, #201a35 50%, #161a2b 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.85rem;
  color: #fbbf24;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

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

/* Navbar */
.navbar {
  background: rgba(18, 22, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
}

.logo-brand span.gacor {
  color: var(--gold-primary);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(245, 158, 11, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.08);
}

.btn-lab {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
  font-weight: 700;
}

.btn-lab:hover {
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.6);
  transform: translateY(-2px);
}

/* User Pill & VIP Badge */
.user-status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #181d33;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.vip-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.vip-sultan {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #fff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  animation: pulse-glow 2s infinite;
}

.vip-bronze {
  background: #78350f;
  color: #fed7aa;
}

.vip-gold {
  background: #f59e0b;
  color: #000;
}

.vip-platinum {
  background: #38bdf8;
  color: #000;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 4px #f59e0b); }
  50% { filter: drop-shadow(0 0 12px #ef4444); }
}

/* Cards & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Slot Machine Styling */
.slot-machine-wrapper {
  background: linear-gradient(180deg, #1f253d 0%, #111526 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  max-width: 650px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.slot-reels-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  background: #070913;
  padding: 24px;
  border-radius: 14px;
  border: 3px solid #242c48;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
  margin-bottom: 24px;
}

.slot-reel {
  width: 110px;
  height: 120px;
  background: linear-gradient(180deg, #1a2035 0%, #293252 50%, #1a2035 100%);
  border: 2px solid #3b466d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.1), 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s;
}

.slot-reel.spinning {
  animation: reel-spin 0.15s infinite;
}

@keyframes reel-spin {
  0% { transform: translateY(-10px); filter: blur(3px); }
  50% { transform: translateY(10px); filter: blur(4px); }
  100% { transform: translateY(-10px); filter: blur(3px); }
}

/* Banner Alert Lab */
.lab-banner {
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.25) 0%, rgba(30, 27, 75, 0.4) 100%);
  border: 1px solid #7c3aed;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.game-icon {
  font-size: 3.2rem;
  margin-bottom: 10px;
  display: block;
}

.rtp-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10b981;
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: #0c0f1c;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

/* CTF Challenge Card in /lab */
.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.challenge-card.solved {
  border-color: #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, #121626 100%);
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-easy { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.badge-medium { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.badge-hard { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }

/* Modal & Toast Notification */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e2538;
  border: 1px solid var(--gold-primary);
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  max-width: 400px;
}

/* ==========================================================================
   FITUR WEB GACOR 88 REALISTIS & DINAMIS (RAME, ANIMASI & INTERAKTIF)
   ========================================================================== */

/* 1. Grand Progressive Jackpot Ticker */
.jackpot-banner {
  background: radial-gradient(circle at 50% 50%, #2a1b05 0%, #150f05 50%, #0a0808 100%);
  border: 2px solid #fbbf24;
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.35), inset 0 0 30px rgba(245, 158, 11, 0.15);
}

.jackpot-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 60%);
  animation: rotate-shine 15s linear infinite;
  pointer-events: none;
}

@keyframes rotate-shine {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.jackpot-title {
  font-family: 'Rajdhani', sans-serif;
  color: #fbbf24;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.jackpot-digits-wrapper {
  font-family: 'Rajdhani', monospace;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, #fde047 30%, #f59e0b 70%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 3px;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.7));
  margin: 6px 0;
  animation: jackpot-pulse 1.8s ease-in-out infinite alternate;
}

@keyframes jackpot-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5)); }
  100% { transform: scale(1.025); filter: drop-shadow(0 0 24px rgba(251, 191, 36, 0.9)); }
}

.jackpot-subtitle {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 2. Promo Banner Showcase / Hero Slider */
.promo-showcase {
  background: linear-gradient(135deg, #1e1438 0%, #0d1124 50%, #17112c 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promo-showcase::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(circle at 70% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.promo-slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: fadeIn 0.4s ease-in-out;
}

.promo-slide.active {
  display: flex;
}

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

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: pulse-glow 1.5s infinite;
}

.carousel-nav-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.dot-btn.active {
  background: #fbbf24;
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 8px #fbbf24;
}

/* 3. Quick Action Buttons Grid (Menu Cepat Gacor) */
.quick-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.quick-feature-card {
  background: linear-gradient(180deg, #171d33 0%, #101424 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quick-feature-card:hover {
  transform: translateY(-4px);
  border-color: #fbbf24;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
  background: linear-gradient(180deg, #202742 0%, #151a30 100%);
}

.quick-feature-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.quick-feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.quick-feature-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* 4. Category Tabs & Provider Strips */
.category-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.category-tab-btn {
  background: #14192b;
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.category-tab-btn:hover, .category-tab-btn.active {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.provider-logos-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
  background: #090c17;
  border: 1px solid #1a2238;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 24px;
}

.provider-badge {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5. Enhanced Game Cards with Live RTP Bar & Pola Gacor */
.game-card-gacor {
  background: linear-gradient(180deg, #171d33 0%, #0f1322 100%);
  border: 1px solid #232c49;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-card-gacor:hover {
  transform: translateY(-5px);
  border-color: #fbbf24;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.game-card-gacor .provider-tag {
  font-size: 0.68rem;
  color: #a78bfa;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.rtp-bar-wrapper {
  background: #090c17;
  border-radius: 10px;
  height: 8px;
  width: 100%;
  overflow: hidden;
  margin: 8px 0 4px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rtp-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #fbbf24 100%);
  transition: width 0.6s ease;
}

.pola-tag {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-size: 0.68rem;
  padding: 3px 6px;
  border-radius: 4px;
  margin-top: 6px;
  font-weight: 600;
}

/* 6. Live Floating Toast for Real-time Wins & Withdrawals */
.live-feed-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(18, 24, 43, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #10b981;
  border-left: 5px solid #10b981;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(16, 185, 129, 0.25);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.live-feed-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.live-feed-toast.jackpot {
  border-color: #fbbf24;
  border-left-color: #fbbf24;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(251, 191, 36, 0.4);
}

/* 7. Footer Payment & Security Certifications */
.payment-methods-box {
  background: #090c17;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  margin-top: 36px;
  text-align: center;
}

.bank-badges-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.bank-badge {
  background: #14192b;
  border: 1px solid #242c48;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bank-badge.qris {
  border-color: #ef4444;
  color: #f87171;
}

.license-badges-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: #64748b;
}

