/* Styles d'arrière-plans mis à jour pour Dofinia */

/* ===== STYLE A: MAUVE COSMIQUE ===== */
/* Pour la section des personnages */
.characters-section {
    position: relative;
    background: linear-gradient(to right, #2e1a47, #4b2d73) !important;
    overflow: hidden;
  }
  
  /* Particules d'étoiles */
  .characters-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        circle at 15% 25%,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.8) 1px,
        transparent 1px
      ), radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
      radial-gradient(circle at 65% 10%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 2px, transparent 2px),
      radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
      radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    z-index: 0;
  }
  
  /* Nébuleuse */
  .characters-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(147, 112, 219, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 70% 50%, rgba(138, 43, 226, 0.3) 0%, transparent 50%);
    filter: blur(30px);
    z-index: 0;
  }
  
  /* Ajustements pour le contenu */
  .characters-section .characters-content {
    position: relative;
    z-index: 2;
  }
  
  /* Ajustements pour le texte */
  .characters-section .characters-text h2 {
    color: #d4b8ff;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.8);
  }
  
  .characters-section .characters-text p {
    color: #e0d0ff;
  }
  
  .characters-section .role-item span {
    color: #e0d0ff;
  }
  
  /* ===== STYLE B: BLEU OCÉANIQUE PROFOND ===== */
  /* Pour la section supporter pack */
  .supporter-section {
    position: relative;
    background: linear-gradient(to bottom, #0a192f, #172a45) !important;
    overflow: hidden;
  }
  
  /* Vagues */
  .supporter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(100, 255, 218, 0.03) 20px,
      rgba(100, 255, 218, 0.03) 40px
    );
    z-index: 0;
  }
  
  /* Bulles */
  .supporter-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        circle at 20% 30%,
        rgba(100, 255, 218, 0.1) 0%,
        rgba(100, 255, 218, 0.1) 3px,
        transparent 3px
      ), radial-gradient(circle at 40% 70%, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.1) 2px, transparent 2px),
      radial-gradient(circle at 60% 20%, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.1) 4px, transparent 4px),
      radial-gradient(circle at 80% 50%, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.1) 2px, transparent 2px);
    z-index: 0;
  }
  
  /* Ajustements pour le contenu */
  .supporter-section .supporter-pack-content {
    position: relative;
    z-index: 2;
  }
  
  /* Ajustements pour le texte */
  .supporter-section .supporter-pack-header h2,
  .supporter-section .pack-title {
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
  }
  
  .supporter-section .pack-tagline,
  .supporter-section .pack-description {
    color: #a8b2d1;
  }
  
  /* Animation pour les bulles */
  @keyframes float-bubble {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  /* Ajout de quelques bulles animées */
  .supporter-section .supporter-pack-content::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(100, 255, 218, 0.2);
    top: 20%;
    left: 10%;
    z-index: 1;
    animation: float-bubble 8s infinite ease-in-out;
    box-shadow:
      100px 150px 0 rgba(100, 255, 218, 0.15),
      200px 80px 0 rgba(100, 255, 218, 0.1),
      300px 200px 0 rgba(100, 255, 218, 0.2),
      400px 100px 0 rgba(100, 255, 218, 0.15),
      500px 250px 0 rgba(100, 255, 218, 0.1);
  }
  
  .supporter-section .supporter-pack-content::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(100, 255, 218, 0.1);
    top: 40%;
    left: 20%;
    z-index: 1;
    animation: float-bubble 12s infinite ease-in-out;
    box-shadow: 150px 100px 0 rgba(100, 255, 218, 0.05), 250px 200px 0 rgba(100, 255, 218, 0.1), 350px 50px 0
      rgba(100, 255, 218, 0.15), 450px 150px 0 rgba(100, 255, 218, 0.05);
  }
  
  /* Remplacer complètement le style pour la section campaign-section pour éliminer les artefacts visuels */
  
  /* ===== STYLE D: JAUNE DORÉ ROYAL ===== */
  /* Pour la section OFFRE EXCLUSIVE et campagne */
  .campaign-section {
    position: relative;
    background: linear-gradient(to bottom, #5d4037, #3e2723) !important;
    overflow: hidden;
    z-index: 1; /* Assurez-vous que cette section a un z-index approprié */
  }
  
  /* Motif doré - remplacer le pseudo-élément before */
  .campaign-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
      45deg,
      rgba(255, 215, 0, 0.05) 0px,
      rgba(255, 215, 0, 0.05) 2px,
      transparent 2px,
      transparent 4px
    );
    z-index: 0;
    opacity: 0.8; /* Réduire légèrement l'opacité */
  }
  
  /* Éclat doré - remplacer le pseudo-élément after */
  .campaign-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 70% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    filter: blur(20px);
    z-index: 0;
    opacity: 0.9; /* Réduire légèrement l'opacité */
  }
  
  /* Supprimer les pseudo-éléments before et after de campaign-content qui pourraient causer des problèmes */
  .campaign-section .campaign-content::before,
  .campaign-section .campaign-content::after {
    display: none !important;
  }
  
  /* Ajouter de nouveaux éléments décoratifs plus contrôlés */
  .campaign-section .campaign-left,
  .campaign-section .campaign-right {
    position: relative;
    z-index: 2; /* S'assurer que le contenu est au-dessus des effets d'arrière-plan */
  }
  
  /* Ajouter un effet de brillance doré aux boutons */
  .campaign-section .kickstarter-button,
  .campaign-section .join-button,
  .campaign-section button {
    position: relative;
    z-index: 3;
    background: linear-gradient(
      135deg,
      rgba(255, 215, 0, 0.9) 0%,
      rgba(255, 215, 0, 0.7) 50%,
      rgba(255, 215, 0, 0.8) 51%,
      rgba(255, 215, 0, 0.6) 100%
    ) !important;
    color: #3e2723 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  }
  
  /* Ajustements pour les textes */
  .campaign-section h1,
  .campaign-section h2,
  .campaign-section h3,
  .campaign-section .campaign-left h2,
  .campaign-section .campaign-left h3 {
    color: #ffd700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5) !important;
    position: relative;
    z-index: 2;
  }
  
  .campaign-section p,
  .campaign-section .campaign-left p {
    color: #ffeeba !important;
    position: relative;
    z-index: 2;
  }
  
  /* Assurer que tous les éléments de contenu sont au-dessus des effets d'arrière-plan */
  .campaign-section * {
    position: relative;
    z-index: 2;
  }
  
  /* Supprimer tout style résiduel qui pourrait causer des problèmes */
  .campaign-section .section-separator,
  .campaign-section > div:not(.container, .campaign-content) {
    display: none !important;
  }
  