/**
 * AFOR Custom Styles - Variables CSS et surcharges
 * Extrait pour éviter duplication dans chaque page HTML
 *
 * @author Claude Sonnet 4.5
 * @date 27 Décembre 2025
 */

:root {
  /* Palette AFOR (overrides CSS variables from main.css) */
  --accent-color: #d11717;    /* Rouge AFOR (accent principal) */
  --heading-color: #000000;   /* Noir pour titres */
  --background-color: #ffffff;
  --default-color: #222222;
  --contrast-color: #ffffff;
  --surface-color: #ffffff;
  --nav-color: #000000;
  --nav-hover-color: #d11717; /* Rouge au hover */
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #06283D;
}

/* Logo texte AFOR */
.sitename {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-color);
}

/* Badge catégorie (utilisé sur cards) */
.category-badge {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* ============================================
   HERO SECTIONS - HAUTEUR STANDARDISÉE
   ============================================ */

/* Hauteur professionnelle standardisée pour tous les hero */
.hero,
#hero,
.hero-section,
section.hero,
.contact-hero,
.inscription-hero,
.top-players-hero,
.gallery-hero,
.programmes-hero,
.categories-hero {
  min-height: 60vh !important; /* Hauteur pro standard (desktop) */
  max-height: 70vh !important;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .hero,
  #hero,
  .hero-section,
  section.hero,
  .contact-hero,
  .inscription-hero,
  .top-players-hero,
  .gallery-hero,
  .programmes-hero,
  .categories-hero {
    min-height: 50vh !important; /* Plus petit sur mobile */
    max-height: 60vh !important;
  }
}

/* Page d'accueil - peut être légèrement plus grand */
#hero.hero {
  min-height: 65vh !important;
  max-height: 75vh !important;
}

@media (max-width: 768px) {
  #hero.hero {
    min-height: 55vh !important;
    max-height: 65vh !important;
  }
}

/* Hero slideshow - Styles communs */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1 !important; /* Force au-dessus de dark-background::before */
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide-img.active {
  opacity: 1;
  z-index: 2;
}

/* Dark background sections */
.dark-background {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(13, 1, 1, 0.8));
  color: var(--contrast-color);
}

.dark-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.dark-background > *:not(.hero-slideshow) {
  position: relative;
  z-index: 3; /* Au-dessus des images hero */
}

/* Hero slideshow dans dark-background doit être derrière le contenu mais devant l'overlay */
.dark-background .hero-slideshow {
  z-index: 1;
}

.dark-background .hero-slide-img {
  z-index: 1;
}

/* Fix about-hero avec image statique */
.about-hero img.parallax-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

/* Fix programmes-hero avec slideshow */
.programmes-hero .hero-slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.programmes-hero .hero-slide-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

/* Fix CTA avec dark-background - doit garder le fond rouge */
.cta-section.dark-background {
  background: var(--accent-color) !important;
}

.cta-section.dark-background::before {
  display: none; /* Pas d'overlay noir sur CTA */
}

/* About-hero avec fond noir total */
.about-hero.accent-background {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 60px 0;
}

.about-hero.accent-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.about-hero.accent-background > * {
  position: relative;
  z-index: 3;
}

.about-hero.accent-background h2,
.about-hero.accent-background p {
  color: #ffffff !important;
}

/* Section Mission & Vision - Titre blanc */
.about-mission .section-title {
  color: #000000 !important;
}

/* ========================================
   ABOUT PAGE - REFONTE UI PROFESSIONNELLE
======================================== */

/* Mission & Vision - Layout moderne asymétrique */
.about-mission {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 100px 0;
  position: relative;
}

.about-mission::before {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 23, 23, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.about-mission .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 20px;
  position: relative;
}

.about-mission .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  margin-top: 15px;
}

.about-mission .subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-mission p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.about-mission ul li {
  font-size: 16px;
  color: #333;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-mission ul li i {
  font-size: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.about-mission img {
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-mission img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(209, 23, 23, 0.15);
}

/* Nos Valeurs - Cards modernes avec icônes XXL */
.about-values {
  padding: 100px 0;
  background: #ffffff;
}

.about-values .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.about-values .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
}

.value-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 25px;
  padding: 50px 35px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.value-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card-modern:hover::before {
  transform: scaleX(1);
}

.value-card-modern:hover {
  transform: translateY(-12px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.2);
}

.value-icon-modern {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
}

.value-card-modern:hover .value-icon-modern {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.5);
}

.value-card-modern h4 {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.value-card-modern p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Équipe Technique - Cards avec overlay hover */
.trainers-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trainers-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.trainers-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
}

.trainer-card-modern {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.trainer-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.2);
}

.trainer-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.trainer-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trainer-card-modern:hover .trainer-img-wrapper img {
  transform: scale(1.1);
}

.trainer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(209, 23, 23, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: white;
}

.trainer-card-modern:hover .trainer-overlay {
  opacity: 1;
}

.trainer-info {
  padding: 30px;
  text-align: center;
}

.trainer-info h4 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.trainer-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trainer-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   CATEGORIES PAGE - REFONTE UI PROFESSIONNELLE
======================================== */

/* ===== TIMELINE ORIGINALE - PARCOURS DE FORMATION ===== */
.training-path-timeline {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.training-path-timeline .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.training-path-timeline .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-container {
  max-width: 1000px;
  margin: 60px auto 0;
  position: relative;
  padding: 40px 0;
}

/* Ligne centrale verticale */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,
    var(--accent-color) 0%,
    #ff4444 50%,
    var(--accent-color) 100%
  );
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-line::before,
.timeline-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 6px rgba(209, 23, 23, 0.2);
}

.timeline-line::before {
  top: -10px;
}

.timeline-line::after {
  bottom: -10px;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  z-index: 1;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Badge central */
.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  box-shadow:
    0 8px 30px rgba(209, 23, 23, 0.4),
    0 0 0 8px #ffffff,
    0 0 0 12px rgba(209, 23, 23, 0.2);
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-badge {
  transform: translateX(-50%) scale(1.15) rotate(10deg);
  box-shadow:
    0 12px 40px rgba(209, 23, 23, 0.5),
    0 0 0 8px #ffffff,
    0 0 0 14px rgba(209, 23, 23, 0.3);
}

/* Cards */
.timeline-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  width: 420px;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.timeline-item:hover .timeline-card::before {
  transform: scaleX(1);
}

.timeline-item:hover .timeline-card {
  border-color: var(--accent-color);
  box-shadow: 0 12px 50px rgba(209, 23, 23, 0.15);
  transform: translateY(-5px);
}

/* Positioning gauche/droite */
.timeline-item.left .timeline-content {
  justify-content: flex-start;
}

.timeline-item.left .timeline-card {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item.right .timeline-content {
  justify-content: flex-end;
}

.timeline-item.right .timeline-card {
  margin-left: auto;
  margin-right: 0;
}

/* Header de la card */
.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.timeline-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-color);
  margin: 0;
}

.timeline-age {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.timeline-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Toggle button */
.timeline-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid #e0e0e0;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.timeline-toggle:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.timeline-toggle i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.timeline-toggle.active i {
  transform: rotate(180deg);
}

/* Details section */
.timeline-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.timeline-details.active {
  max-height: 600px;
  opacity: 1;
  margin-top: 25px;
}

.detail-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
}

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

.detail-section i {
  color: var(--accent-color);
  font-size: 20px;
  margin-right: 10px;
}

.detail-section strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.detail-section ul li::before {
  content: '⚽';
  position: absolute;
  left: 0;
  font-size: 14px;
}

.detail-section p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-line::before,
  .timeline-line::after {
    width: 14px;
    height: 14px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    justify-content: flex-start;
    padding-left: 80px;
  }

  .timeline-item.left .timeline-card,
  .timeline-item.right .timeline-card {
    margin: 0;
    width: 100%;
  }

  .timeline-badge {
    left: 30px;
    width: 70px;
    height: 70px;
    font-size: 36px;
    box-shadow:
      0 5px 20px rgba(209, 23, 23, 0.3),
      0 0 0 6px #ffffff,
      0 0 0 9px rgba(209, 23, 23, 0.2);
  }

  .timeline-item:hover .timeline-badge {
    transform: translateX(-50%) scale(1.1);
  }

  .timeline-header h3 {
    font-size: 26px;
  }

  .timeline-age {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* OLD CARDS STYLES (Keeping as backup) */
.category-cards {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  display: none; /* Hidden by default, using timeline instead */
}

.category-cards .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.category-cards .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 60px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-card {
  background: #ffffff;
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cat-card:hover::before,
.cat-card.active::before {
  transform: scaleX(1);
}

.cat-card:hover,
.cat-card.active {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.2);
}

.cat-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
}

.cat-card:hover .cat-icon,
.cat-card.active .cat-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.5);
}

.cat-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

.cat-age {
  display: inline-block;
  background: rgba(209, 23, 23, 0.1);
  color: var(--accent-color);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cat-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.cat-link:hover {
  gap: 12px;
}

.cat-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 20px;
  text-align: left;
  padding: 0 10px;
}

.cat-card.active .cat-more {
  max-height: 500px;
  opacity: 1;
  margin-top: 25px;
}

.cat-more strong {
  display: block;
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 8px;
}

.cat-more ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.cat-more ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  font-size: 14px;
}

.cat-more ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.cat-more p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

/* Nouvelle Section: Nos Joueurs */
.players-list-section {
  padding: 100px 0;
  background: #ffffff;
}

.players-list-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
  text-align: center;
}

.players-list-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

/* Filtre Catégories */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  color: #666;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 5px 20px rgba(209, 23, 23, 0.3);
}

/* Grille Joueurs */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.player-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.player-card:hover::before {
  transform: scaleX(1);
}

.player-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 40px rgba(209, 23, 23, 0.15);
}

.player-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(209, 23, 23, 0.3);
  transition: transform 0.3s ease;
}

.player-avatar-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  box-shadow: 0 5px 20px rgba(209, 23, 23, 0.3);
  transition: transform 0.3s ease;
}

.player-card:hover .player-avatar,
.player-card:hover .player-avatar-img {
  transform: scale(1.1) rotate(5deg);
}

.player-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.player-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.player-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
}

.player-meta-item i {
  color: var(--accent-color);
  font-size: 16px;
}

.player-category-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* État vide */
.players-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.players-empty i {
  font-size: 64px;
  color: rgba(209, 23, 23, 0.2);
  margin-bottom: 20px;
}

.players-empty p {
  font-size: 18px;
  color: #666;
}

/* Loading state */
.players-loading {
  text-align: center;
  padding: 60px;
  color: #666;
}

.players-loading i {
  font-size: 48px;
  color: var(--accent-color);
  animation: spin 1s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }

  .category-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
  }
}

/* ========================================
   NOUVELLE SECTION FEATURES (index.html)
======================================== */
.features-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.features-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209, 23, 23, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.features-modern .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-modern .section-title {
  font-size: 36px;
  font-weight: 800;
  color: #000;
  margin-bottom: 15px;
}

.features-modern .section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 40px rgba(209, 23, 23, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  will-change: transform;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.4);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: gap 0.2s ease;
}

.feature-link:hover {
  gap: 12px;
}

.feature-link i {
  font-size: 18px;
}

/* ========================================
   SECTION JOUEUR DU MOIS (index.html)
======================================== */
.player-of-month-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.player-of-month-section::before {
  content: '⚽';
  position: absolute;
  top: 20%;
  left: -5%;
  font-size: 400px;
  opacity: 0.03;
  transform: rotate(-15deg);
}

.player-of-month-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.player-of-month-section .section-title {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.player-of-month-section .section-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
}

.player-showcase {
  background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(30, 30, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 50px;
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.player-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 23, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.player-photo-container {
  position: relative;
  flex-shrink: 0;
}

.player-photo {
  width: 280px;
  height: 280px;
  border-radius: 25px;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.3);
}

.player-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  animation: goldenGlow 3s ease-in-out infinite;
  will-change: box-shadow;
}

@keyframes goldenGlow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4),
                0 0 0 0 rgba(255, 215, 0, 0);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6),
                0 0 20px 5px rgba(255, 215, 0, 0.3);
  }
}

.player-info {
  flex: 1;
  color: white;
}

.player-info h3 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.player-category {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.player-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
}

.btn-see-more:hover {
  background: #ff3333;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.5);
  color: white;
}

.btn-see-more i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-see-more:hover i {
  transform: translateX(5px);
}

/* Loading state */
.player-loading {
  text-align: center;
  padding: 60px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  .player-showcase {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .player-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .features-modern .section-title {
    font-size: 28px;
  }

  .player-of-month-section .section-title {
    font-size: 28px;
  }

  .player-photo {
    width: 220px;
    height: 220px;
  }

  .player-info h3 {
    font-size: 24px;
  }
}

/* ========================================
   PROGRAMS PAGE - REFONTE UI ULTRA-MODERNE
========================================== */

/* Training Structure Section */
.training-structure-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.training-structure-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.training-structure-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.training-steps {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.training-step {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.training-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.training-step:hover::before {
  transform: scaleX(1);
}

.training-step:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.2);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: white;
  box-shadow: 0 5px 15px rgba(209, 23, 23, 0.3);
}

.step-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
}

.training-step:hover .step-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.5);
}

.step-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.step-duration {
  display: inline-block;
  background: rgba(209, 23, 23, 0.1);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Programs by Category Section */
.programs-by-category-section {
  padding: 100px 0;
  background: #ffffff;
}

.programs-by-category-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.programs-by-category-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.category-tab {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  color: #666;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-emoji {
  font-size: 24px;
}

.category-tab:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(209, 23, 23, 0.15);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
}

/* Programs Content */
.programs-content {
  max-width: 1200px;
  margin: 0 auto;
}

.programs-loading {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.programs-loading i {
  font-size: 48px;
  color: var(--accent-color);
  animation: spin 1s linear infinite;
}

.programs-loading p {
  margin-top: 20px;
  font-size: 16px;
}

/* Monthly Programs */
.monthly-programs {
  display: grid;
  gap: 30px;
}

.month-block {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.month-block:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 40px rgba(209, 23, 23, 0.15);
}

.month-header {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: white;
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.month-header:hover {
  background: linear-gradient(135deg, #c11515, #e63939);
}

.month-name {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.month-toggle {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.month-toggle.active {
  transform: rotate(180deg);
}

.month-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
}

.month-content.active {
  max-height: 3000px;
  opacity: 1;
  padding: 30px;
}

/* Weekly Programs */
.weeks-grid {
  display: grid;
  gap: 20px;
}

.week-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.week-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 25px rgba(209, 23, 23, 0.15);
}

.week-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.week-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.week-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* Pillars (Technique, Athlétique, Mental) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(209, 23, 23, 0.1);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.pillar-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}

.pillar-icon.technique {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.pillar-icon.athletique {
  background: linear-gradient(135deg, #FF9800, #FFB74D);
}

.pillar-icon.mental {
  background: linear-gradient(135deg, #2196F3, #42A5F5);
}

.pillar-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.pillar-theme {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.pillar-ateliers {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  white-space: pre-line;
}

/* Empty State */
.programs-empty {
  text-align: center;
  padding: 80px 20px;
}

.programs-empty i {
  font-size: 64px;
  color: rgba(209, 23, 23, 0.2);
  margin-bottom: 20px;
}

.programs-empty p {
  font-size: 18px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .training-steps {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .category-tab {
    width: 100%;
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .month-name {
    font-size: 22px;
  }

  .week-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   TOP PLAYERS PAGE - REFONTE UI ULTRA-MODERNE
========================================== */

/* Section Top Player Moderne */
.top-player-modern-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.top-player-season-variant {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.top-player-modern-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.top-player-modern-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Card Principale Top Player */
.top-player-card-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.top-player-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
}

.top-player-card-modern:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 60px rgba(209, 23, 23, 0.2);
  transform: translateY(-5px);
}

/* Badge Récompense */
.reward-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
  z-index: 10;
}

.reward-badge.season-badge {
  background: linear-gradient(135deg, #C0C0C0, #808080);
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

.reward-badge i {
  font-size: 20px;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
  }
}

/* Showcase Layout */
.player-showcase-modern {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Player Info (Gauche) */
.player-info-modern {
  text-align: center;
}

.player-photo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 25px;
}

.player-photo-modern {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(209, 23, 23, 0.3);
  position: relative;
  z-index: 2;
}

.photo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 23, 23, 0.3), transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.player-name-modern {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin-bottom: 8px;
}

.player-category-modern {
  font-size: 16px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.player-desc-modern {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* Player Skills (Centre) */
.player-skills-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.skills-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 25px;
}

.skills-title i {
  color: var(--accent-color);
  font-size: 24px;
}

.skills-bars-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.skill-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-color);
}

.skill-bar-bg {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  border-radius: 10px;
  transition: width 1s ease-in-out;
  box-shadow: 0 2px 8px rgba(209, 23, 23, 0.3);
}

/* Player Radar (Droite) */
.player-radar-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.player-radar-modern canvas {
  max-width: 100%;
  height: auto;
}

.player-average-modern {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.average-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.average-value {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Archives Section Moderne */
.archives-modern-section {
  padding: 100px 0;
  background: #ffffff;
}

.archives-modern-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.archives-modern-section .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.archive-card-interactive {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.archive-card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.archive-card-interactive:hover::before {
  transform: scaleX(1);
}

.archive-card-interactive:hover {
  border-color: var(--accent-color);
  box-shadow: 0 12px 40px rgba(209, 23, 23, 0.2);
  transform: translateY(-8px);
}

.archive-card-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.archive-card-interactive:hover .archive-card-img {
  transform: scale(1.1);
}

.archive-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 20px;
  color: white;
}

.archive-card-period {
  font-size: 13px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archive-card-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.archive-card-category {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.archive-card-content {
  padding: 25px;
  text-align: center;
}

.archive-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(209, 23, 23, 0.3);
}

.archive-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(209, 23, 23, 0.4);
}

.archive-view-btn i {
  font-size: 16px;
}

/* Modal Archives */
.archive-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.archive-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.archive-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.archive-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 30px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10000;
  animation: modalSlideUp 0.4s ease;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

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

.archive-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-modal-close:hover {
  background: var(--accent-color);
  transform: rotate(90deg);
}

.archive-modal-header {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 30px 30px 0 0;
}

.modal-player-photo-wrapper {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.modal-player-photo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-player-header-info {
  flex: 1;
}

.modal-period-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-player-name {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}

.modal-player-category {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.archive-modal-body {
  padding: 40px;
}

.modal-section {
  margin-bottom: 35px;
}

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

.modal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.modal-section-title i {
  color: var(--accent-color);
  font-size: 22px;
}

.modal-description {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.modal-skills-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-radar-section {
  text-align: center;
}

.modal-radar-container {
  max-width: 400px;
  margin: 0 auto 20px;
}

.modal-radar-container canvas {
  max-width: 100%;
  height: auto;
}

.modal-average {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-average-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.modal-average-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Top Players */
@media (max-width: 992px) {
  .player-showcase-modern {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .player-info-modern,
  .player-skills-modern,
  .player-radar-modern {
    max-width: 600px;
    margin: 0 auto;
  }

  .reward-badge {
    position: static;
    margin-bottom: 20px;
    display: inline-flex;
  }

  .top-player-card-modern {
    padding: 30px;
  }

  .archive-modal-header {
    flex-direction: column;
    text-align: center;
  }

  .modal-player-name {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .top-player-modern-section {
    padding: 60px 0;
  }

  .archives-grid {
    grid-template-columns: 1fr;
  }

  .archive-modal-content {
    width: 95%;
    border-radius: 20px;
  }

  .archive-modal-header,
  .archive-modal-body {
    padding: 25px;
  }

  .modal-player-name {
    font-size: 22px;
  }
}

/* =====================================================
   CONTACT PAGE - MODERN UI
   ===================================================== */

/* Contact Info Cards Modern */
.contact-info-card-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
}

.contact-info-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-info-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(209, 23, 23, 0.2);
}

.contact-info-card-modern:hover::before {
  opacity: 1;
}

.info-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
  transition: all 0.4s ease;
}

.contact-info-card-modern:hover .info-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.5);
}

.info-icon-wrapper i {
  font-size: 36px;
  color: #ffffff;
}

.contact-info-card-modern h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.contact-info-card-modern p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 23, 23, 0.3);
}

.info-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 23, 23, 0.5);
  color: #ffffff;
}

.info-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-info-card-modern:hover .info-card-accent {
  opacity: 1;
}

/* Contact Form Modern */
.contact-form-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-form-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
}

.form-group-modern {
  position: relative;
  margin-bottom: 0;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-label-modern i {
  color: var(--accent-color);
  font-size: 16px;
}

.required {
  color: var(--accent-color);
  font-weight: 700;
}

.form-input-modern {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 15px;
  color: var(--default-color);
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.form-input-modern:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(209, 23, 23, 0.1);
  transform: translateY(-2px);
}

.form-input-modern::placeholder {
  color: #999;
}

.form-input-modern.valid {
  border-color: #28a745;
  background: #f0fff4;
}

.form-input-modern.invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-error {
  display: none;
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
  padding-left: 5px;
}

.form-error.show {
  display: flex;
  align-items: center;
  gap: 5px;
  animation: slideDown 0.3s ease;
}

.form-error::before {
  content: '⚠';
  font-size: 14px;
}

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

/* Submit Button Modern */
.btn-submit-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.4);
  overflow: hidden;
}

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

.btn-submit-modern:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.6);
}

.btn-submit-modern:active {
  transform: translateY(0);
}

.btn-submit-modern:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-text,
.btn-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.btn-loader i {
  animation: spin 1s linear infinite;
}

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

/* Form Alerts */
.form-alert {
  margin-top: 30px;
  padding: 25px 30px;
  border-radius: 20px;
  text-align: center;
  animation: slideUp 0.5s ease;
}

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

.form-alert i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.form-alert h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-alert p {
  font-size: 15px;
  margin: 0;
}

.form-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  color: #155724;
}

.form-success i {
  color: #28a745;
}

.form-error-alert {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border: 2px solid #dc3545;
  color: #721c24;
}

.form-error-alert i {
  color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-modern {
    padding: 30px 20px;
  }

  .contact-info-card-modern {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .info-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .info-icon-wrapper i {
    font-size: 30px;
  }

  .contact-info-card-modern h4 {
    font-size: 20px;
  }

  .btn-submit-modern {
    padding: 16px 40px;
    font-size: 14px;
  }
}

/* =====================================================
   404 ERROR PAGE - MODERN UI
   ===================================================== */

.error-page-modern {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.error-page-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(209, 23, 23, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 68, 68, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.error-content-modern {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Ballon de foot animé */
.error-ball-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 40px;
}

.error-ball {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(209, 23, 23, 0.3);
  animation: ballBounce 2s ease-in-out infinite;
  position: relative;
}

.error-ball i {
  font-size: 70px;
  color: #ffffff;
  animation: ballRotate 3s linear infinite;
}

.error-ball-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(10px);
  animation: shadowPulse 2s ease-in-out infinite;
}

@keyframes ballBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

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

@keyframes shadowPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateX(-50%) scale(0.8);
    opacity: 0.5;
  }
}

/* Code 404 avec gradient */
.error-code-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.code-digit {
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: digitPulse 2s ease-in-out infinite;
}

.code-digit.code-zero {
  animation-delay: 0.2s;
}

.code-digit:last-child {
  animation-delay: 0.4s;
}

@keyframes digitPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Titre et description */
.error-title-modern {
  font-size: 48px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.error-desc-modern {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Boutons d'action */
.error-actions-modern {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-error-primary,
.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-error-primary {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
}

.btn-error-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(209, 23, 23, 0.4);
  color: #ffffff;
}

.btn-error-secondary {
  background: #ffffff;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-error-secondary:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(209, 23, 23, 0.3);
}

/* Liens rapides */
.error-links-modern {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.error-links-title {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.error-quick-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--default-color);
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quick-link i {
  color: var(--accent-color);
  font-size: 16px;
}

.quick-link:hover {
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(209, 23, 23, 0.3);
}

.quick-link:hover i {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .error-ball-wrapper {
    width: 120px;
    height: 120px;
  }

  .error-ball {
    width: 120px;
    height: 120px;
  }

  .error-ball i {
    font-size: 55px;
  }

  .code-digit {
    font-size: 80px;
  }

  .error-title-modern {
    font-size: 36px;
  }

  .error-desc-modern {
    font-size: 16px;
  }

  .error-actions-modern {
    flex-direction: column;
    gap: 15px;
  }

  .btn-error-primary,
  .btn-error-secondary {
    width: 100%;
    justify-content: center;
  }

  .error-quick-links {
    flex-direction: column;
  }

  .quick-link {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   INSCRIPTION PAGE - MODERN UI
   ===================================================== */

/* Section Téléchargement Fiche */
.download-fiche-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 20px;
}

.download-fiche-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.download-fiche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
}

.fiche-icon-badge {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.3);
  flex-shrink: 0;
}

.fiche-icon-badge i {
  font-size: 50px;
  color: #ffffff;
}

.fiche-content {
  flex: 1;
}

.fiche-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.fiche-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.fiche-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fiche-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.fiche-feature i {
  color: #28a745;
  font-size: 18px;
}

.fiche-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.btn-download-fiche {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-download-fiche:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.6);
  color: #ffffff;
}

.btn-download-fiche i {
  font-size: 20px;
}

.fiche-hint {
  font-size: 13px;
  color: #999;
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fiche-hint i {
  color: var(--accent-color);
}

/* Form Inscription Modern */
.inscription-form-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.inscription-form-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), #ff4444);
}

.form-section-modern {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
}

.form-section-modern:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(209, 23, 23, 0.3);
}

.section-icon.medical {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.section-icon i {
  font-size: 28px;
  color: #ffffff;
}

.section-title-modern {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0 0 5px 0;
}

.section-desc-modern {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.form-group-inscription {
  position: relative;
  margin-bottom: 0;
}

.form-label-inscription {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-size: 14px;
}

.form-label-inscription i {
  color: var(--accent-color);
  font-size: 16px;
}

.required {
  color: var(--accent-color);
  font-weight: 700;
}

.optional {
  color: #999;
  font-weight: 400;
  font-size: 13px;
}

.form-input-inscription {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 15px;
  color: var(--default-color);
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.form-input-inscription:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(209, 23, 23, 0.1);
  transform: translateY(-2px);
}

.form-input-inscription::placeholder {
  color: #999;
}

/* Submit Button Inscription */
.btn-submit-inscription {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--accent-color), #ff4444);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(209, 23, 23, 0.4);
  overflow: hidden;
}

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

.btn-submit-inscription:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit-inscription:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(209, 23, 23, 0.6);
}

.btn-submit-inscription:active {
  transform: translateY(0);
}

.btn-submit-inscription:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit-inscription .btn-text,
.btn-submit-inscription .btn-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.btn-submit-inscription .btn-loader i {
  animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 992px) {
  .download-fiche-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fiche-icon-badge {
    margin: 0 auto;
  }

  .fiche-features {
    justify-content: center;
  }

  .fiche-action {
    width: 100%;
  }

  .btn-download-fiche {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .download-fiche-section {
    padding: 40px 20px;
  }

  .download-fiche-card {
    padding: 30px 20px;
  }

  .fiche-icon-badge {
    width: 80px;
    height: 80px;
  }

  .fiche-icon-badge i {
    font-size: 40px;
  }

  .fiche-title {
    font-size: 22px;
  }

  .fiche-desc {
    font-size: 14px;
  }

  .inscription-form-modern {
    padding: 30px 20px;
  }

  .form-section-header {
    flex-direction: column;
    text-align: center;
  }

  .section-icon {
    margin: 0 auto;
  }

  .section-title-modern {
    font-size: 20px;
  }

  .btn-submit-inscription {
    width: 100%;
    padding: 16px 40px;
    font-size: 14px;
  }
}
