/* HorizonTrading Academy - Variables CSS Centralisées */

:root {
  /* Couleurs principales */
  --night-blue: #0e2336;
  --night-blue-light: #132c47;
  --blue-primary: #1f4e79;
  --blue-accent: #37c9ff;
  --gold-primary: #d4af37;
  --gold-light: #ffd66b;
  
  /* Couleurs de texte */
  --text-light: #e8f2ff;
  --text-muted: #c7e0ff;
  --text-white: #ffffff;
  --text-dark: #0e2336;
  
  /* Couleurs de fond */
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-border: rgba(255, 255, 255, 0.12);
  --bg-dark: #0b1b2a;
  --bg-light: #ffffff;
  
  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Ombres */
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 20px 60px rgba(212, 175, 55, 0.15);
  --shadow-strong: 0 25px 80px rgba(0, 0, 0, 0.3);
  --shadow-quiz: 0 10px 40px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  
  /* Border radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 50%;
  
  /* Breakpoints (for reference) */
  --bp-mobile: 640px;
  --bp-tablet: 1024px;
  --bp-desktop: 1280px;
}

/* Base reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, var(--night-blue) 0%, var(--night-blue-light) 100%);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container utilitaire */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Boutons standardisés */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--night-blue);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--bg-glass-border);
}

.btn-secondary:hover {
  background: var(--bg-glass);
  color: var(--text-white);
}

/* Cards standardisées */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold-primary);
}

/* Utility classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-lg { margin-top: var(--spacing-lg); }

/* Responsive utilities */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
    margin: 5px 0;
  }
}