* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 60%;
  overflow-x: hidden;
}
:root {
  --bg-color: #080808;
  --second-bg-color: #001005;
  --text-color: white;
  --main-color: #2194ff;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background: var(--bg-color);
  color: var(--text-color);
  position: relative; /* pour les étoiles */
}

h1,
h2,
h3 {
  margin: 1rem 0;
}

h1 {
  font-size: 5rem;
  color: var(--main-color);
  text-shadow: 0 0 25px var(--main-color);
}

.infinity-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  animation: float 3s ease-in-out infinite;
}

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

h2 {
  font-size: 3rem;
  margin-top: 3rem;
  color: var(--text-color);
  text-decoration: underline;
}

h3 {
  margin: 1rem 0;
}

.access-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.player {
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(56, 175, 255);
  transition: 0.3s ease;
  position: relative;
}

.player:hover {
  box-shadow: 0 0 20px var(--main-color);
  transform: scale(1.05);
}

/* logos PlayStation en blanc au lieu de noir */
.player img.ps-logo {
  width: 20px;
  height: 20px;
  margin-bottom: 0.3rem;
  filter: brightness(0) invert(1);
}

/* Augmentation drastique de la luminosité des couronnes avec glow doré intense */
.player img.crown {
  width: 20px;
  height: 20px;
  margin-bottom: 0.3rem;
  /* Correction de la syntaxe du filter avec drop-shadow */
  filter: brightness(2.5) saturate(3) contrast(1.3) drop-shadow(0 0 12px rgb(56, 175, 255))
    drop-shadow(0 0 20px rgba(56, 175, 255));
}

.player-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Suppression du text-shadow vert sur les pseudos */
.player-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Suppression de l'ancien style des étoiles statiques */
/* Ajout d'un effet de scintillement tout autour des pseudos avec pseudo-éléments */
.sparkle-effect {
  position: relative;
  display: inline-block;
}

/* Création de plusieurs étoiles scintillantes autour du pseudo */
.sparkle-effect::before,
.sparkle-effect::after {
  content: "✦";
  position: absolute;
  color: var(--main-color);
  font-size: 1.2rem;
  text-shadow: 0 0 15px var(--main-color), 0 0 25px var(--main-color);
  animation: sparkle 1.5s ease-in-out infinite;
  pointer-events: none;
}

.sparkle-effect::before {
  top: -15px;
  left: -20px;
  animation-delay: 0s;
}

.sparkle-effect::after {
  top: -15px;
  right: -20px;
  animation-delay: 0.5s;
}

/* Ajout d'étoiles supplémentaires via un wrapper */
.player:hover .sparkle-effect::before,
.player:hover .sparkle-effect::after {
  animation: sparkle 0.8s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.4;
    transform: scale(1.3) rotate(90deg);
  }
  50% {
    opacity: 1;
    transform: scale(0.8) rotate(180deg);
  }
  75% {
    opacity: 0.6;
    transform: scale(1.2) rotate(270deg);
  }
}

/* Ajout du style pour les étoiles vertes visibles autour des pseudos */
.star-icon {
  color: var(--main-color);
  font-size: 1.8rem;
  text-shadow: 0 0 15px var(--main-color), 0 0 8px var(--main-color);
  animation: pulse-star 2s ease-in-out infinite;
}

@keyframes pulse-star {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.features {
  font-size: 1.8rem;
  color: var(--text-color, #ccc);
  margin-top: 1rem;
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem;
}

/* Ajout des styles pour la grille de features et les cartes */
.features-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(56, 175, 255, 0.3);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  min-width: 350px;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(56, 175, 255, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 175, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--main-color);
  box-shadow: 0 0 40px rgba(0, 153, 255, 0.4), 0 0 60px rgba(56, 175, 255, 0.2);
  transform: translateY(-5px) scale(1.02);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-title {
  font-size: 3.5rem;
  color: var(--main-color);
  text-shadow: 0 0 20px var(--main-color);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
}

.feature-list {
  list-style: none;
  text-align: left;
  font-size: 1.8rem;
  line-height: 2.5;
}

.feature-list li {
  position: relative;
  padding-left: 2.5rem;
  transition: all 0.3s ease;
}

.feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  color: var(--main-color);
  padding-left: 3rem;
}

.feature-list li:hover::before {
  left: 0.5rem;
  text-shadow: 0 0 10px var(--main-color);
}

.feature-highlight {
  color: var(--main-color);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(31, 240, 255, 0.5);
}

.feature-list em {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  font-style: italic;
}

.feature-more {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(56, 175, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.note {
  margin-top: 4rem;
  font-size: 2rem;
  color: var(--muted-color, #ccc);
  max-width: 700px;
  line-height: 1.6;
}

span.highlight {
  color: var(--main-color);
  text-shadow: 0 0 15px var(--main-color);
}

/* étoiles vertes animées */
.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #2194ff;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2s infinite;
  pointer-events: none;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.2;
    transform: translateY(-2px) scale(1.3);
  }
}
