/* ===========================================
   Contest Manager - Theme Variables
   =========================================== */

:root {
  /* Background Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #334155;
  --bg-elevated: #475569;
  --bg-input: #1e293b;
  --bg-hover: rgba(99, 102, 241, 0.1);

  /* Accent Colors */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

  /* Status Colors */
  --color-success: #22c55e;
  --color-success-bg: rgba(34, 197, 94, 0.15);
  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.15);
  --color-error: #ef4444;
  --color-error-bg: rgba(239, 68, 68, 0.15);
  --color-info: #22d3ee;
  --color-info-bg: rgba(34, 211, 238, 0.15);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #a5b4fc;

  /* Border & Shadow */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-strong: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Exo 2', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Z-Index */
  --z-dropdown: 100;
  --z-modal: 200;
  --z-overlay: 300;
  --z-toast: 400;
}

/* Contest Type Specific Colors */
.theme-raffle {
  --type-color: #ec4899;
  --type-gradient: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  --type-bg: rgba(236, 72, 153, 0.1);
}

.theme-accumulative {
  --type-color: #22c55e;
  --type-gradient: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  --type-bg: rgba(34, 197, 94, 0.1);
}

.theme-quick-answer {
  --type-color: #f59e0b;
  --type-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --type-bg: rgba(245, 158, 11, 0.1);
}
