/* ============================================
   BILLETTERIE DARE STORIES AFRICA
   Styles Vanilla CSS - Modern & Innovative Design
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables CSS pour la cohérence des couleurs - Mode Jour (Light) - Design Figma Premium */
:root {
  /* Palette de couleurs moderne et originale - Rose/Violet/Bleu */
  --primary-color: #0a0e27;
  --secondary-color: #1a1f3a;
  --accent-color: #ff006e;
  --accent-secondary: #8338ec;
  --accent-tertiary: #3a86ff;
  --accent-gradient: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #3a86ff 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ff006e 0%, #ff0080 25%, #8338ec 50%, #3a86ff 75%, #00d4ff 100%);
  --success-color: #06ffa5;
  --warning-color: #ffbe0b;
  --error-color: #fb5607;
  --text-light: #ffffff;
  --text-dark: #1a1f3a;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --bg-main: #ffffff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  
  /* Ombres modernes avec profondeur */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(255, 0, 110, 0.4);
  --shadow-glow-purple: 0 0 40px rgba(131, 56, 236, 0.4);
  --shadow-glow-blue: 0 0 40px rgba(58, 134, 255, 0.4);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glassmorphism */
  --section-bg: rgba(255, 255, 255, 0.8);
  --input-bg: rgba(255, 255, 255, 0.9);
  --info-bg: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Transitions premium */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Variables CSS pour le Mode Nuit (Dark) - Design Figma Premium */
[data-theme="dark"] {
  --primary-color: #000000;
  --secondary-color: #0a0a0f;
  --accent-color: #8b5cf6;
  --accent-secondary: #ec4899;
  --accent-tertiary: #f97316;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  --accent-gradient-hover: linear-gradient(135deg, #7c3aed 0%, #db2777 25%, #ec4899 50%, #f97316 75%, #ea580c 100%);
  --success-color: #06b6d4;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-light: #f1f5f9;
  --text-dark: #e2e8f0;
  --text-muted: #94a3b8;
  --bg-light: #000000;
  --bg-main: #0a0a0f;
  --bg-gradient: linear-gradient(135deg, #1e1b4b 0%, #7c2d12 100%);
  --border-color: #1a1a24;
  --border-color-hover: #2d2d3a;
  
  /* Ombres pour dark mode - Version Sombre */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.6), 0 1px 2px -1px rgba(0, 0, 0, 0.6);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -2px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -4px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 50px rgba(139, 92, 246, 0.6);
  --shadow-glow-purple: 0 0 50px rgba(236, 72, 153, 0.6);
  --shadow-glow-blue: 0 0 50px rgba(249, 115, 22, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  
  /* Glassmorphism dark - Version Sombre */
  --section-bg: rgba(10, 10, 15, 0.9);
  --input-bg: rgba(10, 10, 15, 0.95);
  --info-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

/* Reset et Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background Gradient */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.05) 0%, transparent 70%);
  animation: gradient-rotate 20s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gradient-rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Header - Design Premium Figma */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  color: var(--text-light);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md), var(--shadow-glow-purple);
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid transparent;
  border-image: var(--accent-gradient) 1;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer-header 3s infinite;
}

@keyframes shimmer-header {
  0% { left: -100%; }
  100% { left: 100%; }
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

header:hover::after {
  transform: scaleX(1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Contrôles Header (Thème et Langue) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Bouton Nous Contacter */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-spring);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn-contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-gradient);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

.btn-contact:hover::before {
  width: 200px;
  height: 200px;
}

.btn-contact:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--accent-color);
  color: var(--text-light);
}

.btn-contact:active {
  transform: translateY(0) scale(1);
}

.btn-contact span {
  position: relative;
  z-index: 1;
}

/* Sélecteur de Langue */
.lang-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  border-color: transparent;
  box-shadow: var(--shadow-sm), var(--shadow-glow);
  transform: scale(1.05);
}

.logo {
  max-height: 130px;
  width: auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Container Principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section - Landing Page - Design Premium Figma */
.hero {
  background: var(--accent-gradient);
  background-size: 400% 400%;
  animation: gradient-shift 10s ease infinite;
  color: var(--text-light);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 30px;
  box-shadow: var(--shadow-xl), var(--shadow-glow), var(--shadow-glow-purple);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards, gradient-shift 10s ease infinite;
  border: 2px solid transparent;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 0, 110, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(131, 56, 236, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(58, 134, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(131, 56, 236, 0.3),
    2px 2px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: text-shimmer 3s ease-in-out infinite;
}

@keyframes text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin: 2rem auto;
  display: block;
  box-shadow: var(--shadow-hover), var(--shadow-glow);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInScale 1s ease 0.3s forwards;
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover), 0 0 40px rgba(233, 69, 96, 0.5);
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-description {
  max-width: 800px;
  margin: 2rem auto;
  font-size: 1.15rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Boutons - Design Premium Figma */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition-spring);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  z-index: 1;
  animation: gradient-shift 3s ease infinite;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn:hover::after {
  left: 100%;
}

.btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: var(--shadow-xl), var(--shadow-glow), var(--shadow-glow-purple);
  background: var(--accent-gradient-hover);
  background-size: 200% 200%;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:active {
  transform: translateY(-2px) scale(1.02);
}

.btn span {
  position: relative;
  z-index: 1;
}

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

.btn-success {
  background-color: var(--success-color);
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Formulaire - Glassmorphism Premium */
.form-container {
  background: var(--section-bg);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: var(--glass-shadow), var(--shadow-xl);
  max-width: 800px;
  margin: 2rem auto;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--glass-border);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

[data-theme="dark"] .form-container {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 15, 35, 0.8) 100%);
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  background-color: var(--input-bg);
  color: var(--text-dark);
  transition: var(--transition-smooth);
  font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 
    0 0 0 4px rgba(255, 0, 110, 0.1),
    0 0 20px rgba(131, 56, 236, 0.2),
    var(--shadow-md);
  transform: translateY(-3px) scale(1.02);
  background: var(--input-bg);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(233, 69, 96, 0.5);
}

.form-group input.error,
.form-group select.error {
  border-color: #e94560;
}

.error-message {
  color: #e94560;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* Section Billets */
.billets-section {
  background: var(--section-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
  transition: background-color 0.3s ease;
}

.billet-option {
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--section-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.billet-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
  transition: left 0.5s;
}

.billet-option:hover::before {
  left: 100%;
}

.billet-option:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-hover), 0 0 20px rgba(233, 69, 96, 0.2);
  transform: translateY(-5px) scale(1.02);
}

.billet-option.selected {
  border-color: var(--accent-color);
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  box-shadow: var(--shadow-xl), var(--shadow-glow), var(--shadow-glow-purple);
  transform: translateY(-5px) scale(1.02);
  color: var(--text-light);
}

.billet-option.selected .billet-nom,
.billet-option.selected .billet-prix,
.billet-option.selected .billet-description {
  color: var(--text-light);
}

.billet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.billet-nom {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.billet-prix {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

/* Styles pour les prix promo */
.billet-prix-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.ancien-prix {
  font-size: 1rem;
  font-weight: normal;
  color: #dc2626; /* Vert */
  text-decoration: line-through;
  text-decoration-color: #dc2626; /* Rouge pour le trait */
  text-decoration-thickness: 2px;
  opacity: 0.8;
}

.nouveau-prix {
  font-size: 1.5rem;
  font-weight: bold;
  color: #10b981; /* Rouge */
}

.billet-option.selected .ancien-prix {
  color: #fca5a5; /* Vert clair pour le selected */
  text-decoration-color: #fca5a5; /* Rouge clair pour le trait */
}

.billet-option.selected .nouveau-prix {
  color: #10b981; /* Rouge clair pour le selected */
}

.billet-description {
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.quantite-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantite-input {
  width: 80px;
  padding: 0.5rem;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: 5px;
}

/* Modes de Paiement */
.paiement-section {
  background: var(--section-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
  transition: background-color 0.3s ease;
}

.paiement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.paiement-option {
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.paiement-option::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.paiement-option:hover::after {
  width: 200px;
  height: 200px;
}

.paiement-option:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.paiement-option.selected {
  border-color: var(--accent-color);
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  box-shadow: var(--shadow-xl), var(--shadow-glow), var(--shadow-glow-blue);
  transform: scale(1.08);
  color: var(--text-light);
}

.paiement-option > div {
  position: relative;
  z-index: 1;
}

.paiement-option input[type="radio"] {
  margin-right: 0.5rem;
}

/* Page Paiement - Simulation */
.paiement-simulation {
  background: var(--section-bg);
  padding: 4rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  max-width: 600px;
  margin: 4rem auto;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.paiement-simulation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  animation: scaleXIn 1s ease 0.5s forwards;
}

@keyframes scaleXIn {
  to {
    transform: scaleX(1);
  }
}

.loader {
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-right: 4px solid transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
  position: relative;
}

.loader::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 4px solid transparent;
  border-top: 4px solid rgba(233, 69, 96, 0.3);
  border-radius: 50%;
  animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Page Confirmation */
.confirmation-container {
  background: var(--section-bg);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.confirmation-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.confirmation-container::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 255, 165, 0.1) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
  pointer-events: none;
}

.success-icon {
  font-size: 5rem;
  color: #28a745;
  margin-bottom: 1.5rem;
  animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(40, 167, 69, 0.3);
  position: relative;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-title {
  color: var(--success-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.recap-commande {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 2rem 0;
  text-align: left;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .recap-commande {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(15, 15, 35, 0.6) 100%);
}

.recap-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.recap-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.3rem;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}

.info-pratique {
  background: var(--info-bg);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem 0;
  text-align: left;
  transition: var(--transition-smooth);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.info-pratique::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Section Contact - Design Premium */
.contact-section {
  background: var(--section-bg);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: var(--glass-shadow), var(--shadow-xl);
  margin: 3rem auto;
  max-width: 1000px;
  transition: var(--transition-smooth);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 15, 35, 0.8) 100%);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item strong {
  color: var(--accent-color);
  min-width: 100px;
}

.contact-form-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-mini .form-group {
  margin-bottom: 0;
}

.contact-form-mini textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .header-controls {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-contact {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

.info-pratique h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-pratique p {
  margin: 0.5rem 0;
}

.numero-commande {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
}

/* Footer - Design Premium */
footer {
  background: var(--accent-gradient);
  background-size: 400% 400%;
  animation: gradient-shift 10s ease infinite;
  color: var(--text-light);
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), inset 0 0 50px rgba(0, 0, 0, 0.2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient-hover);
  animation: gradient-shift 3s ease infinite;
}

footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

footer p {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    height: 250px;
  }

  .form-container,
  .confirmation-container {
    padding: 1.5rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  .container {
    padding: 1rem;
  }

  .paiement-options {
    grid-template-columns: 1fr;
  }

  .billet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
}

/* Glassmorphism Effect */
.glass-effect {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Amélioration des sections */
.billets-section,
.paiement-section,
.contact-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.billets-section {
  animation-delay: 0.2s;
}

.paiement-section {
  animation-delay: 0.4s;
}

.contact-section {
  animation-delay: 0.6s;
}

/* Amélioration du header avec animation */
.header-container {
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Amélioration des inputs avec label flottant */
.form-group {
  position: relative;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  transform: translateY(-1.5rem) scale(0.85);
  color: var(--accent-color);
}

/* Smooth transitions pour tous les éléments interactifs */
a, button, input, select, textarea {
  transition: var(--transition-smooth);
}

/* Amélioration du logo */
.logo img {
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 4px 8px rgba(255, 0, 110, 0.3));
}

/* Modal Admin */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.admin-modal-content {
  background: var(--section-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-modal-header h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

.admin-modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.admin-modal-close:hover {
  background: rgba(255, 0, 110, 0.1);
  color: var(--accent-color);
  transform: rotate(90deg);
}

.admin-form .form-group {
  margin-bottom: 1.5rem;
}

.admin-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.admin-form .form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.admin-form .form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(255, 0, 110, 0.1), var(--shadow-md);
  transform: translateY(-2px);
}

.admin-modal-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

