/* Variables et reset */
:root {
  --primary-color: #4CAF50;
  --background-dark: #121212;
  --background-light: #1E1E1E;
  --card-background: #2A2A2A;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --border-color: rgba(255, 255, 255, 0.1);
  --success-color: #4CAF50;
  --error-color: #f44336;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout principal */
.main-container {
  display: flex;
  min-height: 100vh;
}

.content-section {
  flex: 1;
  max-width: calc(100% - 400px);
  position: relative;
}

/* Navigation */
.navigation-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: var(--background-dark);
}

.back-button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 24px;
  padding: 8px;
  transition: var(--transition);
}

.back-button:hover {
  color: var(--primary-color);
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

/* Nouveau Hero Container */
.hero-container {
  display: flex;
  gap: 40px;
  padding: 32px;
  background: var(--background-dark);
  min-height: 440px;
}

.hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* Animation néon subtil */
@keyframes neon-glow-title {
  0%, 100% { 
    text-shadow: 
      0 0 5px rgba(138, 43, 226, 0.3),
      0 0 10px rgba(138, 43, 226, 0.2);
  }
  50% { 
    text-shadow: 
      0 0 10px rgba(138, 43, 226, 0.5),
      0 0 20px rgba(138, 43, 226, 0.3),
      0 0 30px rgba(138, 43, 226, 0.2);
  }
}

.event-title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  animation: neon-glow-title 3s ease-in-out infinite;
  color: var(--text-primary);
}


/* Animation pulse pour organisateur */
@keyframes pulse-organizer {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.02);
  }
}

.event-organizer {
  color: var(--text-secondary);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.08), rgba(0, 0, 0, 0.2));
  border-radius: 20px;
  border: 1px solid rgba(138, 43, 226, 0.15);
  animation: pulse-organizer 3s ease-in-out infinite;
  width: fit-content;
}

.event-organizer::before {
  content: '✉️';
  font-size: 18px;
}

/* Animation Shimmer violet→noir */
@keyframes shimmer-violet {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.event-datetime {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.08), rgba(0, 0, 0, 0.3));
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(138, 43, 226, 0.15);
  position: relative;
  overflow: hidden;
}

.event-datetime::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 43, 226, 0.12),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer-violet 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 12px;
}

.datetime-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.datetime-item .label {
  min-width: 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.datetime-item .highlight {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}}

/* Animation flicker pour localisation */
@keyframes flicker-location {
  0%, 100% { 
    opacity: 1;
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
  }
  50% { 
    opacity: 0.85;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
  }
}

.event-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 500;
  animation: flicker-location 2.5s ease-in-out infinite;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(0, 0, 0, 0.2));
  border-radius: 8px;
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.event-location i {
  color: #9b59b6;
  font-size: 18px;
  animation: flicker-location 2.5s ease-in-out infinite;
}


.event-actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.event-interests {
  color: var(--text-secondary);
  font-size: 14px;
}


/* Animation shimmer pour image */
@keyframes shimmer-image {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Animation glow border */
@keyframes glow-border-image {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
  }
  50% { 
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.7);
  }
}

.hero-image-container {
  flex: 2;
  border-radius: 16px;
  overflow: hidden;
  height: 440px;
  position: relative;
  animation: glow-border-image 3s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Effet shimmer qui passe */
.hero-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  animation: shimmer-image 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Hover effect */
.hero-image-container:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 50px rgba(138, 43, 226, 0.6);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.hero-image-container:hover .hero-image {
  filter: brightness(1.15);
}



/* Section billets */
.tickets-section {
  padding: 40px 32px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}

.ticket-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.ticket-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ticket-info {
  flex: 1;
}

.ticket-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ticket-date {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.ticket-description {
  color: var(--text-secondary);
  font-size: 14px;
}

.ticket-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ticket-price {
  font-size: 20px;
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
}

.quantity-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.quantity-btn:hover {
  color: var(--primary-color);
}

.quantity-btn:disabled {
  color: var(--text-secondary);
  cursor: not-allowed;
}

.quantity {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

/* Line-up section */
.lineup-section {
  padding: 0 32px 40px;
}

.lineup-section h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.lineup-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.lineup-more {
  margin-top: 8px;
  font-style: italic;
}

/* Description et infos */
.description-section,
.additional-info {
  padding: 0 32px 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Mobile : une colonne */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation shimmer pour info-card */
@keyframes shimmer-card {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Animation fade-in pour le texte */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), var(--card-background));
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(138, 43, 226, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Effet shimmer léger */
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 43, 226, 0.08),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer-card 5s ease-in-out infinite;
  pointer-events: none;
}

.info-card:hover {
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: 0 5px 20px rgba(138, 43, 226, 0.15);
}

.info-card h2,
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 20px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(138, 43, 226, 0.3);
  padding-bottom: 12px;
}

.info-card i {
  display: none;  /* Cache l'icône */
}


.info-card i {
  color: #9b59b6;
  font-size: 22px;
  animation: pulse-organizer 3s ease-in-out infinite;
}

/* Style pour le contenu texte */
.card-content {
  position: relative;
  z-index: 1;
  animation: fadeInText 0.6s ease-out;
}


.card-content p {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  transition: var(--transition);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Panier latéral */
.cart-sidebar {
  width: 400px;
  background: var(--background-light);
  border-left: 1px solid var(--border-color);
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.cart-container {
  padding: 32px;
}

.cart-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 32px;
}

.selected-tickets {
  margin-bottom: 32px;
}

.selected-tickets-list {
  list-style: none;
}

.ticket-summary {
  margin-bottom: 16px;
}

.ticket-summary-name {
  font-weight: 500;
  margin-bottom: 4px;
}

.ticket-summary-price {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 14px;
}

.service-fee {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 20px;
  font-weight: bold;
  border-top: 1px solid var(--border-color);
}

.cart-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-primary:disabled {
  background: #666;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Styles pour les contrôles d'événement */
.event-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.view-button, .publish-button {
  min-width: 200px;
}

.status-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--dark-surface);
  border-radius: var(--border-radius);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
}

.status-badge.publie {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
}

.status-info div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

/* Style pour bouton désactivé */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.event-controls.published-state {
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.status-badge.publie {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-message {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Styles supplémentaires pour la page events-details */

/* Style pour les boutons intéressés */
.btn-secondary.interested {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
}

.btn-secondary.interested i {
  color: var(--primary-color);
}

/* Styles pour les messages d'erreur */
.error-message {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Styles pour le message de connexion */
.ticket-card a {
  color: var(--primary-color);
  text-decoration: none;
}

.ticket-card a:hover {
  text-decoration: underline;
}

/* Style amélioré pour la date/heure */
.datetime-item {
  margin-bottom: 8px;
}

/* Style pour le bouton d'itinéraire */
.action-btn i {
  font-size: 18px;
}

.action-btn:focus {
  outline: none;
}

/* Style pour la limite de stock */
.ticket-stock {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.stock-low {
  color: #FFC107;
}

.stock-critical {
  color: #FF5722;
}

/* Style pour le retour en haut de page */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
}

/* Styles pour les badges de styles musicaux */
.music-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.style-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Ajustements pour le responsive */
@media (max-width: 768px) {
  .event-controls {
      flex-direction: column;
      align-items: stretch;
  }
  
  .view-button, .publish-button {
      width: 100%;
      min-width: unset;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .content-section {
    max-width: calc(100% - 350px);
  }
  
  .cart-sidebar {
    width: 350px;
  }

  .hero-container {
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
  }
  
  .content-section {
    max-width: 100%;
  }

  .hero-container {
    flex-direction: column;
  }
  
  .hero-info {
    order: 2;
  }

.hero-image-container {
  order: 1;
  height: 300px;
}

/* Désactiver hover sur mobile (pas de souris) */
@media (hover: none) {
  .hero-image-container:hover {
    transform: none;
  }
}
  
/* PANIER MOBILE - Sticky en bas, compact */
.cart-sidebar {
  width: 400px;
  background: var(--background-light);
  border-left: 1px solid var(--border-color);
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

/* MOBILE : Panier en bas sticky */
@media (max-width: 992px) {
  .cart-sidebar {
    width: 100% !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    max-height: 70vh !important;
    border-left: none !important;
    border-top: 2px solid rgba(138, 43, 226, 0.3) !important;
    z-index: 1000 !important;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7) !important;
  }
}

  .cart-sidebar[style*="display: block"] {
    transform: translateY(0);
    animation: slideUp 0.3s ease-out;
  }

  /* Réduire padding du container */
  .cart-container {
    padding: 16px;
  }

  /* Titre plus petit */
  .cart-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  /* Liste des billets compacte */
  .selected-tickets {
    margin-bottom: 12px;
  }

  .ticket-summary {
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
  }

  .ticket-summary-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .ticket-summary-price {
    font-size: 13px;
  }

  /* Frais de service compact */
  .service-fee {
    padding: 8px 0;
    font-size: 13px;
  }

  /* Total compact */
  .cart-total {
    padding: 12px 0;
    font-size: 18px;
    margin-bottom: 8px;
  }

  /* Boutons plus petits */
  .cart-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .btn-primary, .btn-secondary {
    padding: 12px;
    font-size: 14px;
  }
}

/* Animation slide-up */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}


@media (max-width: 576px) {
  .navigation-bar,
  .hero-container,
  .tickets-section,
  .lineup-section,
  .description-section,
  .additional-info {
    padding: 16px;
  }

  .event-title {
    font-size: 32px;
  }
  
  .event-actions {
    flex-direction: column;
  }
  
  .ticket-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .ticket-controls {
    width: 100%;
    justify-content: space-between;
  }
}


.modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            animation: fadeIn 0.3s ease;
        }

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

        .modal-content {
            background: #1a1a1f;
            border-radius: 16px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            position: relative;
            animation: slideUp 0.3s ease;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

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

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: #e67e22;
        }

        .modal-content h2 {
            color: #fff;
            margin-bottom: 10px;
            font-size: 24px;
        }

        .modal-content p {
            color: #999;
            margin-bottom: 30px;
        }

        .auth-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .btn-auth {
            background: #2a2a2f;
            border: 2px solid #3a3a3f;
            padding: 20px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: left;
            color: #fff;
        }

        .btn-auth:hover {
            border-color: #e67e22;
            transform: translateY(-2px);
        }

        .btn-auth i {
            font-size: 24px;
            margin-right: 15px;
            color: #e67e22;
        }

        .btn-auth span {
            display: block;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .btn-auth small {
            display: block;
            color: #999;
            font-size: 14px;
        }

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

        .form-group input {
            width: 100%;
            padding: 15px;
            background: #2a2a2f;
            border: 2px solid #3a3a3f;
            border-radius: 8px;
            color: #fff;
            font-size: 16px;
        }

        .form-group input:focus {
            outline: none;
            border-color: #e67e22;
        }

        .code-inputs {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .code-digit {
            width: 50px;
            height: 60px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            background: #2a2a2f;
            border: 2px solid #3a3a3f;
            border-radius: 8px;
            color: #fff;
        }

        .code-digit:focus {
            outline: none;
            border-color: #e67e22;
        }

        .btn-link {
            background: none;
            border: none;
            color: #e67e22;
            cursor: pointer;
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-link:hover {
            text-decoration: underline;
        }

        .error-message {
            background: rgba(255, 107, 107, 0.1);
            color: #ff6b6b;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 15px;
            text-align: center;
        }

        #displayEmail {
            color: #e67e22;
        }


/* Badge SOLD OUT */
.sold-out-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    animation: pulse-sold-out 2s infinite;
}

@keyframes pulse-sold-out {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Désactiver les tickets sold out */
.ticket-card:has(.sold-out-badge) .quantity-controls button {
    opacity: 0.5;
    cursor: not-allowed;
}

.ticket-card:has(.sold-out-badge) {
    opacity: 0.8;
}


/* ============================================
   SECTION VIDÉOS - LAYOUT SIMPLE
   ============================================ */

.videos-section {
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.03), rgba(0, 0, 0, 0.2));
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.videos-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.videos-section .section-title i {
    color: #9b59b6;
    font-size: 22px;
}

/* Container des vidéos */
.videos-carousel-container {
    width: 100%;
}

/* Grid/Flex pour les vidéos */
.videos-carousel {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* Carte vidéo individuelle */
.video-card {
    flex: 1;
    min-width: 0;
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Style du bouton play natif */
video::-webkit-media-controls-play-button {
    background-color: rgba(138, 43, 226, 0.9);
    border-radius: 50%;
}

video {
    cursor: pointer;
}

/* Masquer les boutons de navigation */
.carousel-btn {
    display: none;
}

.carousel-dots {
    display: none;
}

/* Animation d'apparition */
@keyframes fadeInVideo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card {
    animation: fadeInVideo 0.5s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE - MOBILE (≤ 992px)
   ============================================ */
@media (max-width: 992px) {
    .videos-section {
        padding: 24px 16px;
    }

    /* Empiler verticalement sur mobile */
    .videos-carousel {
        flex-direction: column;
        gap: 20px;
    }

    .video-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .videos-section {
        padding: 20px 12px;
    }

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

    .videos-carousel {
        gap: 16px;
    }
}


/* ============================================
   SECTION LINE-UP (ARTISTES)
============================================ */

.lineup-section {
    padding: 60px 32px;
    background: var(--background-dark);
    border-top: 1px solid rgba(138, 43, 226, 0.1);
}

.lineup-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lineup-section .section-title i {
    color: #9b59b6;
    font-size: 22px;
    animation: pulse-organizer 3s ease-in-out infinite;
}

/* Grid des artistes */
.artists-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Carte artiste - Photo + Nom côte à côte */
.artist-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08), var(--card-background));
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Effet shimmer au hover */
.artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(138, 43, 226, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.artist-card:hover::before {
    left: 100%;
}

.artist-card:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.2);
    transform: translateX(5px);
}

/* Photo carrée à gauche */
.artist-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(138, 43, 226, 0.3);
    flex-shrink: 0;
}

/* Placeholder si pas de photo */
.artist-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(138, 43, 226, 0.3);
    flex-shrink: 0;
}

.artist-photo-placeholder i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.8);
}

/* Nom à droite */
.artist-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

/* Masquer bio et liens sociaux */
.artist-bio,
.artist-social-links {
    display: none;
}

/* Animation d'apparition */
@keyframes fadeInArtist {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.artist-card {
    animation: fadeInArtist 0.5s ease forwards;
}

.artist-card:nth-child(1) { animation-delay: 0.1s; }
.artist-card:nth-child(2) { animation-delay: 0.2s; }
.artist-card:nth-child(3) { animation-delay: 0.3s; }
.artist-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .lineup-section {
        padding: 40px 16px;
    }
    
    .artist-photo,
    .artist-photo-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .artist-photo-placeholder i {
        font-size: 24px;
    }
    
    .artist-name {
        font-size: 18px;
    }
    
    .artist-card {
        padding: 16px;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .lineup-section .section-title {
        font-size: 20px;
    }
    
    .artist-name {
        font-size: 16px;
    }
}


/* Bouton play */
.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border: 2px solid rgba(138, 43, 226, 0.3);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.5);
    border-color: rgba(138, 43, 226, 0.6);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn i {
    font-size: 16px;
    margin-left: 2px; /* Petit décalage pour centrer visuellement l'icône play */
}

.play-btn i.fa-pause {
    margin-left: 0; /* Pas de décalage pour pause */
}

/* Animation pulse quand en lecture */
@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(155, 89, 182, 0);
    }
}

.play-btn:has(.fa-pause) {
    animation: pulse-play 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .play-btn {
        width: 36px;
        height: 36px;
    }
    
    .play-btn i {
        font-size: 14px;
    }
}

/* ============================================
   SECTION STYLES MUSICAUX
============================================ */

.music-styles-section {
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.03), rgba(0, 0, 0, 0.2));
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.music-styles-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.music-styles-section .section-title i {
    color: #9b59b6;
    font-size: 22px;
    animation: pulse-organizer 3s ease-in-out infinite;
}

/* Grid des styles - Une seule ligne horizontale */
.styles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Badge de style individuel */
.style-badge-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.12), var(--card-background));
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Effet shimmer au hover */
.style-badge-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(138, 43, 226, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.style-badge-display:hover::before {
    left: 100%;
}

.style-badge-display:hover {
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

/* Emoji du style */
.style-badge-display .style-emoji {
    font-size: 24px;
    line-height: 1;
}

/* Nom du style */
.style-badge-display .style-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation d'apparition */
@keyframes fadeInStyleBadge {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.style-badge-display {
    animation: fadeInStyleBadge 0.5s ease forwards;
}

.style-badge-display:nth-child(1) { animation-delay: 0.1s; }
.style-badge-display:nth-child(2) { animation-delay: 0.2s; }
.style-badge-display:nth-child(3) { animation-delay: 0.3s; }
.style-badge-display:nth-child(4) { animation-delay: 0.4s; }
.style-badge-display:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE - MOBILE
============================================ */

@media (max-width: 768px) {
    .music-styles-section {
        padding: 24px 16px;
    }

    .music-styles-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .styles-grid {
        gap: 10px;
    }

    .style-badge-display {
        padding: 8px 14px;
    }

    .style-badge-display .style-emoji {
        font-size: 20px;
    }

    .style-badge-display .style-name {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .music-styles-section {
        padding: 20px 12px;
    }

    .styles-grid {
        gap: 8px;
    }

    .style-badge-display {
        padding: 6px 12px;
        gap: 6px;
    }

    .style-badge-display .style-emoji {
        font-size: 18px;
    }

    .style-badge-display .style-name {
        font-size: 12px;
    }
}


.event-link {
    color: #9333ea; /* Violet BOUNCE */
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
    word-break: break-word; /* Pour les URLs longues sur mobile */
}

.event-link:hover {
    color: #fb923c; /* Orange BOUNCE */
    text-decoration: none;
    text-shadow: 0 0 8px rgba(251, 146, 60, 0.5);
}

/* Responsive - sur mobile */
@media (max-width: 768px) {
    .event-link {
        font-size: 14px;
        line-height: 1.6;
    }
}
