/* ==========================================================================
   LUCKYSPIN - MODERN DARK PREMIUM TECHNOLOGY DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Color Palette - Dark Premium */
  --bg-deep: #07090e;
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --bg-elevated: #151d2d;
  --bg-glass: rgba(14, 20, 33, 0.65);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 240, 255, 0.35);
  --border-accent-glow: rgba(0, 240, 255, 0.6);
  
  /* Accents & Brand */
  --cyan-primary: #00f0ff;
  --cyan-hover: #38bdf8;
  --cyan-dim: rgba(0, 240, 255, 0.12);
  --cyan-glow: 0 0 25px rgba(0, 240, 255, 0.35);
  
  --purple-accent: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.15);
  
  --gold-accent: #f59e0b;
  --gold-dim: rgba(245, 158, 11, 0.15);
  
  --silver-accent: #94a3b8;
  --platinum-accent: #e2e8f0;

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadow & Glow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  --glow-cyan: 0 0 35px rgba(0, 240, 255, 0.25);
  --glow-purple: 0 0 35px rgba(139, 92, 246, 0.25);
  --glow-wheel: 0 0 60px rgba(0, 240, 255, 0.18), 0 0 120px rgba(139, 92, 246, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #07090e 0%, #0b0f19 50%, #07090e 100%) !important;
  background-attachment: fixed !important;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-hover);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--cyan-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--cyan-hover);
}

/* Container */
.ls-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.ls-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.875rem 0;
  transition: all 0.3s ease;
}

.ls-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ls-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.ls-brand-logo {
  height: 42px;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 240, 255, 0.2));
}

.ls-brand-fallback {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ls-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Nav Pill Buttons (Desktop) */
.ls-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  background: radial-gradient(circle at 35% 35%, #2a2012 0%, #15120a 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ls-nav-btn:hover {
  background: radial-gradient(circle at 35% 35%, #3d2f19 0%, #1e190e 100%);
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.ls-nav-btn.active {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  color: #ffd700;
}

.ls-nav-icon {
  width: 20px !important;
  height: 20px !important;
  stroke: #ffd700 !important;
  stroke-width: 2.5px !important;
  fill: rgba(255, 215, 0, 0.35) !important;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* Sound Toggle Button */
.ls-sound-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2012 0%, #15120a 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  color: #ffd700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ls-sound-btn:hover {
  border-color: #ffd700;
  color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.ls-sound-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #ffd700 !important;
  stroke-width: 2.5px !important;
  fill: rgba(255, 215, 0, 0.35) !important;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* Mobile: Large, bold, glowing circular buttons (matching 4-circle layout) */
@media (max-width: 640px) {
  .ls-navbar {
    padding: 0.5rem 0;
  }
  
  .ls-navbar .ls-container {
    padding: 0 0.75rem;
  }

  .ls-nav-wrapper {
    gap: 0.35rem;
  }

  .ls-brand {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .ls-brand-logo {
    height: 28px;
    max-width: 90px;
    width: auto;
  }
  
  .ls-nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .ls-nav-text {
    display: none !important;
  }

  .ls-nav-btn,
  .ls-sound-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(circle at 35% 35%, #2d2214 0%, #17120a 100%) !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 215, 0, 0.4) !important;
  }

  .ls-nav-icon {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.5px !important;
    fill: rgba(255, 215, 0, 0.35) !important;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8)) !important;
  }
}

@media (max-width: 360px) {
  .ls-brand-logo {
    height: 24px;
    max-width: 75px;
  }
  
  .ls-nav-actions {
    gap: 0.25rem;
  }

  .ls-nav-btn,
  .ls-sound-btn {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
  }

  .ls-nav-icon {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Dynamic Custom Background Layer */
.ls-custom-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}

.ls-bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.15) 0%, rgba(5, 5, 8, 0.75) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Livechat floating badge */
.ls-livechat-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px -3px rgba(14, 165, 233, 0.5);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ls-livechat-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px -5px rgba(14, 165, 233, 0.7);
  color: #fff;
}

.ls-livechat-float svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   MAIN HERO & WHEEL SECTION
   ========================================================================== */
.ls-hero-section {
  padding: 2.5rem 0 4rem;
  position: relative;
}

.ls-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ls-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .ls-hero-section {
    padding: 1.25rem 0 2.5rem;
  }
  .ls-hero-grid {
    gap: 1.75rem;
  }
  .ls-wheel-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .ls-wheel-frame {
    max-width: min(360px, calc(100vw - 2.5rem)) !important;
    margin: 0 auto;
  }
}

/* Wheel Centerpiece Area */
.ls-wheel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.ls-wheel-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(18, 26, 42, 0.85) 0%, rgba(9, 13, 22, 0.98) 70%, #06080d 100%);
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-lg), var(--glow-wheel);
}

/* Subtle glowing ring outside the wheel */
.ls-wheel-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan-primary), var(--purple-accent), var(--cyan-primary));
  opacity: 0.28;
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

.ls-wheel-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* SVG Wheel Container inside the frame */
.wheelContainer {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  top: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.wheelSVG {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  transform: none !important;
  overflow: visible !important;
}

/* Center Spin Button (Центральная кнопка) */
.ls-spin-trigger-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: auto;
}

.spinBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, #00f0ff 0%, #0284c7 60%, #0369a1 100%) !important;
  color: #031326 !important;
  font-family: var(--font-main) !important;
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  border: 3px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
}

.spinBtn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.95), inset 0 2px 6px rgba(255, 255, 255, 0.8) !important;
}

.spinBtn:active {
  transform: scale(0.95) !important;
}

.spinBtn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Spin Status Pill */
.ls-wheel-status {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ls-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

/* ==========================================================================
   INTERACTION CARD (REDEEM FORM)
   ========================================================================== */
.ls-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.ls-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-primary) 50%, transparent 100%);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .ls-card {
    padding: 1.5rem 1.25rem;
  }
}

.ls-badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--cyan-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.ls-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 20%, #cbd5e1 70%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ls-hero-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Form Styles */
.ls-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.ls-form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.ls-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ls-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.ls-input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 1rem 0 2.85rem !important;
  background: rgba(11, 15, 25, 0.85) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-white) !important;
  font-family: var(--font-main) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

.ls-input::placeholder {
  color: var(--text-muted);
}

.ls-input:focus {
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15) !important;
  background: rgba(15, 21, 35, 0.95) !important;
}

.ls-input:focus + .ls-input-icon,
.ls-input-wrapper:focus-within .ls-input-icon {
  color: var(--cyan-primary);
}

/* Error/Feedback Message */
.ls-form-feedback {
  min-height: 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.4rem;
  transition: all 0.2s ease;
}
.ls-form-feedback.is-error {
  color: var(--danger);
}
.ls-form-feedback.is-loading {
  color: var(--cyan-hover);
}

/* Button System */
.ls-btn-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 480px) {
  .ls-btn-group {
    grid-template-columns: 1fr 1fr;
  }
}

.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transform: none !important;
  left: 0 !important;
}

.ls-btn:active {
  transform: scale(0.98) !important;
}

.ls-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary CTA Button with Glow */
.ls-btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%) !important;
  color: #031326 !important;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

.ls-btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px) !important;
  color: #031326 !important;
}

/* Secondary Button */
.ls-btn-secondary {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
}

.ls-btn-secondary:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-white) !important;
  transform: translateY(-2px) !important;
}

/* Fullwidth Button Helper */
.ls-btn-block {
  width: 100% !important;
}

/* Verified User Indicator Card (shown after coupon valid) */
.ls-user-verified-card {
  display: none;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
  text-align: center;
}

.ls-user-verified-card.is-active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.ls-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan-primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

/* Feature Highlights Bar */
.ls-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}

.ls-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.ls-feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cyan-dim);
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.ls-feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.ls-feature-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   MODALS & DRAWERS (REWARDS, HISTORY, RULES, WINNER)
   ========================================================================== */
.ls-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.ls-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ls-modal {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: #0f1524;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 240, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ls-modal-backdrop.is-open .ls-modal {
  transform: scale(1) translateY(0);
}

.ls-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 26, 42, 0.6);
}

.ls-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
}

.ls-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ls-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.ls-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* Tier Badges in Modals */
.ls-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ls-tier-silver {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.ls-tier-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.ls-tier-platinum {
  background: rgba(0, 240, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 240, 255, 0.35);
}

/* Prize Tier Columns in Rewards Modal */
.ls-rewards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ls-rewards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ls-tier-card {
  background: rgba(18, 25, 40, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.ls-tier-card-header {
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.ls-tier-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ls-tier-item {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-xs);
  background: rgba(11, 16, 28, 0.5);
  text-align: center;
}

/* History Modal Table & Mobile Cards */
.ls-history-table {
  width: 100%;
  border-collapse: collapse;
  display: none;
}

@media (min-width: 600px) {
  .ls-history-table {
    display: table;
  }
  .ls-history-mobile-list {
    display: none !important;
  }
}

.ls-history-table th {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.ls-history-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ls-history-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-white);
}

/* Mobile Stacked History Cards */
.ls-history-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ls-history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(18, 25, 40, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.ls-history-user {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ls-history-prize {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--cyan-primary);
  text-align: right;
}

/* Winner Celebration Modal */
.ls-winner-modal {
  text-align: center;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  -webkit-overflow-scrolling: touch;
  max-width: 490px !important;
  background: radial-gradient(circle at 50% 0%, #152238 0%, #0a0f1d 70%, #060913 100%) !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.25), 0 25px 50px rgba(0, 0, 0, 0.8) !important;
}

.ls-winner-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 50;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ls-winner-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.ls-winner-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(0, 240, 255, 0.18) 100%);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #ffd700;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

.ls-winner-headline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* Big Winning Prize Image Showcase */
.ls-winner-showcase {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-winner-img-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.35) 0%, rgba(255, 215, 0, 0.15) 50%, transparent 70%);
  animation: pulseWinnerGlow 2.5s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes pulseWinnerGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 1; }
}

.ls-winner-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(0, 240, 255, 0.6));
  animation: floatWinner 3s ease-in-out infinite alternate;
}

@keyframes floatWinner {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.04); }
}

.ls-winner-prize-name {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.85), 0 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.ls-winner-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ls-winner-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ls-winner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.ls-winner-actions a,
.ls-winner-actions button {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
  user-select: none;
}

/* Footer */
.ls-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  background: rgba(7, 9, 14, 0.95);
}

.ls-footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Helper Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fallback clean styling for elements used by mzdCore */
.toast {
  display: none !important;
}

#alert, #congrats {
  display: none;
}

/* Sleek Peg Pointer */
.pegContainer {
  pointer-events: none;
  z-index: 10;
}

.peg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(0, 240, 255, 0.9));
  transform-origin: 12px 0px;
}

/* Tier items with thumbnail preview */
.ls-tier-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  text-align: left !important;
}

.ls-tier-item img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  border-radius: 4px !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

/* ==========================================================================
   DRAGON GOLD ASIAN GAMING SUITE (MATCHING TARGET DESIGN)
   ========================================================================== */

.ls-dragon-stage {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 1rem 5rem;
  overflow-x: hidden;
}

.ls-main-container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* --------------------------------------------------------------------------
   TOP SHOWCASE BADGES (JACKPOT & VIP)
   -------------------------------------------------------------------------- */
/* Badges removed per user instruction */

/* --------------------------------------------------------------------------
   HERO GRID & WHEEL
   -------------------------------------------------------------------------- */
.ls-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 0 2rem;
}

.ls-wheel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   ZEUS VIP CASINO GOLD WHEEL STAGE (HIGH PERFORMANCE 60 FPS)
   -------------------------------------------------------------------------- */
.ls-vip-wheel-stage {
  position: relative;
  width: min(600px, calc(100vw - 24px));
  height: min(600px, calc(100vw - 24px));
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SVG Wheel Container nested inside the circular opening of Zeus frame */
.ls-vip-wheel-stage .wheelContainer {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 55.5% !important;
  height: 55.5% !important;
  max-width: 55.5% !important;
  max-height: 55.5% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  z-index: 5 !important;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95) !important;
}

.ls-vip-wheel-stage .wheelSVG {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
}

/* Golden God Zeus (Left Stage, Tall & Grand - Sesuai Garis Hijau) */
.ls-golden-zeus-figure {
  position: absolute;
  left: -160px;
  bottom: -30px;
  height: 610px;
  max-height: 115%;
  z-index: 12;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ls-golden-zeus-art {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(245, 158, 11, 0.35));
  animation: zeus-god-breathe 4s ease-in-out infinite alternate;
}

@keyframes zeus-god-breathe {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 15px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(245, 158, 11, 0.25));
  }
  100% {
    transform: translateY(-6px) scale(1.015);
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.45));
  }
}

/* Master Gold Bezel Frame Overlay */
.ls-zeus-wheel-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-zeus-frame-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.7)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95));
}

/* Center 3D Gold SPIN Button (Centered at cx, cy) */
.ls-spin-trigger-wrapper {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20 !important;
}

.ls-vip-wheel-stage .spinBtn {
  width: 74px !important;
  height: 74px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ffd700 40%, #b8860b 80%, #78350f 100%) !important;
  border: 3px solid #fff59d !important;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.9), inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 6px 15px rgba(0, 0, 0, 0.9) !important;
  color: #1a0f00 !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  outline: none !important;
}

.ls-vip-wheel-stage .spinBtn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 0 35px rgba(255, 215, 0, 1), inset 0 2px 4px #ffffff !important;
}

.ls-vip-wheel-stage .spinBtn:active {
  transform: scale(0.92) !important;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: BRAND & PILL FORM
   -------------------------------------------------------------------------- */
.ls-form-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.ls-target-brand {
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.ls-brand-emblem-wrap {
  position: relative;
  max-width: 290px;
  width: 100%;
  margin: 0 auto 0.5rem auto;
  animation: ls-logo-float 3.5s ease-in-out infinite alternate;
}

.ls-gold-emblem-crown {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.4));
}

.ls-gold-ribbon-banner {
  position: relative;
  width: 96%;
  margin: 0 auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-gold-ribbon-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
}

.ls-ribbon-text {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  text-align: center;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 2.5px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 
    -1.5px -1.5px 0 #5c2c00,
     1.5px -1.5px 0 #5c2c00,
    -1.5px  1.5px 0 #5c2c00,
     1.5px  1.5px 0 #5c2c00,
     0 3px 6px rgba(0,0,0,0.85);
}

.ls-gold-emblem-logo {
  max-width: 290px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.4));
  margin: 0 auto 0.5rem auto;
  display: block;
  animation: ls-logo-float 3.5s ease-in-out infinite alternate;
}

@keyframes ls-logo-float {
  0% { transform: translateY(0); filter: drop-shadow(0 6px 18px rgba(255, 215, 0, 0.3)); }
  100% { transform: translateY(-5px); filter: drop-shadow(0 14px 30px rgba(255, 215, 0, 0.55)); }
}

.ls-target-logo {
  max-width: 230px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.4));
  margin-bottom: 0.5rem;
}

.ls-target-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ls-brand-primary-name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #ffd700 40%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.6));
  line-height: 1.1;
}

.ls-brand-sub-badge {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffd700;
  margin-top: 0.35rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Pill Form Box */
.ls-form-box {
  width: 100%;
}

.ls-form-group {
  margin-bottom: 1.1rem;
}

.ls-pill-label {
  display: block;
  color: #ffd700;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.ls-pill-wrapper {
  position: relative;
  width: 100%;
}

.ls-pill-input {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #ffd700;
  border-radius: 9999px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: #111111;
  font-weight: 600;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ls-pill-input:focus {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.8), inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ls-pill-input::placeholder {
  color: #888888;
  font-weight: 400;
}

.ls-form-feedback {
  font-size: 0.825rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
  text-align: center;
}

.ls-form-feedback.is-error {
  color: #f87171;
  font-weight: 600;
}

.ls-form-feedback.is-loading {
  color: #ffd700;
}

/* Big Golden Pill Spin Button */
.ls-gold-bar-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, #ffe57f 0%, #f5b300 45%, #b8860b 100%);
  border: 2px solid #ffd700;
  border-radius: 9999px;
  color: #111111;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 179, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 3px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ls-gold-bar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7), inset 0 2px 4px #ffffff;
  filter: brightness(1.05);
}

.ls-gold-bar-btn:active {
  transform: translateY(1px);
}

/* Quick Action Modal Links under form */
.ls-quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.ls-action-link {
  background: none;
  border: none;
  color: #ffd700;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  transition: color 0.15s ease;
}

.ls-action-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ls-sep {
  color: #71717a;
}

/* --------------------------------------------------------------------------
   HOMEPAGE LIVE WINNER TABLE (WIDER WITH TIER BADGES)
   -------------------------------------------------------------------------- */
.ls-winner-table-section {
  max-width: 1060px;
  width: 100%;
  margin: 2.5rem auto 1.5rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.ls-winner-table-banner {
  background: linear-gradient(180deg, #ffe066 0%, #f5b300 50%, #b8860b 100%);
  color: #000000;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 0.85rem 1.5rem;
  text-align: left;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}

.ls-table-responsive-box {
  width: 100%;
  overflow-x: auto;
  max-height: 420px;
  overflow-y: auto;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #f59e0b #f1f3f5;
}

.ls-table-responsive-box::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.ls-table-responsive-box::-webkit-scrollbar-track {
  background: #f1f3f5;
}
.ls-table-responsive-box::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 4px;
}

.ls-target-winner-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.ls-target-winner-table th {
  background: #f1f3f5;
  color: #111111;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid #e2e8f0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  letter-spacing: 0.3px;
}

.ls-target-winner-table td {
  background: #ffffff;
  color: #111111;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f3f5;
  text-align: center;
  transition: background-color 0.5s ease;
}

.ls-target-winner-table tr:nth-of-type(even) td {
  background: #f8f9fa;
}

.ls-target-winner-table tr.ls-new-winner-row td {
  animation: winner-flash 2.5s ease-out forwards;
}

@keyframes winner-flash {
  0% { background-color: #fef08a !important; }
  40% { background-color: #fef9c3 !important; }
  100% { background-color: #ffffff; }
}

.ls-user-win-highlight td {
  background: #fef3c7 !important;
  animation: ls-user-pulse 3s ease-in-out infinite alternate !important;
}

@keyframes ls-user-pulse {
  0% { background: #fef3c7 !important; }
  100% { background: #fde68a !important; }
}

/* Tier Badges in Winner Table */
.ls-tier-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ls-tier-silver {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.35);
}

.ls-tier-gold {
  background: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
  color: #422006;
  border: 1px solid #fde047;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.45);
}

.ls-tier-platinum {
  background: linear-gradient(135deg, #cffafe 0%, #06b6d4 50%, #0891b2 100%);
  color: #083344;
  border: 1px solid #67e8f9;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.45);
}

.ls-prize-pill {
  font-weight: 700;
  color: #0f172a;
}

.ls-prize-winner {
  background: #dc2626 !important;
  color: #ffffff !important;
  padding: 3px 10px;
  border-radius: 9999px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* --------------------------------------------------------------------------
   FLOATING ACTION BUTTONS: SPEED DIAL & ANIMATED GIF LIVECHAT
   -------------------------------------------------------------------------- */
.ls-speed-dial-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.ls-float-speed-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: 2px solid #86efac;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.2s ease;
  outline: none;
}

.ls-float-speed-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.ls-trigger-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.ls-trigger-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ls-pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes ls-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.ls-speed-dial-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.92);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom left;
}

.ls-speed-dial-container.is-open .ls-speed-dial-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ls-speed-dial-container.is-open .ls-float-speed-trigger {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
  border-color: #fca5a5;
}

.ls-dial-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(24, 20, 36, 0.96);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 8px 16px 8px 10px;
  border-radius: 9999px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.ls-dial-item:hover {
  transform: translateX(4px);
  background: rgba(36, 30, 56, 0.98);
  border-color: #ffd700;
  color: #ffd700;
}

.ls-dial-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 3px 8px rgba(0, 0, 0, 0.4);
}

.ls-dial-wa .ls-dial-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.ls-dial-rtp .ls-dial-icon { background: linear-gradient(135deg, #f97316, #c2410c); }
.ls-dial-prediksi .ls-dial-icon { background: linear-gradient(135deg, #a855f7, #6b21a8); }
.ls-dial-apk .ls-dial-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* Floating Animated GIF Livechat Card (Right) */
.ls-floating-actions-right {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.ls-float-livechat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 18, 38, 0.94);
  border: 1px solid rgba(239, 68, 68, 0.5);
  padding: 6px 14px 6px 8px;
  border-radius: 9999px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35), 0 2px 8px rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ls-float-livechat-card:hover {
  transform: scale(1.05);
  border-color: #ef4444;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.55);
  color: #ffffff;
}

.ls-livechat-gif-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.ls-livechat-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ef4444;
}

.ls-livechat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #111;
  box-shadow: 0 0 6px #22c55e;
}

.ls-livechat-text-col {
  display: flex;
  flex-direction: column;
}

.ls-livechat-status {
  font-size: 0.65rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.ls-livechat-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE ADAPTATION)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .ls-dragon-stage {
    padding: 1rem 0.75rem 5rem !important;
    overflow-x: hidden !important;
  }

  .ls-main-container {
    padding: 0 0.5rem !important;
    max-width: 100% !important;
  }

  .ls-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 0.5rem;
    width: 100% !important;
  }
  
  .ls-vip-wheel-stage {
    width: min(400px, 92vw);
    height: min(400px, 92vw);
    margin: 0 auto !important;
    overflow: visible;
  }

  .ls-golden-zeus-figure {
    left: -70px;
    bottom: 0px;
    height: 105%;
    max-height: 110%;
    z-index: 2 !important;
    opacity: 0.95;
    pointer-events: none;
  }

  .ls-form-column {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  
  .ls-winner-table-section {
    margin-top: 1.75rem;
  }
}

@media (max-width: 480px) {
  .ls-custom-bg {
    background-attachment: scroll !important;
  }

  .ls-wheel-column {
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .ls-vip-wheel-stage {
    width: min(360px, calc(100vw - 20px));
    height: min(360px, calc(100vw - 20px));
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
  }

  .ls-golden-zeus-figure {
    left: -65px;
    bottom: 0px;
    height: 105%;
    max-height: 110%;
    z-index: 2 !important;
    opacity: 0.95;
    pointer-events: none;
  }

  .ls-form-column {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .ls-target-brand {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 1rem auto !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .ls-brand-emblem-wrap {
    max-width: 220px !important;
    width: 100% !important;
    margin: 0 auto 0.4rem auto !important;
  }

  .ls-gold-emblem-crown {
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .ls-ribbon-text {
    font-size: 1rem !important;
    letter-spacing: 1.5px !important;
  }

  .ls-brand-sub-badge {
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    word-break: break-word !important;
    padding: 0 8px !important;
  }

  .ls-form-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
  }

  .ls-pill-wrapper {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ls-pill-input {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 46px !important;
    font-size: 0.9rem !important;
  }

  .ls-gold-bar-btn {
    height: 48px !important;
    font-size: 1.1rem !important;
  }

  .ls-vip-wheel-bezel .spinBtn {
    width: 58px !important;
    height: 58px !important;
    font-size: 0.9rem !important;
  }

  .ls-gold-emblem-logo {
    max-width: 220px;
  }

  /* Winner Celebration Modal Mobile Responsive */
  .ls-winner-modal {
    padding: 1.6rem 1.25rem 1.75rem !important;
    max-height: 88vh !important;
    width: calc(100% - 24px) !important;
    margin: auto !important;
  }

  .ls-winner-close-btn {
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1.1rem !important;
  }

  .ls-winner-badge-pill {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.72rem !important;
    margin-bottom: 0.6rem !important;
    max-width: 80% !important;
  }

  .ls-winner-headline {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }

  .ls-winner-showcase {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 0.75rem !important;
  }

  .ls-winner-prize-name {
    font-size: 1.4rem !important;
    margin-bottom: 0.4rem !important;
  }

  .ls-winner-desc {
    font-size: 0.85rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
  }

  .ls-winner-meta-tag {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  .ls-winner-actions .ls-gold-bar-btn {
    height: 46px !important;
    font-size: 0.95rem !important;
    padding: 0 1rem !important;
  }

  .ls-winner-actions .ls-action-link {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
  }

  .ls-winner-table-section {
    margin-top: 1.5rem;
    border-radius: 12px;
  }

  .ls-winner-table-banner {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .ls-target-winner-table th, 
  .ls-target-winner-table td {
    padding: 8px 6px;
    font-size: 0.78rem;
  }

  .ls-tier-badge-pill {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .ls-speed-dial-container {
    bottom: 16px;
    left: 14px;
  }

  .ls-float-speed-trigger {
    width: 50px;
    height: 50px;
  }

  .ls-dial-item {
    font-size: 0.78rem;
    padding: 6px 12px 6px 8px;
  }

  .ls-dial-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .ls-floating-actions-right {
    bottom: 16px;
    right: 14px;
  }

  .ls-float-livechat-card {
    padding: 4px 10px 4px 6px;
  }

  .ls-livechat-gif-wrapper {
    width: 38px;
    height: 38px;
  }

  .ls-livechat-title {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   SPEED DIAL TRIGGER STYLES (RED CS & CUSTOM)
   ========================================================================== */
.ls-float-speed-trigger.ls-trigger-red-cs {
  background: radial-gradient(circle at 35% 35%, #ef4444 0%, #b91c1c 65%, #7f1d1d 100%) !important;
  border-color: #fca5a5 !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.55), 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}
.ls-float-speed-trigger.ls-trigger-red-cs:hover {
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.75) !important;
}
.ls-float-speed-trigger.ls-trigger-red-cs .ls-trigger-pulse {
  border-color: #ef4444 !important;
}

.ls-float-speed-trigger.ls-trigger-custom {
  background: radial-gradient(circle at 35% 35%, #ffd700 0%, #b45309 100%) !important;
  border-color: #fef08a !important;
}

/* ==========================================================================
   FOOTER TEMPLATES SUITE
   ========================================================================== */

/* Template 1: Classic Luxury Gold (Centered) */
.ls-footer-t1 {
  background: linear-gradient(180deg, rgba(17, 13, 26, 0.95) 0%, rgba(9, 7, 15, 0.98) 100%);
  border-top: 1px solid rgba(255, 215, 0, 0.35);
  padding: 2.25rem 1rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.ls-footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 1px;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.35);
}

.ls-footer-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ls-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #e4e4e7;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.ls-footer-badge i {
  color: #ffd700;
}

/* Template 2: Modern Multi-Column */
.ls-footer-t2 {
  background: linear-gradient(180deg, #110e1c 0%, #09070f 100%);
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  padding: 2.5rem 1rem 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.ls-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.ls-footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.65rem;
  letter-spacing: 0.5px;
}

.ls-footer-text {
  color: #a1a1aa;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}

.ls-footer-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.ls-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ls-footer-nav-list a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ls-footer-nav-list a:hover {
  color: #ffd700;
  transform: translateX(3px);
}

.ls-footer-copy-text {
  color: #71717a;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Template 3: Sleek Compact Badge Bar */
.ls-footer-t3 {
  background: #09070f;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  padding: 1.25rem 1rem;
}

.ls-footer-t3-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.ls-footer-t3-brand {
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 0.5px;
}

.ls-footer-t3-desc {
  color: #a1a1aa;
  font-size: 0.78rem;
  max-width: 550px;
}

.ls-footer-t3-copy {
  color: #71717a;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .ls-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ls-footer-t3-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

