

/* 🏆 Conteneur principal centre pour tous les trophees */.trophees-liste {
  padding: 3rem;
  text-align: center;
  margin: 3rem auto;
}



/* 🏆 Conteneur principal centre pour tous les trophees */.trophees-liste h1 {
  color: #1cce5b;
  margin-top: 1rem;
  font-weight: lighter;
  font-family: 'OctoberCrow', cursive;
  font-size: 3rem;
  text-shadow: 0 0 10px #1cce5b;
}

/* 🧱 Grille responsive d'affichage des cartes de trophees */.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  
}

/* 🃏 Carte individuelle de trophee avec bordures et animation */.trophee-card {
  background-color: #110024;
  padding: 1rem;
  border-radius: 12px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
    opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* 🃏 Carte individuelle de trophee avec bordures et animation */.trophee-card:hover {
  transform: scale(1.05);
}

/* 🃏 Carte individuelle de trophee avec bordures et animation */.trophee-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

/* 🃏 Carte individuelle de trophee avec bordures et animation */.trophee-card h3 {
  margin: 0.5rem 0 0.2rem;
  color: #1cce5b;
  font-weight: lighter;
  font-size: 1.3rem;
}

/* 🃏 Carte individuelle de trophee avec bordures et animation */.trophee-card p {
  font-size: 1rem;
  color: #dbdbdb;
}





.trophees-bg {
  position: fixed;
  inset: 0;
background: url('/assets/images/FONDECRAN11.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: fantomeFloat 10s ease-in-out infinite;
  will-change: transform, background-position;
  pointer-events: none;
}

@keyframes fantomeFloat {
  0%   { transform: scale(1); background-position: 50% 50%; }
  50%  { transform: scale(1.05); background-position: 48% 52%; }
  100% { transform: scale(1); background-position: 50% 50%; }
}





/* Animation d'apparition */
/* 🎞️ Animation de fade + montee pour affichage progressif */@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media screen and (max-width: 480px) {
/* 🏆 Conteneur principal centre pour tous les trophees */  .trophees-liste {
    padding: 1.5rem;
  }

/* 🏆 Conteneur principal centre pour tous les trophees */  .trophees-liste h2 {
    font-size: 2rem;
  }

/* 🃏 Carte individuelle de trophee avec bordures et animation */  .trophee-card {
    padding: 0.8rem;
  }

/* 🃏 Carte individuelle de trophee avec bordures et animation */  .trophee-card img {
  max-height: 150px;
  object-fit: contain;
}


/* 🃏 Carte individuelle de trophee avec bordures et animation */  .trophee-card h3 {
    font-size: 1.1rem;
  }

/* 🃏 Carte individuelle de trophee avec bordures et animation */  .trophee-card p {
    font-size: 0.9rem;
  }

}


/* 🔼 Bouton retour en haut, visible apres scroll */#back-to-top {
  position: fixed;
      bottom: 40px;
      right: 60px;
  background: #1cce5b;
  color: #090013;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  transition: opacity 0.3s ease;
}

/* 🔼 Bouton retour en haut, visible apres scroll */#back-to-top:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media screen and (max-width: 480px) {
/* 🔼 Bouton retour en haut, visible apres scroll */  #back-to-top {
    bottom: 15px;
    right: 15px;
    padding: 0.5rem 0.9rem;
    font-size: 1rem;
  }
}
