/* ============================================
   VERSANT — CHALLENGE À ÉLIMINATION
   Style basé sur Récap du Million (Éditorial Data-Viz)
   ============================================ */

/* === VARIABLES & RESET === */
:root {
  /* Palette principale - Thème Montagne */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --bg-card-hover: #222230;
  
  /* Accents - Palette Versant */
  --accent-primary: #f97316;       /* Orange vif #f97316 */
  --accent-secondary: #22d3ee;     /* Cyan */
  --accent-tertiary: #10b981;      /* Émeraude */
  --accent-warning: #fbbf24;       /* Jaune */
  --accent-danger: #ef4444;        /* Rouge */
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #22d3ee 100%);
  
  /* Texte */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  /* Bordures */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(249, 115, 22, 0.3);
  
  /* Typographie */
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;
  
  /* Espacements */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-padding: clamp(20px, 5vw, 80px);
  
  /* Animations */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  
  /* Status colors */
  --status-active: #10b981;
  --status-eliminated: #ef4444;
  --status-warning: #fbbf24;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === DATE SLIDER (DEBUG) === */
.date-slider-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(34, 211, 238, 0.15) 100%);
  border-top: 1px solid var(--border-accent);
  padding: 12px var(--container-padding);
  backdrop-filter: blur(10px);
}

.date-slider-container.bottom {
  top: auto;
  bottom: 0;
  border-top: 1px solid var(--border-accent);
  border-bottom: none;
}

.date-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.date-slider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.slider-icon {
  font-size: 1.25rem;
}

.slider-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.slider-date {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.date-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-card);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.date-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
  transition: transform 0.2s ease;
}

.date-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.date-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.slider-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* Ajouter du padding en bas pour le slider fixe */
body {
  padding-bottom: 80px;
}

/* === SEASON BANNER === */
.season-banner {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 16px;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.season-info {
  text-align: center;
}

.season-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
}

.season-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-secondary);
}

.season-dates {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.season-progress {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.progress-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.progress-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

.season-winner {
  text-align: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(249, 115, 22, 0.2));
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.winner-icon {
  font-size: 2rem;
  display: block;
}

.winner-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-warning);
  display: block;
}

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

/* === COUNTDOWN === */
.season-countdown {
  text-align: center;
  min-width: 180px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 40px;
}

.countdown-unit {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.countdown-sep {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent-danger);
  opacity: 0.5;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-complete {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-warning);
}

/* === TOOLTIP ACTIVITÉS === */
.tooltip-wrapper {
  position: relative;
  cursor: pointer;
}

.tooltip-content {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  min-width: 320px;
  max-width: 400px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tooltip-wrapper:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}

.tooltip-activities {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 300px;
  overflow-y: auto;
}

.tooltip-activity {
  display: grid;
  grid-template-columns: 50px 1fr 60px 60px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 0.75rem;
}

.tooltip-date {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.tooltip-name {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tooltip-sport {
  color: var(--accent-secondary);
  font-size: 0.65rem;
  text-align: center;
}

.tooltip-elevation {
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-align: right;
  font-weight: 600;
}

.tooltip-empty {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 12px;
}

.tooltip-more {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
  font-style: italic;
  padding-top: 6px;
}

/* Responsive tooltip */
@media (max-width: 1200px) {
  .tooltip-content {
    left: auto;
    right: 0;
    top: 100%;
    transform: none;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* === ROUND BANNER UPDATES === */
.round-eliminations {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent-danger);
}

.ranking-elevation.season {
  color: var(--accent-secondary);
  opacity: 0.8;
}

.ranking-round {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: center;
}

.active-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.2);
  color: var(--status-active);
  margin-left: 8px;
}

.wins-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.2);
  color: var(--accent-warning);
  margin-left: 6px;
}

.standings-footer {
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.standings-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.history-item.winner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(249, 115, 22, 0.1));
  border-color: rgba(251, 191, 36, 0.3);
}

.history-item.winner::before {
  background: var(--accent-warning);
}

/* === HISTORY CONTROLS === */
.history-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.history-controls label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.season-select {
  flex: 1;
  max-width: 300px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}

.season-select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.history-season-summary {
  padding: 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.history-season-summary h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-warning);
  margin-bottom: 8px;
}

.history-item.special-round {
  border-left-color: var(--accent-secondary);
}

.rule-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent-secondary);
  border-radius: 6px;
  font-size: 0.75rem;
  margin-left: 8px;
}

.round-winner {
  display: inline-block;
  color: var(--accent-warning);
  font-weight: 500;
}

.history-eliminated-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.history-eliminated-row {
  display: grid;
  grid-template-columns: 40px 1fr 100px 80px;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 6px;
  align-items: center;
  font-size: 0.9rem;
}

.history-eliminated-row span:first-child {
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

/* === LOADING SCREEN === */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.loading-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.loading-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(249, 115, 22, 0.2);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--container-padding);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s backwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s backwards;
}

.title-line.accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.6s;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s backwards;
}

.hero-description {
  max-width: 600px;
  margin: 2rem auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s var(--ease-out-expo) 1s backwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1.2s backwards;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* === NAVIGATION === */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  font-size: 1.5rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link.active {
  color: var(--accent-primary);
}

.btn-login {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #e85d04 100%);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* === ROUND INFO BANNER === */
.round-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 24px 32px;
  margin: 24px auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.round-info {
  text-align: center;
}

.round-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.round-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.round-dates {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.round-divider {
  width: 1px;
  height: 80px;
  background: var(--border-color);
}

.round-rule {
  text-align: center;
}

.rule-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.rule-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.rule-description {
  font-size: 1 rem;
  color: var(--text-secondary);
  max-width: 500px;
}

.round-countdown {
  text-align: center;
}

.countdown-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

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

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: 32px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* === CLASSEMENT SECTION === */
.ranking-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1600px;
  margin: 0 auto;
}

/* === CLASSEMENT TABLE === */
.ranking-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.ranking-header {
  display: grid;
  grid-template-columns: 60px 1fr 150px 150px 150px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ranking-row {
  display: grid;
  grid-template-columns: 60px 1fr 150px 150px 150px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: var(--bg-card-hover);
}

.ranking-row:last-child {
  border-bottom: none;
}

.ranking-row.eliminated {
  opacity: 0.5;
  background: rgba(239, 68, 68, 0.05);
}

.ranking-row.danger-zone {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--accent-danger);
}

.ranking-position {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.ranking-position.gold {
  color: #fbbf24;
}

.ranking-position.silver {
  color: #94a3b8;
}

.ranking-position.bronze {
  color: #cd7f32;
}

.ranking-athlete {
  display: flex;
  align-items: center;
  gap: 16px;
}

.athlete-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.athlete-info {
  display: flex;
  flex-direction: column;
}

.athlete-name {
  font-weight: 600;
  font-size: 1rem;
}

.athlete-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.athlete-status.active {
  color: var(--status-active);
}

.athlete-status.eliminated {
  color: var(--status-eliminated);
}

.ranking-elevation {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.ranking-elevation span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.ranking-activities {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.ranking-jokers {
  display: flex;
  gap: 4px;
}

.ranking-points {
  text-align: center;
}

.points-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-tertiary), #059669);
  color: white;
}

.joker-badge {
  font-size: 1rem;
  opacity: 0.4;
  transition: all 0.2s ease;
  cursor: help;
  margin-right: 4px;
  display: inline-block;
}

.joker-badge:hover {
  transform: scale(1.2);
  opacity: 1;
}

.joker-badge.joker-available {
  opacity: 0.4;
}

.joker-badge.joker-pending {
  opacity: 1;
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.2);
  border: 2px solid var(--accent-warning);
  animation: pulse-orange 2s infinite;
}

.joker-badge.joker-active {
  opacity: 1;
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid var(--status-active);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* === STANDINGS TABLE (CLASSEMENT GÉNÉRAL) === */
.standings-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.standings-header {
  display: grid;
  grid-template-columns: 60px 1fr 100px 100px 100px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.standings-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 100px 100px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background 0.2s ease;
}

.standings-row:hover {
  background: var(--bg-card-hover);
}

.standings-row:last-child {
  border-bottom: none;
}

.standings-row.eliminated {
  opacity: 0.6;
}

.standings-rank {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.standings-athlete {
  display: flex;
  align-items: center;
  gap: 12px;
}

.athlete-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.standings-points {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-align: center;
}

.standings-points.main {
  color: var(--accent-primary);
}

.standings-points.eliminated {
  color: var(--accent-tertiary);
}

.standings-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 8px;
}

.empty-state .text-muted {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* === CHART CONTAINER === */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.chart-container canvas {
  width: 100% !important;
  height: 400px !important;
}

.joker-badge {
  font-size: 1.25rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.joker-badge.used {
  opacity: 0.3;
  filter: grayscale(1);
}

/* === PARTICIPANTS GRID === */
.participants-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.participant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.participant-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15);
}

.participant-card.eliminated {
  opacity: 0.6;
}

.participant-card.eliminated::after {
  content: "ÉLIMINÉ";
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--accent-danger);
  color: white;
  padding: 4px 40px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.participant-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.participant-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.participant-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.participant-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
}

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

.participant-jokers {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

/* === CHART SECTION === */
.chart-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

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

#elevationChart {
  height: 400px;
}

/* === ELIMINATION HISTORY === */
.history-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.history-timeline {
  position: relative;
  padding-left: 40px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

.history-item {
  position: relative;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 32px;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
}

.history-round {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.history-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.history-details {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* === LOGIN PAGE === */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-padding);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.login-logo {
  font-size: 3rem;
  margin-bottom: 16px;
}

.login-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #e85d04 100%);
  border: none;
  border-radius: 10px;
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  color: var(--accent-danger);
  font-size: 0.875rem;
  display: none;
}

.login-error.visible {
  display: block;
}

/* === DASHBOARD PAGE === */
.dashboard-header {
  padding: 32px var(--container-padding);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.dashboard-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-welcome {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.user-info h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.user-info .user-status {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.user-position {
  text-align: right;
}

.position-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.position-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* === DASHBOARD STATS GRID === */
.dashboard-stats {
  padding: 32px var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
}

.stat-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.stat-card-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* === JOKERS SECTION === */
.jokers-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.jokers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.joker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.joker-card:hover {
  border-color: var(--accent-primary);
}

.joker-card.available {
  cursor: pointer;
}

.joker-card.used {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.02);
}

.joker-card.used .joker-icon {
  filter: grayscale(1);
}

.joker-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.joker-icon {
  font-size: 2.5rem;
}

.joker-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.joker-status {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.joker-status.available {
  background: rgba(16, 185, 129, 0.2);
  color: var(--status-active);
}

.joker-status.used {
  background: rgba(239, 68, 68, 0.2);
  color: var(--status-eliminated);
}

.joker-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.joker-effect {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.joker-use-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-use-joker {
  margin-top: 16px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid var(--accent-primary);
  border-radius: 8px;
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-use-joker:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* === ROUND HISTORY === */
.round-history-section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.rounds-table {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.rounds-table-header {
  display: grid;
  grid-template-columns: 100px 1fr 120px 120px 100px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.rounds-table-row {
  display: grid;
  grid-template-columns: 100px 1fr 120px 120px 100px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.rounds-table-row:last-child {
  border-bottom: none;
}

.round-cell-number {
  font-family: var(--font-display);
  font-weight: 600;
}

.round-cell-rule {
  display: flex;
  align-items: center;
  gap: 8px;
}

.round-cell-elevation {
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.round-cell-position {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--accent-danger);
  border-color: var(--accent-danger);
}

.modal-body {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-secondary {
  padding: 12px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}

.btn-danger {
  padding: 12px 24px;
  background: var(--accent-danger);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: #dc2626;
}

/* === FOOTER === */
.footer {
  padding: 48px var(--container-padding);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

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

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

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* === SELECTION === */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: var(--text-primary);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .round-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .round-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .ranking-header,
  .ranking-row {
    grid-template-columns: 50px 1fr 100px;
  }
  
  .ranking-header > *:nth-child(4),
  .ranking-header > *:nth-child(5),
  .ranking-row > *:nth-child(4),
  .ranking-row > *:nth-child(5) {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-header-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .user-welcome {
    flex-direction: column;
  }
  
  .user-position {
    text-align: center;
  }
  
  .rounds-table-header,
  .rounds-table-row {
    grid-template-columns: 80px 1fr 100px;
  }
  
  .rounds-table-header > *:nth-child(4),
  .rounds-table-header > *:nth-child(5),
  .rounds-table-row > *:nth-child(4),
  .rounds-table-row > *:nth-child(5) {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .participants-grid {
    grid-template-columns: 1fr;
  }
  
  .jokers-grid {
    grid-template-columns: 1fr;
  }
  
  .login-card {
    padding: 32px 24px;
  }
}

/* ============================================
   NOUVEAUX STYLES 2026
   ============================================ */

/* Demo Banner */
.demo-banner {
  background: linear-gradient(135deg, #f97316, #f43f5e);
  padding: 12px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-badge {
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.demo-text {
  color: white;
  font-weight: 500;
}

.demo-link {
  background: white;
  color: #f97316;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.demo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #f43f5e);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

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

/* Navigation - Join Button */
.btn-join {
  background: linear-gradient(135deg, #f97316, #f43f5e);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}

/* Footer CTA */
.footer-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f97316, #f43f5e);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .demo-banner {
    flex-direction: column;
    gap: 12px;
  }
}
