/* ===================================================
   SPINWHEEL - MODERN CASINO LUXURY DESIGN SYSTEM
   =================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #070319;
  --bg-dark-secondary: #0e072b;
  --bg-card: rgba(19, 13, 49, 0.82);
  --bg-card-hover: rgba(28, 19, 70, 0.9);
  --bg-card-border: rgba(139, 92, 246, 0.35);
  --bg-card-border-glow: rgba(168, 85, 247, 0.6);
  
  --primary-purple: #8b5cf6;
  --primary-purple-dark: #6d28d9;
  --primary-pink: #ec4899;
  --primary-cyan: #06b6d4;
  --primary-blue: #3b82f6;

  /* Gold & Metallic Accents */
  --gold-light: #fff5c0;
  --gold-main: #f59e0b;
  --gold-glow: #fbbf24;
  --gold-dark: #b45309;
  --gold-deep: #78350f;
  --gold-gradient: linear-gradient(180deg, #fffbeb 0%, #fde68a 20%, #f59e0b 55%, #b45309 85%, #78350f 100%);
  --gold-button-gradient: radial-gradient(circle at 35% 35%, #fff176 0%, #ffd54f 25%, #ffb300 55%, #ff8f00 80%, #e65100 100%);

  /* Text Colors */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fde047;

  /* Shadows & Glows */
  --glow-purple-sm: 0 0 15px rgba(139, 92, 246, 0.4);
  --glow-purple-lg: 0 0 35px rgba(139, 92, 246, 0.7), 0 0 60px rgba(124, 58, 237, 0.4);
  --glow-gold-lg: 0 0 25px rgba(245, 158, 11, 0.7), 0 0 50px rgba(251, 191, 36, 0.4);
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 10%, #1e104f 0%, transparent 60%),
    radial-gradient(circle at 85% 80%, #190938 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, #150630 0%, transparent 50%);
  background-attachment: fixed;
}

/* Ambient Canvas & Confetti Canvas */
#ambient-canvas,
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

#confetti-canvas {
  z-index: 100;
}

/* Glowing Background Blobs */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.bg-glow-center {
  width: 600px;
  height: 600px;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #7c3aed 0%, #4c1d95 60%, transparent 80%);
}

.bg-glow-left {
  width: 400px;
  height: 400px;
  top: 60%;
  left: 5%;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}

.bg-glow-right {
  width: 450px;
  height: 450px;
  top: 50%;
  right: 5%;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
}

/* Main Layout Wrapper */
.app-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================
   TOP NAVBAR
   =================================================== */
.navbar {
  padding: 18px 0;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 9, 41, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 9999px;
  padding: 8px 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cbd5e1;
  position: relative;
  padding: 6px 2px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  border-radius: 4px;
  box-shadow: 0 0 10px #ec4899;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  color: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* ===================================================
   SPECIAL CEMONG.FUN CTA BUTTON (ATTRACTIVE & GLOWING)
   =================================================== */
.btn-cemong-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  border: 1.5px solid #fef08a;
  border-radius: 9999px;
  padding: 8px 18px;
  color: #1e1b4b;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: gold-pulse-btn 2.8s infinite ease-in-out;
}

.btn-cemong-cta .cta-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.btn-cemong-cta .cta-text {
  color: #1e1b4b;
  font-weight: 800;
  white-space: nowrap;
}

.btn-cemong-cta .cta-text strong {
  color: #0f0b29;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cemong-cta .cta-arrow {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e1b4b;
  transition: transform 0.2s ease;
}

/* Shimmer Sweep Animation */
.btn-cemong-cta .cta-shimmer {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer-sweep 3.5s infinite;
  pointer-events: none;
}

.btn-cemong-cta:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.85), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.btn-cemong-cta:hover .cta-arrow {
  transform: translate(2px, -2px);
}

.btn-cemong-cta:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes shimmer-sweep {
  0% {
    left: -120%;
  }
  30%, 100% {
    left: 140%;
  }
}

@keyframes gold-pulse-btn {
  0%, 100% {
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.45), 0 4px 10px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 24px rgba(253, 224, 71, 0.8), 0 4px 16px rgba(245, 158, 11, 0.5);
  }
}

@media (max-width: 768px) {
  .btn-cemong-cta {
    padding: 5px 12px;
    font-size: 0.76rem;
    gap: 5px;
  }
  
  .btn-cemong-cta .cta-prefix {
    display: none;
  }

  .nav-container {
    padding: 6px 14px;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .btn-cemong-cta {
    padding: 4px 10px;
    font-size: 0.72rem;
    gap: 4px;
  }
  .btn-cemong-cta .cta-icon {
    font-size: 0.85rem;
  }
  .btn-cemong-cta .cta-arrow {
    font-size: 0.8rem;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .logo-icon {
    width: 30px;
    height: 30px;
  }
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.admin-nav-btn svg {
  width: 16px;
  height: 16px;
}

.admin-nav-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9999px;
  padding: 4px 14px 4px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-pill:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-small svg {
  width: 100%;
  height: 100%;
}

.user-id-text {
  font-size: 0.88rem;
  color: #e2e8f0;
}

.user-id-text strong {
  color: #ffffff;
  font-weight: 700;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.user-profile-pill:hover .chevron-icon {
  transform: translateY(2px);
  color: #ffffff;
}

/* ===================================================
   HERO HEADER & JACKPOT BANNER
   =================================================== */
.hero-banner {
  text-align: center;
  padding: 10px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Event Badge */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #2b1406 0%, #150a03 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: 4px 22px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fde047;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), inset 0 0 10px rgba(245, 158, 11, 0.2);
  margin-bottom: 8px;
  animation: pulse-border 2.5s infinite ease-in-out;
}

.badge-star {
  color: #fde047;
  font-size: 1.1rem;
}

/* Huge 3D Gold Number */
.jackpot-number-wrapper {
  position: relative;
  line-height: 1;
}

.jackpot-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 6.2rem);
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef08a 25%, #f59e0b 55%, #d97706 75%, #78350f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 #92400e) 
          drop-shadow(0 8px 1px #78350f)
          drop-shadow(0 15px 30px rgba(245, 158, 11, 0.7));
  margin: 0;
  user-select: none;
  animation: gold-shimmer 4s infinite linear;
}

/* Ribbon Subtitle Banner */
.ribbon-banner {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-top: -6px;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 15px rgba(168, 85, 247, 0.6));
}

.ribbon-body {
  background: linear-gradient(90deg, #9333ea 0%, #c026d3 50%, #ec4899 100%);
  padding: 6px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ribbon-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.star-icon {
  color: #fde047;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.8);
}

.ribbon-tail {
  width: 18px;
  height: 100%;
  position: absolute;
  top: 0;
  background: #7e22ce;
  z-index: 1;
}

.ribbon-tail.left {
  left: -12px;
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.ribbon-tail.right {
  right: -12px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Tagline */
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e2e8f0;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ===================================================
   MAIN 3-COLUMN GRID
   =================================================== */
.game-grid {
  display: grid;
  grid-template-columns: 290px 1fr 320px;
  gap: 24px;
  align-items: start;
  margin-top: 10px;
  margin-bottom: 40px;
}

/* Side Cards Common Style */
.side-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.side-card:hover {
  border-color: var(--bg-card-border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), var(--glow-purple-sm);
}

/* Left Card: Joined Users */
.left-card .card-header {
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.user-count-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(30, 20, 75, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.user-group-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.user-group-icon svg {
  width: 24px;
  height: 24px;
}

.count-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.count-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Joined Users List */
.joined-users-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom Scrollbar */
.joined-users-list::-webkit-scrollbar,
.modal-users-grid::-webkit-scrollbar,
.history-list::-webkit-scrollbar {
  width: 5px;
}

.joined-users-list::-webkit-scrollbar-track,
.modal-users-grid::-webkit-scrollbar-track,
.history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.joined-users-list::-webkit-scrollbar-thumb,
.modal-users-grid::-webkit-scrollbar-thumb,
.history-list::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.4);
  border-radius: 10px;
}

.joined-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.25s ease;
  animation: slide-in-top 0.4s ease-out;
}

.joined-user-item:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(4px);
}

.user-item-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-item-avatar svg {
  width: 100%;
  height: 100%;
}

.user-item-info {
  display: flex;
  flex-direction: column;
}

.user-item-id {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.user-item-time {
  font-size: 0.72rem;
  color: #94a3b8;
}

.btn-text-link {
  width: 100%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  color: #c084fc;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px;
  margin-top: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-text-link:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-text-link:hover svg {
  transform: translateX(3px);
}

/* ===================================================
   CENTER COLUMN: WHEEL & STAGE
   =================================================== */
.wheel-center-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wheel-stage-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spotlights */
.spotlight {
  position: absolute;
  bottom: 30px;
  width: 180px;
  height: 380px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  filter: blur(20px);
}

.spotlight-left {
  left: 20px;
  background: radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.8) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 80%);
  transform: rotate(25deg);
  transform-origin: bottom center;
}

.spotlight-right {
  right: 20px;
  background: radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.8) 0%, rgba(217, 70, 239, 0.3) 50%, transparent 80%);
  transform: rotate(-25deg);
  transform-origin: bottom center;
}

/* Stage Disc Glow */
.stage-glow-disc {
  position: absolute;
  bottom: 35px;
  width: 360px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.8) 0%, rgba(99, 102, 241, 0.4) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: 2;
}

/* 3D Cylindrical Podium Base */
.podium-base {
  position: absolute;
  bottom: 0;
  width: 380px;
  height: 65px;
  z-index: 3;
}

.podium-top-tier {
  width: 320px;
  height: 25px;
  margin: 0 auto;
  background: linear-gradient(180deg, #4c1d95 0%, #2e1065 100%);
  border-radius: 50%;
  border-top: 2px solid #a855f7;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.podium-bottom-tier {
  width: 380px;
  height: 35px;
  margin-top: -10px;
  background: linear-gradient(180deg, #1e0d4a 0%, #0f0529 100%);
  border-radius: 50%;
  border-top: 1.5px solid #7c3aed;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 35px rgba(124, 58, 237, 0.5);
}

.podium-shadow {
  width: 440px;
  height: 40px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Wheel Assembly */
.wheel-assembly {
  position: relative;
  z-index: 10;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pointer Needle */
.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 56px;
  z-index: 25;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.7));
  transform-origin: 50% 15px;
  transition: transform 0.08s ease-out;
}

.wheel-pointer.tick {
  transform: translateX(-50%) rotate(-14deg);
}

.wheel-pointer svg {
  width: 100%;
  height: 100%;
}

/* Golden Outer Ring */
.wheel-outer-ring {
  position: relative;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffbeb 0%, #fde68a 15%, #f59e0b 45%, #b45309 80%, #78350f 100%);
  padding: 16px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(245, 158, 11, 0.5),
    inset 0 3px 6px rgba(255, 255, 255, 0.8),
    inset 0 -4px 8px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chaser Lightbulbs around outer rim */
.wheel-lights-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
}

.lightbulb {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fef08a;
  border: 1px solid #d97706;
  box-shadow: 0 0 8px #fef08a, 0 0 15px #f59e0b;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

.lightbulb.off {
  background: #78350f;
  border-color: #451a03;
  box-shadow: none;
}

.lightbulb.accent {
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 20px #60a5fa;
}

/* Canvas */
#wheel-canvas {
  width: 398px;
  height: 398px;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  z-index: 12;
  display: block;
}

/* Center Golden Spin Button */
.spin-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbeb 0%, #fde68a 20%, #f59e0b 50%, #b45309 85%, #78350f 100%);
  border: none;
  cursor: pointer;
  z-index: 20;
  padding: 7px;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(245, 158, 11, 0.6),
    inset 0 3px 5px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
  transition: transform 0.15s ease, filter 0.15s ease;
  outline: none;
}

.spin-center-btn:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.8));
}

.spin-center-btn:active:not(:disabled) {
  transform: translate(-50%, -50%) scale(0.96);
}

.spin-center-btn:disabled {
  filter: grayscale(0.4) opacity(0.8);
  cursor: not-allowed;
}

.spin-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffdf00 0%, #e6a100 60%, #b37400 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff3b0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), inset 0 -3px 5px rgba(115, 60, 0, 0.8);
}

.spin-btn-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(120, 53, 15, 0.9), 0 0 8px rgba(255, 255, 255, 0.6);
  user-select: none;
}

/* Spectator Center Live Hub */
.spin-center-btn.spectator-mode {
  cursor: default;
  background: radial-gradient(circle at 35% 35%, #f43f5e 0%, #e11d48 30%, #be123c 60%, #4c0519 100%);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(225, 29, 72, 0.6),
    inset 0 3px 5px rgba(255, 255, 255, 0.8),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
}

.spin-center-btn.spectator-mode:hover {
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 20px rgba(244, 63, 94, 0.8));
}

.spectator-inner {
  background: radial-gradient(circle at 40% 40%, #be123c 0%, #881337 60%, #4c0519 100%) !important;
  flex-direction: column;
  gap: 1px;
  border-color: #fca5a5 !important;
}

.live-pulse-glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #f43f5e;
  animation: pulse-dot-anim 1s infinite;
}

.live-heading {
  font-size: 1.15rem !important;
  color: #ffffff !important;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9) !important;
}

.spin-btn-sublabel {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fecdd3;
  text-transform: uppercase;
}

.live-stream-val {
  font-size: 1.5rem !important;
  color: #f43f5e !important;
  text-shadow: 0 0 15px rgba(244, 63, 94, 0.6) !important;
}

/* Bottom Spin Counter & Info */
.spin-counter-box {
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 10;
}

.spin-counter-box {
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.spin-counter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.spin-counter-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: #fde047;
  line-height: 1;
  text-shadow: 0 0 15px rgba(253, 224, 71, 0.6), 0 0 30px rgba(245, 158, 11, 0.4);
}

/* Session Live Bar */
.session-live-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 10, 48, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 9999px;
  padding: 6px 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  margin-top: 4px;
}

.session-live-bar.active {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(6, 78, 59, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.session-live-bar.closed {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(120, 53, 15, 0.35);
}

.session-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse-dot-anim 1.5s infinite;
}

.session-live-bar.closed .session-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.session-status-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}

.session-countdown-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
}

.session-schedule-badge {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 2px;
}

.session-schedule-badge strong {
  color: #fde047;
}

/* ===================================================
   RIGHT COLUMN: GUIDES & WINNERS & REFERRAL
   =================================================== */
.right-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.subcard {
  background: rgba(26, 17, 66, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.25s ease;
}

.subcard:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.subcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.subcard-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.gift-icon {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.trophy-icon {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.subcard-icon svg {
  width: 16px;
  height: 16px;
}

.subcard-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Guide Steps */
.guide-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.4);
}

.step-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.event-period-pill {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.78rem;
  color: #c084fc;
}

.event-period-pill strong {
  color: #ffffff;
}

/* 3 Pemenang Terbaru List */
.recent-winners-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.winner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 10px;
  position: relative;
  transition: all 0.2s ease;
}

.winner-row:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.winner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.winner-avatar svg {
  width: 100%;
  height: 100%;
}

.winner-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.winner-id {
  font-size: 0.8rem;
  color: #f1f5f9;
}

.winner-id strong {
  color: #ffffff;
}

.winner-time {
  font-size: 0.68rem;
  color: #94a3b8;
}

.winner-prize {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fde047;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.4);
}

.winner-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.badge-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.badge-silver {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.4);
}

.badge-bronze {
  background: linear-gradient(135deg, #b45309, #78350f);
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.4);
}

/* Referral Subcard */
.referral-subcard {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.5) 0%, rgba(131, 24, 67, 0.4) 100%);
  border: 1px solid rgba(236, 72, 153, 0.4);
  cursor: pointer;
}

.referral-subcard:hover {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.7) 0%, rgba(190, 24, 93, 0.6) 100%);
  border-color: #ec4899;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
  transform: translateY(-2px);
}

.referral-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ec4899;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

.referral-icon svg {
  width: 20px;
  height: 20px;
}

.referral-content {
  flex-grow: 1;
}

.referral-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.referral-subtitle {
  font-size: 0.72rem;
  color: #fbcfe8;
  margin-top: 2px;
}

.referral-arrow {
  color: #ec4899;
  transition: transform 0.2s ease;
}

.referral-arrow svg {
  width: 18px;
  height: 18px;
}

.referral-subcard:hover .referral-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

/* ===================================================
   FOOTER
   =================================================== */
.app-footer {
  margin-top: auto;
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #64748b;
}

/* ===================================================
   MODALS (NATIVE HTML5 <dialog> WITH BACKDROP)
   =================================================== */
.custom-modal {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 480px;
  width: 90%;
  margin: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  z-index: 150;
}

.custom-modal.large-modal {
  max-width: 680px;
}

.custom-modal::backdrop {
  background: rgba(4, 2, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-card {
  background: #110933;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: 24px;
  padding: 24px;
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 35px rgba(139, 92, 246, 0.3);
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.modal-header-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
}

.btn-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

/* Win Modal Specific */
.win-modal .modal-card {
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #2e1065 0%, #110933 80%);
  border-color: #f59e0b;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.4);
}

.win-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.win-star-burst {
  font-size: 2rem;
  margin-bottom: 4px;
  animation: bounce 1.5s infinite;
}

.win-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(180deg, #fffbeb 0%, #fef08a 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(245, 158, 11, 0.6);
  line-height: 1.1;
}

.win-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.win-prize-box {
  background: rgba(245, 158, 11, 0.12);
  border: 2px dashed rgba(245, 158, 11, 0.5);
  border-radius: 18px;
  padding: 18px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.win-prize-icon {
  font-size: 3rem;
  line-height: 1;
}

.win-prize-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 20px rgba(253, 224, 71, 0.6);
}

.win-prize-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fed7aa;
  background: rgba(180, 83, 9, 0.4);
  padding: 3px 12px;
  border-radius: 20px;
}

.win-instructions {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 22px;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.5);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #e2e8f0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* User Grid in All Users Modal */
.modal-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.modal-search-box svg {
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.modal-search-box input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  width: 100%;
  outline: none;
}

.modal-search-box input::placeholder {
  color: #64748b;
}

.modal-users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}

/* User Profile Modal Content */
.profile-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  margin-bottom: 8px;
}

.profile-id {
  font-size: 1.1rem;
  color: #cbd5e1;
}

.profile-id strong {
  color: #ffffff;
}

.profile-balance-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(180, 83, 9, 0.2));
  border: 1.5px solid #f59e0b;
  border-radius: 16px;
  padding: 12px 24px;
  text-align: center;
  margin: 14px 0;
  width: 100%;
}

.profile-balance-badge span {
  font-size: 0.8rem;
  color: #fed7aa;
}

.profile-balance-badge h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fde047;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
}

.switch-id-section {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.switch-id-section label {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
}

.input-with-btn input:focus {
  border-color: var(--primary-purple);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
  flex: none;
}

.history-title {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #c084fc;
  margin-bottom: 10px;
}

.history-list {
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
}

.empty-history {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  padding: 15px 0;
}

/* Referral Modal */
.referral-badge-promo {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.88rem;
  color: #fbcfe8;
  margin-bottom: 18px;
  line-height: 1.4;
}

.share-box {
  margin-bottom: 18px;
}

.share-box label {
  font-size: 0.8rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}

.quick-share-buttons {
  display: flex;
  gap: 10px;
}

.share-social-btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.share-social-btn:hover {
  transform: translateY(-2px);
}

.share-social-btn.wa {
  background: #25d366;
}

.share-social-btn.tele {
  background: #0088cc;
}

.share-social-btn.bonus {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Info Modal (FAQ / Rules) */
.info-modal-body {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-height: 400px;
  overflow-y: auto;
}

.info-modal-body h4 {
  color: #fde047;
  margin: 14px 0 6px;
  font-family: var(--font-heading);
}

.info-modal-body p,
.info-modal-body ul {
  margin-bottom: 10px;
}

.info-modal-body ul {
  padding-left: 20px;
}

/* Toast Winner Feed & Live Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 440px;
}

.toast-item {
  background: rgba(18, 10, 48, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.3);
  animation: slide-in-toast 0.4s ease-out, fade-out-toast 0.5s 4.5s forwards ease-in;
}

@media (max-width: 768px) {
  .toast-container {
    top: 20px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    max-width: 400px;
    align-items: center;
  }

  .toast-item {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.86rem;
    animation: slide-in-toast-mobile 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), fade-out-toast-mobile 0.5s 4.5s forwards ease-in;
  }
}

@keyframes slide-in-toast-mobile {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-out-toast-mobile {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

/* Helper Utilities */
.hidden {
  display: none !important;
}

/* ===================================================
   KEYFRAME ANIMATIONS
   =================================================== */
@keyframes pulse-border {
  0%, 100% {
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  }
  50% {
    border-color: #fbbf24;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.7);
  }
}

@keyframes gold-shimmer {
  0% {
    filter: drop-shadow(0 4px 0 #92400e) drop-shadow(0 8px 1px #78350f) drop-shadow(0 15px 25px rgba(245, 158, 11, 0.6));
  }
  50% {
    filter: drop-shadow(0 4px 0 #92400e) drop-shadow(0 8px 1px #78350f) drop-shadow(0 15px 40px rgba(251, 191, 36, 0.9));
  }
  100% {
    filter: drop-shadow(0 4px 0 #92400e) drop-shadow(0 8px 1px #78350f) drop-shadow(0 15px 25px rgba(245, 158, 11, 0.6));
  }
}

@keyframes slide-in-top {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-pop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes slide-in-toast {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-out-toast {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES
   =================================================== */
@media (max-width: 1180px) {
  .game-grid {
    grid-template-columns: 260px 1fr 280px;
    gap: 16px;
  }
  .wheel-assembly {
    width: 390px;
    height: 390px;
  }
  .wheel-outer-ring {
    width: 380px;
    height: 380px;
  }
  #wheel-canvas {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 980px) {
  .game-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 10px auto 40px;
  }
  .wheel-center-section {
    order: -1;
    margin-bottom: 20px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .app-wrapper {
    padding: 0 14px;
  }
  .wheel-assembly {
    width: 330px;
    height: 330px;
  }
  .wheel-outer-ring {
    width: 320px;
    height: 320px;
    padding: 12px;
  }
  .lightbulb {
    width: 7px;
    height: 7px;
  }
  #wheel-canvas {
    width: 296px;
    height: 296px;
  }
  .spin-center-btn {
    width: 82px;
    height: 82px;
  }
  .spin-btn-text {
    font-size: 1.15rem;
  }
  .podium-base {
    width: 300px;
  }
  .podium-top-tier {
    width: 260px;
  }
  .podium-bottom-tier {
    width: 300px;
  }
}

/* ===================================================
   LUXURIOUS MODERN FOOTER
   =================================================== */
.app-footer {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 30px;
  position: relative;
  z-index: 10;
}

.footer-glass-card {
  background: rgba(15, 9, 41, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
  padding: 30px 32px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 480px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.footer-partner-tag {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.footer-partner-tag strong {
  color: #ffffff;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-cemong-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  border: 1.5px solid #fef08a;
  border-radius: 18px;
  padding: 12px 24px;
  color: #1e1b4b;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-btn-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

.footer-btn-text {
  display: flex;
  flex-direction: column;
}

.footer-btn-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #451a03;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-btn-main {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f0b29;
  letter-spacing: 0.5px;
}

.footer-btn-shimmer {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer-sweep 3.2s infinite;
  pointer-events: none;
}

.footer-cemong-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.8), 0 8px 25px rgba(0, 0, 0, 0.5);
}

.footer-features-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 14px;
  padding: 12px 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-feat-item .feat-icon {
  font-size: 1.1rem;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright-text {
  color: #94a3b8;
}

.footer-link-highlight {
  color: #fde047;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-link-highlight:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #fde047;
}

.footer-admin-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.2s ease;
}

.footer-admin-link:hover {
  color: #c084fc;
}

@media (max-width: 768px) {
  .footer-glass-card {
    padding: 20px 18px 16px;
  }
  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-cemong-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  .footer-features-row {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* Hide Netlify Drawer & Injected Badges */
iframe[src*="netlify"],
[data-netlify-deploy-preview],
.netlify-badge,
#netlify-badge,
netlify-drawer,
div[class*="netlify-drawer"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
