/**
 * CoinRush Lottery - Premium React Styles
 * Modern glassmorphic design with gold accents
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Backgrounds */
  --lt-bg-primary: #08080c;
  --lt-bg-card: rgba(16, 16, 24, 0.85);
  --lt-bg-card-hover: rgba(20, 20, 32, 0.9);
  --lt-bg-input: rgba(8, 8, 16, 0.6);
  
  /* Borders */
  --lt-border: rgba(255, 200, 100, 0.12);
  --lt-border-hover: rgba(255, 200, 100, 0.25);
  --lt-border-strong: rgba(255, 215, 0, 0.4);
  
  /* Text */
  --lt-text: #f5f5ff;
  --lt-text-secondary: #a8a8c0;
  --lt-text-muted: #606080;
  
  /* Gold Theme */
  --lt-gold: #ffd700;
  --lt-gold-light: #ffe44d;
  --lt-gold-dark: #cc9900;
  --lt-gold-glow: rgba(255, 215, 0, 0.4);
  --lt-gold-dim: rgba(255, 215, 0, 0.1);
  
  /* Accent Colors */
  --lt-amber: #ff9f1c;
  --lt-bronze: #cd7f32;
  --lt-green: #00e676;
  --lt-red: #ff4757;
  
  /* Sizing */
  --lt-radius: 14px;
  --lt-radius-lg: 20px;
  --lt-radius-sm: 8px;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  background: var(--lt-bg-primary);
  background-image: 
    radial-gradient(ellipse at 30% 0%, rgba(255, 200, 80, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 160, 50, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* ============================================
   APP CONTAINER
   ============================================ */
.lt-app {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--lt-text);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* ============================================
   FLOATING GLOWING ORBS
   ============================================ */
.lt-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.lt-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: lt-orb-float 8s ease-in-out infinite;
}

.lt-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
  top: -50px;
  left: 5%;
  animation-delay: 0s;
}

.lt-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.3) 0%, transparent 70%);
  top: 40%;
  right: -100px;
  animation-delay: -2s;
  animation-duration: 10s;
}

.lt-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.25) 0%, transparent 70%);
  bottom: 5%;
  left: 10%;
  animation-delay: -4s;
  animation-duration: 9s;
}

.lt-orb-4 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.28) 0%, transparent 70%);
  top: 15%;
  left: -60px;
  animation-delay: -1s;
  animation-duration: 11s;
}

.lt-orb-5 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(205, 127, 50, 0.25) 0%, transparent 70%);
  top: 5%;
  right: 20%;
  animation-delay: -3s;
  animation-duration: 7s;
}

.lt-orb-6 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.28) 0%, transparent 70%);
  bottom: 15%;
  right: 5%;
  animation-delay: -5s;
  animation-duration: 12s;
}

.lt-orb-7 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 230, 100, 0.22) 0%, transparent 70%);
  top: 55%;
  left: 30%;
  animation-delay: -6s;
  animation-duration: 8s;
}

.lt-orb-8 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 200, 0, 0.25) 0%, transparent 70%);
  top: -60px;
  right: 10%;
  animation-delay: -2.5s;
  animation-duration: 13s;
}

@keyframes lt-orb-float {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
    opacity: 0.8;
  }
  25% { 
    transform: translate(25px, -35px) scale(1.1); 
    opacity: 1;
  }
  50% { 
    transform: translate(-15px, 25px) scale(0.95); 
    opacity: 0.7;
  }
  75% { 
    transform: translate(-35px, -15px) scale(1.05); 
    opacity: 0.9;
  }
}

/* ============================================
   FLOATING PARTICLES (small dots floating up)
   ============================================ */
.lt-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.lt-particle {
  position: absolute;
  width: var(--size, 4px);
  height: var(--size, 4px);
  background: rgba(255, 215, 0, 0.8);
  border-radius: 50%;
  left: var(--x);
  bottom: -10px;
  animation: lt-float-up var(--duration) ease-out infinite;
  animation-delay: var(--delay);
  opacity: 0;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

@keyframes lt-float-up {
  0% { 
    transform: translateY(0) scale(1); 
    opacity: 0; 
  }
  10% { 
    opacity: 0.9; 
  }
  90% { 
    opacity: 0.3; 
  }
  100% { 
    transform: translateY(-100vh) scale(0.5); 
    opacity: 0; 
  }
}

.lt-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 20px;
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

/* ============================================
   LOADING STATE
   ============================================ */
.lt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 20px;
  color: var(--lt-text-muted);
}

.lt-loading-spinner {
  width: 48px;
  height: 48px;
  color: var(--lt-gold);
}

.lt-loading-spinner svg {
  width: 100%;
  height: 100%;
  animation: ltSpin 1s linear infinite;
}

@keyframes ltSpin {
  to { transform: rotate(360deg); }
}

/* ============================================
   HERO SECTION - COMPACT
   ============================================ */
.lt-hero-compact {
  text-align: center;
  padding: 16px 24px 32px;
}

.lt-hero-compact .lt-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 6px;
  background: linear-gradient(135deg, var(--lt-gold) 0%, var(--lt-amber) 50%, var(--lt-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.lt-hero-compact .lt-hero-subtitle {
  font-size: 1rem;
  color: var(--lt-text-secondary);
  margin: 0;
  font-weight: 400;
}

/* ============================================
   HERO SECTION (OLD - kept for reference)
   ============================================ */
.lt-hero {
  text-align: center;
  padding: 48px 24px;
  margin-bottom: 40px;
  position: relative;
}

.lt-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lt-hero-content {
  position: relative;
}

.lt-hero-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--lt-gold);
  animation: ltPulse 2.5s ease-in-out infinite;
}

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

@keyframes ltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

.lt-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--lt-gold) 0%, var(--lt-amber) 50%, var(--lt-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.lt-hero-subtitle {
  font-size: 1.1rem;
  color: var(--lt-text-secondary);
  margin: 0;
  font-weight: 400;
}

/* ============================================
   CARDS - BASE STYLES
   ============================================ */
.lt-card {
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.lt-card:hover {
  border-color: var(--lt-border-hover);
  background: var(--lt-bg-card-hover);
}

.lt-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lt-card-icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: var(--lt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lt-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--lt-text);
  flex: 1;
}

/* Icon Color Variants */
.lt-icon-trophy {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 160, 0, 0.15));
  color: var(--lt-gold);
}

.lt-icon-clock {
  background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(60, 140, 255, 0.15));
  color: #64b5f6;
}

.lt-icon-ticket {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 200, 100, 0.15));
  color: var(--lt-green);
}

.lt-icon-cart {
  background: linear-gradient(135deg, rgba(255, 160, 100, 0.2), rgba(255, 140, 80, 0.15));
  color: var(--lt-amber);
}

.lt-icon-star {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 160, 0, 0.15));
  color: var(--lt-gold);
}

.lt-icon-gift {
  background: linear-gradient(135deg, rgba(200, 120, 255, 0.2), rgba(180, 100, 240, 0.15));
  color: #c87fff;
}

.lt-icon-info {
  background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(60, 140, 255, 0.15));
  color: #64b5f6;
}

.lt-icon-calendar {
  background: linear-gradient(135deg, rgba(255, 100, 150, 0.2), rgba(255, 80, 130, 0.15));
  color: #ff6b9a;
}

.lt-icon-crown {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 160, 0, 0.15));
  color: var(--lt-gold);
}

/* ============================================
   TOP ROW GRID - 3 columns
   ============================================ */
.lt-top-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .lt-top-row-3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .lt-top-row-3 .lt-wager-card {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .lt-top-row-3 {
    grid-template-columns: 1fr;
  }
  
  .lt-top-row-3 .lt-wager-card {
    grid-column: span 1;
  }
}

/* ============================================
   TOP ROW GRID - 2 columns (legacy)
   ============================================ */
.lt-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .lt-top-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRIZE CARD
   ============================================ */
.lt-prize-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.08) 0%, 
    var(--lt-bg-card) 50%);
  border-color: rgba(255, 215, 0, 0.2);
}

.lt-prize-card:hover {
  border-color: rgba(255, 215, 0, 0.35);
}

.lt-prize-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.lt-prize-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.lt-prize-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lt-gold);
}

.lt-prize-value {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lt-gold) 0%, var(--lt-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.lt-prize-meta {
  display: flex;
  gap: 16px;
}

.lt-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--lt-text-secondary);
}

.lt-meta-icon {
  width: 18px;
  height: 18px;
  color: var(--lt-gold);
  opacity: 0.7;
}

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

/* ============================================
   COUNTDOWN CARD
   ============================================ */
.lt-countdown-card {
  background: linear-gradient(135deg, 
    rgba(100, 180, 255, 0.06) 0%, 
    var(--lt-bg-card) 50%);
}

.lt-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.lt-badge-open {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 200, 100, 0.15));
  color: var(--lt-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.lt-badge-drawing {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 160, 0, 0.15));
  color: var(--lt-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  animation: ltBlink 1s ease-in-out infinite;
}

@keyframes ltBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.lt-countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lt-time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.lt-time-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(180deg, var(--lt-text) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lt-time-seconds {
  color: var(--lt-gold);
  background: linear-gradient(180deg, var(--lt-gold) 0%, var(--lt-gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lt-time-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--lt-text-muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.lt-time-sep {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lt-text-muted);
  margin-bottom: 16px;
}

/* ============================================
   CONTENT GRID
   ============================================ */
.lt-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.lt-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .lt-content-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   USER STATS CARD
   ============================================ */
.lt-login-prompt {
  text-align: center;
  padding: 48px 24px;
}

.lt-login-prompt .lt-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  padding: 10px;
}

.lt-login-prompt h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.lt-login-prompt p {
  color: var(--lt-text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

.lt-stats-main {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--lt-border);
}

.lt-stat-big {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lt-stat-big .lt-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lt-gold);
  line-height: 1;
}

.lt-stat-big .lt-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--lt-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lt-chance-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.lt-chance-bar-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lt-chance-bar {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.lt-chance-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lt-gold-dark), var(--lt-gold), var(--lt-gold-light));
  border-radius: 10px;
  transition: width 0.5s ease;
}

.lt-chance-percent {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lt-gold);
  min-width: 60px;
  text-align: right;
}

.lt-chance-label {
  font-size: 0.75rem;
  color: var(--lt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lt-stats-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lt-breakdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--lt-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.lt-breakdown-icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 8px;
}

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

.lt-breakdown-content {
  display: flex;
  flex-direction: column;
}

.lt-breakdown-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lt-text);
}

.lt-breakdown-label {
  font-size: 0.75rem;
  color: var(--lt-text-muted);
}

/* ============================================
   BUY TICKETS CARD
   ============================================ */
.lt-buy-card {
  background: linear-gradient(135deg, 
    rgba(255, 160, 100, 0.06) 0%, 
    var(--lt-bg-card) 50%);
}

.lt-price-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 160, 100, 0.12);
  color: var(--lt-amber);
  border: 1px solid rgba(255, 160, 100, 0.2);
}

.lt-buy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lt-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lt-qty-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lt-text-secondary);
}

.lt-quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-sm);
  color: var(--lt-text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lt-qty-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lt-border-hover);
}

.lt-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

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

.lt-qty-input {
  width: 64px;
  height: 40px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--lt-bg-input);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-sm);
  color: var(--lt-text);
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.lt-qty-input::-webkit-outer-spin-button,
.lt-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lt-qty-input:focus {
  border-color: var(--lt-gold);
}

.lt-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--lt-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lt-total-label {
  font-size: 0.9rem;
  color: var(--lt-text-secondary);
}

.lt-total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lt-text);
}

.lt-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: linear-gradient(135deg, var(--lt-gold-dark) 0%, var(--lt-gold) 50%, var(--lt-gold-light) 100%);
  border: none;
  border-radius: var(--lt-radius);
  color: #0a0a0f;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

.lt-buy-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.35);
}

.lt-buy-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.lt-buy-btn.lt-loading {
  background: rgba(255, 215, 0, 0.2);
  color: var(--lt-gold);
  box-shadow: none;
}

.lt-buy-icon {
  width: 20px;
  height: 20px;
}

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

.lt-spinner {
  width: 20px;
  height: 20px;
}

.lt-spinner svg {
  width: 100%;
  height: 100%;
  animation: ltSpin 1s linear infinite;
}

/* ============================================
   WAGER PROGRESS CARD
   ============================================ */
.lt-wager-card {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.04) 0%, 
    var(--lt-bg-card) 50%);
}

.lt-wager-desc {
  font-size: 0.95rem;
  color: var(--lt-text-secondary);
  margin: 0 0 20px;
  line-height: 1.6;
}

.lt-wager-desc strong {
  color: var(--lt-gold);
  font-weight: 600;
}

.lt-wager-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lt-progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.lt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lt-gold-dark), var(--lt-gold), var(--lt-gold-light));
  border-radius: 12px;
  transition: width 0.5s ease;
  position: relative;
}

.lt-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 12px 12px 0 0;
}

.lt-progress-stats {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lt-progress-current {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lt-gold);
}

.lt-progress-target {
  font-size: 0.9rem;
  color: var(--lt-text-muted);
}

/* ============================================
   SECTIONS - HOW IT WORKS & WINNERS
   ============================================ */
.lt-section {
  margin-bottom: 48px;
}

.lt-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.lt-section-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: var(--lt-radius-sm);
}

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

.lt-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--lt-text);
}

/* Steps Grid */
.lt-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 500px) {
  .lt-steps-grid {
    grid-template-columns: 1fr;
  }
}

.lt-step-card {
  position: relative;
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.lt-step-card:hover {
  border-color: var(--lt-border-hover);
  background: var(--lt-bg-card-hover);
  transform: translateY(-4px);
}

.lt-step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lt-gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50%;
}

.lt-step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  padding: 8px;
  border-radius: var(--lt-radius-sm);
}

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

.lt-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--lt-text);
}

.lt-step-desc {
  font-size: 0.85rem;
  color: var(--lt-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   WINNERS SECTION
   ============================================ */
.lt-empty-state {
  text-align: center;
  padding: 48px;
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
}

.lt-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--lt-text-muted);
}

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

.lt-empty-state p {
  color: var(--lt-text-secondary);
  margin: 0;
  font-size: 1rem;
}

.lt-winners-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lt-winner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  transition: all 0.2s ease;
}

.lt-winner-card:hover {
  border-color: var(--lt-border-hover);
  background: var(--lt-bg-card-hover);
}

.lt-winner-rank {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lt-gold);
  min-width: 40px;
}

.lt-winner-info {
  flex: 1;
}

.lt-winner-period {
  font-size: 0.8rem;
  color: var(--lt-text-muted);
  margin-bottom: 2px;
}

.lt-winner-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lt-text);
}

.lt-winner-prize {
  text-align: right;
}

.lt-winner-prize-label {
  display: block;
  font-size: 0.7rem;
  color: var(--lt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.lt-winner-prize-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lt-green);
}

.lt-winner-ticket {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--lt-radius-sm);
}

.lt-ticket-icon {
  width: 16px;
  height: 16px;
  color: var(--lt-gold);
}

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

.lt-ticket-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lt-gold);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.lt-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  backdrop-filter: blur(16px);
  z-index: 10000;
  animation: ltSlideIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.lt-toast-success {
  border-color: rgba(0, 230, 118, 0.3);
}

.lt-toast-error {
  border-color: rgba(255, 71, 87, 0.3);
}

.lt-toast-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

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

.lt-toast-success .lt-toast-icon {
  color: var(--lt-green);
}

.lt-toast-error .lt-toast-icon {
  color: var(--lt-red);
}

.lt-toast-message {
  font-size: 0.95rem;
  color: var(--lt-text);
  flex: 1;
}

.lt-toast-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--lt-text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.15s ease;
  margin-left: 8px;
}

.lt-toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lt-text);
}

.lt-toast-close svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .lt-hero-title {
    font-size: 2rem;
  }
  
  .lt-prize-value {
    font-size: 2rem;
  }
  
  .lt-time-value {
    font-size: 1.5rem;
  }
  
  .lt-time-unit {
    min-width: 44px;
  }
  
  .lt-stats-breakdown {
    grid-template-columns: 1fr;
  }
  
  .lt-winner-card {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .lt-winner-ticket {
    margin-left: auto;
  }
}

/* ============================================
   GOLDEN NAVBAR THEME (Lottery Page)
   ============================================ */
.jackpot-topnav.theme-golden-lottery {
  background: linear-gradient(135deg, 
    rgba(255, 180, 60, 0.08) 0%, 
    rgba(10, 10, 16, 0.97) 30%,
    rgba(10, 10, 16, 0.98) 70%, 
    rgba(255, 140, 40, 0.06) 100%);
  border-bottom: 1px solid rgba(255, 200, 100, 0.15);
  box-shadow: 0 4px 32px rgba(255, 180, 80, 0.08);
}

.jackpot-topnav.theme-golden-lottery .topnav-logo-icon {
  background: linear-gradient(135deg, var(--lt-gold-dark), var(--lt-gold), var(--lt-gold-light));
  color: #0a0a0f;
}

.jackpot-topnav.theme-golden-lottery .topnav-logo-title {
  background: linear-gradient(135deg, var(--lt-gold) 0%, var(--lt-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jackpot-topnav.theme-golden-lottery .topnav-live.connected {
  background: rgba(255, 215, 0, 0.12);
  color: var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .topnav-live-dot {
  background: var(--lt-gold);
  box-shadow: 0 0 8px var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .topnav-dropdown-trigger {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.15);
}

.jackpot-topnav.theme-golden-lottery .topnav-dropdown-trigger:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.25);
  color: var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .topnav-help-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .lottery-btn {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.2);
  color: var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .user-balance {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.2);
}

.jackpot-topnav.theme-golden-lottery .balance-amount {
  color: var(--lt-gold);
}

.jackpot-topnav.theme-golden-lottery .deposit-btn {
  background: linear-gradient(135deg, var(--lt-gold-dark), var(--lt-gold));
  color: #0a0a0f;
}

.jackpot-topnav.theme-golden-lottery .deposit-btn:hover {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

/* ============================================
   RULES MODAL
   ============================================ */
.lt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: ltFadeIn 0.2s ease;
}

@keyframes ltFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lt-modal {
  background: var(--lt-bg-card);
  border: 1px solid var(--lt-border-hover);
  border-radius: var(--lt-radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: ltSlideUp 0.3s ease;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

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

.lt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lt-border);
  border-radius: 50%;
  color: var(--lt-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 1;
}

.lt-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lt-text);
  border-color: var(--lt-border-hover);
}

.lt-modal-close svg {
  width: 18px;
  height: 18px;
}

.lt-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 28px 0;
}

.lt-modal-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--lt-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lt-modal-icon.lt-icon-heart {
  background: linear-gradient(135deg, rgba(255, 100, 130, 0.2), rgba(255, 80, 110, 0.15));
  color: #ff6482;
}

.lt-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--lt-text);
}

.lt-modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

/* Community Message */
.lt-rules-community {
  background: linear-gradient(135deg, rgba(255, 100, 130, 0.08), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 100, 130, 0.2);
  border-radius: var(--lt-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.lt-rules-community p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lt-text-secondary);
  line-height: 1.7;
}

.lt-rules-community strong {
  color: var(--lt-gold);
}

/* Rules Sections */
.lt-rules-section {
  margin-bottom: 24px;
}

.lt-rules-section:last-child {
  margin-bottom: 0;
}

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

.lt-rules-section-icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 6px;
}

.lt-rules-section-icon svg {
  width: 100%;
  height: 100%;
}

.lt-rules-section-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--lt-text);
}

.lt-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lt-rules-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--lt-text-secondary);
  line-height: 1.6;
}

.lt-rules-list li:last-child {
  margin-bottom: 0;
}

.lt-rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--lt-gold);
  border-radius: 50%;
}

.lt-rules-list strong {
  color: var(--lt-text);
  font-weight: 600;
}

/* Modal Footer */
.lt-modal-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--lt-border);
}

.lt-modal-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: linear-gradient(135deg, var(--lt-gold-dark), var(--lt-gold));
  border: none;
  border-radius: var(--lt-radius);
  color: #0a0a0f;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
}

.lt-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
}

@media (max-width: 600px) {
  .lt-modal {
    max-height: 90vh;
  }
  
  .lt-modal-header {
    padding: 24px 20px 0;
  }
  
  .lt-modal-content {
    padding: 20px;
  }
  
  .lt-modal-footer {
    padding: 16px 20px 24px;
  }
  
  .lt-modal-title {
    font-size: 1.25rem;
  }
}
