/* Styles pour la sélection des modes de jeu sous forme de deux boutons épurés */
.home-game-screen .play-modal-container {
  width: min(100%, 28rem);
}

.home-game-screen .play-mode-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-game-screen .play-mode-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

/* 3D Effects and Animations for the selected Game modes */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4), inset 0 0 10px rgba(168, 85, 247, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7), inset 0 0 15px rgba(168, 85, 247, 0.4);
  }
}

.mode-3d-card {
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.mode-3d-card:hover {
  transform: rotateY(4deg) rotateX(2deg) translateZ(10px) translateY(-4px);
}

/* Custom horizontal scrollbar styling for high-tech slider */
.scrollbar-thin::-webkit-scrollbar {
  height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Neon animated border accents */
.neon-glow-cyan {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}
.neon-glow-purple {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}
.neon-glow-red {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}
.neon-glow-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}
