/* ----- BASE GLOBALE ----- */ 
body { 
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f054c, #1a0d78);
  color: #fff;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
nav a {
  margin: 0 1rem;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover {
  color: #ff6600;
}
.cta-btn {
  background: linear-gradient(to right, #ff6600, #ff3300);
  border: none;
  padding: 0.75rem 1.5rem;
  color: white;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: linear-gradient(to right, #e65c00, #cc2900);
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hero-text {
  max-width: 600px;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero img {
  max-width: 450px;
  width: 100%;
}
footer {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a40;
  font-size: 0.9rem;
  color: #aaa;
}

/* ----- GRILLE DES JEUX ----- */
.jeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* ----- CARTE DE JEU ----- */
.carte-jeu {
  background: #1e1e4f;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeSlideIn 0.8s ease-out forwards;
}
.carte-jeu:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}
.carte-jeu img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease-in-out;
}
.carte-jeu:hover img {
  transform: scale(1.07);
}
.carte-jeu .image-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.carte-jeu .image-container .overlay-titre {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  color: gold;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.carte-jeu .infos {
  padding: 1rem 1.2rem;
  color: #fff;
  text-align: left;
}
.carte-jeu .infos p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* ----- PRIX ----- */
.gain {
  font-size: 1.6rem;
  color: #ffcc00;
  font-weight: bold;
  margin-top: 1rem;
  position: relative;
  display: inline-block;
  animation: pulsePrix 2s infinite ease-in-out;
}

/* ----- BOUTON JOUER ----- */
.carte-jeu .jouer-btn {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(to right, #ff6600, #ff3300);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
  animation: pulse-glow 2s infinite;
}
.carte-jeu .jouer-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #e65c00, #cc2900);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.6);
}

/* ----- ANIMATIONS ----- */
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pulsePrix {
  0% { text-shadow: 0 0 5px #ffcc00; }
  50% { text-shadow: 0 0 20px #ffcc00; }
  100% { text-shadow: 0 0 5px #ffcc00; }
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 8px rgba(255, 102, 0, 0.5); }
  50% { box-shadow: 0 0 18px rgba(255, 102, 0, 0.9); }
  100% { box-shadow: 0 0 8px rgba(255, 102, 0, 0.5); }
}

/* ----- DELAIS POUR ANIMATIONS EN CASCADE ----- */
.carte-jeu:nth-child(1) { animation-delay: 0.1s; }
.carte-jeu:nth-child(2) { animation-delay: 0.2s; }
.carte-jeu:nth-child(3) { animation-delay: 0.3s; }
.carte-jeu:nth-child(4) { animation-delay: 0.4s; }
.carte-jeu:nth-child(5) { animation-delay: 0.5s; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b0c2a;
  color: #ffffff;
}

header {
  background-color: #15163a;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

nav a {
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
}

.cta-btn {
  background: linear-gradient(135deg, #f68b1e, #ffcc00);
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.jeu-detail,
.tirage-form {
  max-width: 900px;
  margin: 40px auto;
  background: #1a1c3b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.jeu-meta p {
  font-size: 16px;
  margin: 5px 0;
}

img {
  max-width: 100%;
  border-radius: 10px;
}

.numbers-grid,
.etoiles-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.number-choice,
.etoile-choice {
  display: flex;
  justify-content: center;
  align-items: center;
}

.number-choice input,
.etoile-choice input {
  display: none;
}

.number-choice span,
.etoile-choice span {
  background-color: #1e1f4d;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  border: 2px solid #3940a7;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

input[type="checkbox"]:checked + span {
  background-color: #007bff;
  border-color: #00b4ff;
  font-weight: bold;
  color: #fff;
}

.resultats-tires {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.resultats-tires .balle {
  background: linear-gradient(135deg, #ff5722, #ffc107);
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  padding: 14px 0;
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.resultats-tires .etoile {
  background: linear-gradient(135deg, #f9a825, #ffd600);
  border: 2px solid #fff;
}

.compteur {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.compteur .bloc {
  background-color: #f7931e;
  color: #000;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.compteur .label {
  font-size: 12px;
  margin-top: 5px;
}

footer {
  text-align: center;
  padding: 30px 0;
  background-color: #15163a;
  margin-top: 60px;
}
body {
  background-color: #0b0c2a;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  padding: 15px 30px;
  background-color: #1a1b3a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

nav a {
  margin: 0 10px;
  color: #f1f1f1;
  text-decoration: none;
}

.cta-btn {
  background: #ff9000;
  color: #000;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.countdown-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.countdown-box {
  background: #ff9000;
  color: #000;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.countdown-box span {
  font-size: 20px;
}

.info-participants {
  text-align: center;
  margin: 15px 0;
  color: #ccc;
}

.grid-nombres, .grid-etoiles {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  padding: 10px;
  justify-items: center;
}

.number-choice input,
.star-choice input {
  display: none;
}

.number-choice span,
.star-choice span {
  display: inline-block;
  background: #1f1f3c;
  border: 2px solid #2e86ff;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  line-height: 36px;
  text-align: center;
  color: #2e86ff;
  cursor: pointer;
}

.number-choice input:checked + span,
.star-choice input:checked + span {
  background: #2e86ff;
  color: #fff;
}

.choix-selection {
  text-align: center;
  margin: 20px 0;
}

.boules-selection {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}

.boule {
  background: #ff512f;
  color: #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-weight: bold;
}

.boule.star {
  background: #ff9000;
}
.jeu-detail {
  text-align: center; /* Centrer tout le contenu */
}

.jeu-image {
  display: block;
  margin: 20px auto; /* Centrer horizontalement */
  max-width: 400px;
  border-radius: 10px;
}
/* Animation d'apparition centrée */
.jeu-image {
  display: block;
  margin: 20px auto;
  max-width: 400px;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomFade 0.8s ease-out forwards;
}

/* Définition de l'animation */
@keyframes zoomFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.jeu-detail {
  text-align: center;
  padding: 30px;
  background-color: #1a1a3c;
  border-radius: 12px;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Centrage + animation image */
.jeu-image {
  display: block;
  margin: 20px auto;
  max-width: 400px;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomFade 0.8s ease-out forwards;
}

@keyframes zoomFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.selection-wrapper {
  background-color: #1a1a3c;
  padding: 30px;
  margin: 40px auto;
  border-radius: 15px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  color: white;
}

.selection-wrapper h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.selection-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.selection-item {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #ff6a00, #ff9900);
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.selection-item:hover {
  transform: scale(1.1);
}
.selection-wrapper {
  background-color: #1a1a3c;
  padding: 30px;
  margin: 40px auto;
  border-radius: 15px;
  max-width: 700px;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.selection-wrapper h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.selection-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.boule {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff900, #d4af00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  box-shadow: inset 0 0 0 8px white, 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}

.boule.etoile {
  background: radial-gradient(circle at 30% 30%, #ffdf00, #ffb800);
}

.boule:hover {
  transform: scale(1.08);
}
.etapes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b0b3b;
  padding: 60px 10%;
  color: white;
  flex-wrap: wrap;
  gap: 30px;
}

.etapes-gauche {
  flex: 1;
  min-width: 300px;
}

.etape {
  display: flex;
  align-items: center;
  background-color: #1c1c5e;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.etape img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.etape h3 {
  margin: 0;
  font-size: 1.2em;
  color: #fff;
}

.etape p {
  margin: 5px 0 0;
  font-size: 0.95em;
  color: #ccc;
}

.etapes-droite {
  flex: 1;
  display: flex;
  justify-content: center;
}

.etapes-droite img {
  max-width: 100%;
  height: auto;
}
.texte-animé {
  position: relative;
  height: 50px;
  overflow: hidden;
  margin: 20px 0;
}

.texte-animé .mot {
  font-size: 2.2em;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 0 0 10px #04ff00, 0 0 20px #04ff00;
  animation: slide-zoom 6s infinite;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.texte-animé .mot:nth-child(1) {
  animation-delay: 0s;
}
.texte-animé .mot:nth-child(2) {
  animation-delay: 2s;
}
.texte-animé .mot:nth-child(3) {
  animation-delay: 4s;
}

@keyframes slide-zoom {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  10% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  30% {
    opacity: 1;
    transform: scale(1.05);
  }
  40% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 0;
 }   
}
.etapes-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #0b0030;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.etapes-gauche {
  flex: 1;
  max-width: 600px;
}

.etapes-droite img {
  width: 100%;
  max-width: 400px;
}

.etapes-titre-gauche {
  margin-bottom: 30px;
}

.etapes-titre-gauche h2 {
  font-size: 2.6em;
  font-weight: bold;
  color: white;
}

.etapes-titre-gauche p {
  font-size: 1.1em;
  color: #bbbaff;
  margin-top: 10px;
}

.etape {
  display: flex;
  align-items: center;
  background-color: #1b0b64;
  color: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.etape img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}
 /* SECTION DES ÉTAPES */
.etapes-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #0b0030;
  padding: 60px 10%;
  flex-wrap: wrap;
  gap: 40px;
}

/* Colonne gauche (textes) */
.etapes-gauche {
  flex: 1;
  max-width: 600px;
}

/* Colonne droite (image) */
.etapes-droite {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.etapes-droite img {
  width: 100%;
  max-width: 400px;
}

/* TITRE À GAUCHE */
.etapes-titre-gauche {
  margin-bottom: 30px;
}

.etapes-titre-gauche h2 {
  font-size: 2.6em;
  font-weight: bold;
  color: white;
}

.etapes-titre-gauche p {
  font-size: 1.1em;
  color: #bbbaff;
  margin-top: 10px;
}

/* BLOC ÉTAPE */
.etape {
  display: flex;
  align-items: center;
  background-color: #1b0b64;
  color: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.etape img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

/* 🎯 RÉSPONSIVE : image passe en bas sur mobile */
@media (max-width: 768px) {
  .etapes-container {
    flex-direction: column;
    align-items: center;
    padding: 40px 5%;
  }

  .etapes-gauche, .etapes-droite {
    max-width: 100%;
    width: 100%;
  }

  .etapes-droite {
    margin-top: 30px;
  }

  .etapes-droite img {
    max-width: 300px;
  }

  .etapes-titre-gauche h2 {
    font-size: 2em;
    text-align: center;
  }

  .etapes-titre-gauche p {
    text-align: center;
  }

  .etape {
    flex-direction: row;
    text-align: left;
  }
}
@keyframes pop-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes bounce-click {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.4);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Animation continue par défaut */
.etape img {
  animation: pop-bounce 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

/* Classe déclenchée au clic */
.etape img.clicked {
  animation: bounce-click 0.4s ease-in-out;
}
.titre-jeux {
  text-align: center;
  margin: 60px 0 30px;
  color: white;
}

.titre-jeux h2 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 10px;
}

.titre-jeux p {
  font-size: 1.2em;
  color: #ccc;
}
.timer-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 5px 10px;
  background: rgba(21, 0, 83, 0.8);
  color: #FFD700;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  z-index: 2;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.compte-a-rebours {
  text-align: center;
  color: white;
  margin-top: 30px;
  margin-bottom: 20px;
}

.compte-a-rebours h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.time-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #ffcc33, #ff6600);
  box-shadow: 0 0 12px rgba(255, 132, 0, 0.5);
  font-size: 28px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.label {
  margin-top: 8px;
  font-size: 14px;
  color: #ffffffcc;
}

.timer span {
  font-size: 28px;
  color: white;
  margin: 0 5px;
}

@media (max-width: 600px) {
  .time-circle {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .label {
    font-size: 12px;
  }

  .timer span {
    font-size: 22px;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

th {
  background-color: #f5f5f5;
}

button {
  background-color: green;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: darkgreen;
}
.cta-btn {
  background-color: #f26c05;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #f26c05;
}

.site-header {
  background-color: #0d1b2a;
  padding: 10px 20px;
  color: #fff;
  position: relative;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo img {
  height: 50px;
}
.site-header .nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.site-header .nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.site-header .nav a:hover {
  text-decoration: underline;
}

/* --- Responsive Mobile --- */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}
#menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .site-header .nav ul {
    flex-direction: column;
    background: #0d1b2a;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    padding: 20px;
  }
  #menu-toggle:checked + .menu-icon + .nav ul {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
}

.btn-orange {
  background-color: #f36f06; /* Couleur orange comme dans l’image */
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #d85e00;
}

/* Fond animé violet/bleu style gaming */
@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.auth-body {
  margin: 0; padding: 0; height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(270deg, #5B1BFF, #3A4AD9, #2E2E72, #5B1BFF);
  background-size: 800% 800%;
  animation: gradientShift 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.auth-box {
  background: rgba(10, 10, 30, 0.85);
  padding: 40px 50px;
  border-radius: 15px;
  box-shadow:
    0 0 10px #4a5fff,
    0 0 40px #5b1bff50,
    0 0 80px #3a4ad980;
  color: #d1d9ff;
  backdrop-filter: blur(6px);
}

.auth-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 2.4rem;
  color: #a7b8ff;
  text-shadow: 0 0 10px #5b1bff;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #c1c9ffcc;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  background: #1e1e4f;
  color: #d1d9ff;
  box-shadow: inset 0 0 8px #3a4ad9;
  transition: box-shadow 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus {
  box-shadow: 0 0 12px #5b1bff;
}

.btn-primary {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e0e7ff;
  background: linear-gradient(90deg, #5b1bff, #3a4ad9);
  box-shadow: 0 0 15px #5b1bff;
  cursor: pointer;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #3a4ad9, #5b1bff);
  box-shadow: 0 0 25px #7b6bff;
}

.auth-links {
  margin-top: 25px;
  text-align: center;
}

.auth-links a {
  color: #7c89ffcc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-links a:hover {
  color: #a1b1ff;
  text-decoration: underline;
}

/* Alert messages style */
.alert {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.alert.success {
  background-color: #3a4ad950;
  color: #b8e986;
  box-shadow: 0 0 10px #a9d68a;
}

.alert.error {
  background-color: #ff575750;
  color: #ff6e6e;
  box-shadow: 0 0 10px #ff4a4a;
}

/* Responsive */
@media (max-width: 450px) {
  .auth-box {
    padding: 30px 20px;
  }
}
.flash-success {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px solid #f5c6cb;
}

     .selection-preview {
      margin: 30px auto;
      text-align: center;
    }

    .selection-cadre {
      border: 3px solid white;
      border-radius: 12px;
      padding: 10px;
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      background: rgba(255,255,255,0.05);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

    .bubble {
      width: 50px;
      height: 50px;
      background: #ff6600;
      color: white;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-size: 20px;
      position: relative;
    }

    .bubble.star {
      background: #ffc107;
      color: black;
      flex-direction: column;
      font-size: 14px;
      padding-top: 5px;
    }

    .bubble.star .star-icon {
      font-size: 18px;
      line-height: 1;
    }

    .bubble.star .star-number {
      font-size: 14px;
      margin-top: 2px;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }

    .number-choice input:checked + span {
      background: #1d6efc;
      color: white;
      border-radius: 4px;
    }

    .numbers-grid, .stars-grid {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      gap: 10px;
      max-width: 600px;
      margin: 20px auto;
    }

    @media (max-width: 600px) {
      .numbers-grid, .stars-grid {
        grid-template-columns: repeat(5, 1fr);
      }

      .bubble {
        width: 40px;
        height: 40px;
        font-size: 16px;
      }

      .selection-cadre {
        padding: 8px;
        gap: 8px;
      }
    }

    
    .table-participations {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
}

.table-participations th,
.table-participations td {
  border: 1px solid #444;
  padding: 10px;
  text-align: center;
}

.table-participations th {
  background-color: #222244;
  font-weight: bold;
}

.table-participations tr:nth-child(even) {
  background-color: #1a1a40;
}

.table-participations td:nth-child(6) {
  font-weight: bold;
  color: #f9c74f; /* jaune/orangé */
}

.badge {
  padding: 5px 10px;
  border-radius: 12px;
  font-weight: bold;
  color: white;
  display: inline-block;
}

.badge-success {
  background-color: #28a745;
}

.badge-danger {
  background-color: #dc3545;
}

.badge-secondary {
  background-color: #6c757d;
}

.btn-resultat {
  background-color: #f97316;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-resultat:hover {
  background-color: #d4660f;
}


.btn-gradient {
  background: linear-gradient(to right, #7b2ff7, #f107a3);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(241, 7, 163, 0.5);
}

.btn-transfert {
  display: block;
  width: 200px;
  height: 45px;
  margin: 0 auto;
  border: none;
  border-radius: 25px;
  background: linear-gradient(to right, #7b2ff7, #f107a3);
  color: white;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(123, 47, 247, 0.3);
}

.btn-transfert:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(241, 7, 163, 0.6);
}

.btn-transfert.en-cours {
  background: #28a745 !important; 
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}


.resultats-page {
  padding: 40px 5%;
  background-color: #f8f8f8;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #150053;
}

.resultat-tirage {
  background-color: #fff;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.resultat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.resultat-image {
  width: 120px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.jeu-nom {
  margin: 0;
  text-transform: uppercase;
  font-size: 22px;
}

table-participations {
  width: 100%;
  border-collapse: collapse;
}

.table-participations th,
.table-participations td {
  padding: 8px;
  border: 1px solid #ddd;
}




.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-success {
  background-color: #198754;
  color: white;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

.badge-secondary {
  background-color: #6c757d;
  color: white;
}



.resultat-tirage {
  background: #ffffff;
  color: #000;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.resultat-entete {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}

.resultat-image {
  width: 120px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.resultats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}



.resultats-table th,
.resultats-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}
.resultats-table thead tr {
  background-color: #150053;
  color: white;
}


.jeu-nom {
  margin: 0;
  text-transform: uppercase;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #080032; /* ✅ même fond que le tableau */
    color: #fff;
  }

.main-container {
  background-color: transparent; /* IMPORTANT : ne pas écraser le fond du body */
  min-height: 100vh;
  padding: 20px 5%;
}




.section-tirages-passes {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-tirages-passes .container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease;
}

.section-tirages-passes .container:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.container:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  padding: 20px;
}

.container:hover .overlay {
  opacity: 1;
}

.overlay .text {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  user-select: none;
}

.overlay .text small {
  font-weight: 400;
  font-size: 1rem;
  display: block;
  margin-top: 8px;
  opacity: 0.85;
}






.btn-retour-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f4f4f4;
  color: #333;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 20px;
  transition: background-color 0.3s ease;
}

.btn-retour-pro:hover {
  background-color: #e0e0e0;
  color: #000;
}






.tirages-horizontaux {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.tirages-horizontaux .carte-jeu {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}


/* 1. Scroll horizontal sans barre visible */
.tirages-horizontaux {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.tirages-horizontaux::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}




.jeux-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.carte-jeu {
  min-width: 300px;
  max-width: 300px;
  background-color: #1c1c3a;
  border-radius: 16px;
  padding: 16px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.jeux-grid::-webkit-scrollbar {
  display: none;
}




.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
}

.slider::-webkit-scrollbar {
  display: none;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}

.nav-button.left {
  left: 0;
}

.nav-button.right {
  right: 0;
}


.jouer-btn {
  display: inline-block;
  margin: 1rem auto 0; /* haut auto bas */
  text-align: center;
  padding: 0.5rem 1rem;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  /* Ajoute tes couleurs perso ici si tu veux */
}

.infos {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: url('/image/hero-bg.jpg'); /* Remplace par ton image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5); /* Transparence noire */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}



/* ========= CONTENEUR GLOBAL ========= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}

/* ========= TITRES ========= */
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* ========= SECTION : COMMENT JOUER ========= */
.comment-jouer .steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.comment-jouer .step {
  padding: 1rem;
  border: 1px solid #ff9800;
  border-radius: 8px;
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
}

/* ========= SECTION : RÉSULTATS & GAINS ========= */
.results-gains {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.results-gains > div {
  flex: 1 1 300px;
  padding: 1rem;
  border: 1px solid #ff9800;
  border-radius: 6px;
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
}

/* ========= SECTION : CTA ========= */
.cta {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
}

/* ========= SECTION : POURQUOI NOUS CHOISIR ========= */
.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.advantage {
  flex: 1 1 280px;
  padding: 1rem;
  border: 1px solid #ff9800;
  border-radius: 8px;
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
  text-align: center;
}

/* ========= SECTION : TÉMOIGNAGES ========= */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  padding: 1rem;
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
  border-radius: 6px;
  font-style: italic;
}

.testimonial strong {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  text-align: right;
}

/* ========= SECTION : FAQ ========= */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ff9800;
  padding-bottom: 1rem;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 768px) {
  .results-gains {
    flex-direction: column;
  }

  .advantages {
    flex-direction: column;
  }
}







/* === SECTION RESEAUX SOCIAUX === */
.reseaux-sociaux {
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
  padding: 10px 20px;
  text-align: center;
  border: 1px solid #ff9800;
}

.reseaux-sociaux h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 600;
}

.icones-reseaux {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.icones-reseaux a {
  transition: transform 0.2s ease;
}

.icones-reseaux a:hover {
  transform: scale(1.1);
}

.icones-reseaux img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(10%) brightness(1.1);
  transition: filter 0.2s ease;
}

.icones-reseaux a:hover img {
  filter: grayscale(0%) brightness(1.2);
}

/* === RESPONSIVE === */
@media screen and (max-width: 600px) {
  .live-counter p {
    font-size: 1.1rem;
  }

  .live-counter strong {
    font-size: 1.6rem;
  }

  .reseaux-sociaux h2 {
    font-size: 1.5rem;
  }

  .icones-reseaux img {
    width: 50px;
    height: 50px;
  }
}

/* === COMPTEUR EN TEMPS RÉEL AVEC FOND GRADIENT === */
.live-counter-cercle {
  padding: 80px 20px;
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
  text-align: center;
  border: 1px solid #ff9800;
}

.counter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.counter-block {
  position: relative;
  width: 120px;
  height: 160px;
  text-align: center;
}

.circle {
  transform: rotate(-90deg);
}

.counter-value {
  font-size: 28px;
  font-weight: bold;
  color: #f9dc5c;
  margin-top: 10px;
}

.counter-label {
  font-size: 16px;
  margin-top: 5px;
  color: #fff;
}


@keyframes pulse {
  0% {
    stroke-width: 10;
    opacity: 0.8;
  }
  50% {
    stroke-width: 14;
    opacity: 1;
  }
  100% {
    stroke-width: 10;
    opacity: 0.8;
  }
}

.counter-block svg circle:nth-child(2) {
  animation: pulse 1.5s ease-in-out infinite;
}



.footer-site {
  background: none;
  padding: 30px 15px;
  color: white;
  font-family: 'Arial', sans-serif;
}

.footer-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logos-block img {
  height: 30px;
  margin: 5px;
}

/* Accordéon pour mobile */
.footer-accordeon {
  display: none;
}

.acc-btn {
  background: none;
  border: none;
  font-weight: bold;
  color: white;
  padding: 12px;
  width: 100%;  
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.acc-content {
  display: none;
  padding: 0 15px 10px;
  list-style: none;
}

.acc-content li {
  margin: 6px 0;
}

.acc-content a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* Affichage spécifique mobile */
@media (max-width: 768px) {
  .footer-columns {
    display: none;
  }

  .footer-accordeon {
    display: block;
  }
}


.footer-site {
  background: none;
  padding: 30px 20px;
  color: white;
  font-family: 'Arial', sans-serif;
}

.footer-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-logos-block img {
  height: 60px;
  margin: 3px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 5px 0;
}

.footer-col ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* Accordéon pour mobile */
.footer-accordeon {
  display: none;
}

.acc-btn {
  background: none;
  border: none;
  font-weight: bold;
  color: white;
  padding: 12px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid #ff99005a;
}

.acc-content {
  display: none;
  padding: 0 15px 10px;
  list-style: none;
}

.acc-content li {
  margin: 6px 0;
}

.acc-content a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* Responsive Mobile : 4 colonnes cachées, accordéon affiché */
@media (max-width: 768px) {
  .footer-columns {
    display: none;
  }

  .footer-accordeon {
    display: block;
    text-align: left;
  }
}



.footer-columns, .footer-accordion {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Version bureau (>= 768px) */
@media (min-width: 768px) {
  .footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-col {
    flex: 1;
    padding: 0 10px;
    text-align: left;
  }

  .footer-col h4,
  .footer-col ul,
  .footer-col li,
  .footer-col a {
    text-align: left;
    color: white;
  }
}

/* Version mobile (accordéon) */
@media (max-width: 767px) {
  .footer-accordion .accordion-item h4,
  .footer-accordion .accordion-item button,
  .footer-accordion .accordion-item .content,
  .footer-accordion .accordion-item .content li,
  .footer-accordion .accordion-item .content a {
    text-align: left;
    color: white;
    padding-left: 15px;
  }

  .footer-accordion .accordion-item .content li {
    list-style: none;
    padding: 6px 0;
  }
}







.jeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 5%;
}

.carte-jeu {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.carte-jeu:hover {
  transform: translateY(-5px);
}

.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timer-overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 0.4rem;
  backdrop-filter: blur(4px);
  z-index: 1;
}

.overlay-titre {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.6rem 0;
  backdrop-filter: blur(4px);
}

.infos {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.jouer-btn {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
}




.section-avis {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.avis-item {
  border: 1px solid #ff9800;
  padding: 1rem;
  border-radius: 8px;
}

.avis-item .etoiles {
  margin: 0.5rem 0;
}

.titre-section {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.lien-voir-tous {
  text-align: center;
  margin-top: 1rem;
}









.garanties-section {
  padding: 4rem 2rem;
  text-align: center;
}

.garanties-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.garanties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.garantie-item {
  max-width: 300px;
  text-align: center;
}

.garantie-item img {
  margin-bottom: 1rem;
}

.garantie-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}





.pourquoi-nous {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
}

.pourquoi-contenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.image-pourquoi img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
}

.texte-pourquoi {
  flex: 1 1 300px;
}

.texte-pourquoi h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.texte-pourquoi ul {
  list-style: none;
  padding: 0;
}

.texte-pourquoi li {
  padding: 0.5rem 0;
  font-size: 1rem;
}



.faq-section {
  padding: 4rem 2rem;
}

.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
}





@media screen and (max-width: 768px) {
  .pourquoi-contenu {
    flex-direction: column;
    align-items: center;
  }

  .image-pourquoi,
  .texte-pourquoi {
    flex: 1 1 100%;
    text-align: center;
  }

  .texte-pourquoi ul {
    padding-left: 0;
  }
}









.section-decouverte-jeux {
  padding: 4rem 2rem;
  
}

.container-decouverte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.texte-jeux {
  flex: 1 1 400px;
}

.texte-jeux h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.texte-jeux p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.visuel-jeux {
  flex: 1 1 400px;
  text-align: center;
}

.visuel-jeux img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Responsive mobile */
@media screen and (max-width: 768px) {
  .container-decouverte {
    flex-direction: column;
    text-align: center;
  }
}


.section-decouverte-jeux {
  padding: 4rem 2rem;
  
}

.container-decouverte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.container-decouverte.visible {
  opacity: 1;
  transform: translateY(0);
}

.texte-jeux {
  flex: 1 1 400px;
}

.texte-jeux h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.texte-jeux p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.visuel-jeux {
  flex: 1 1 400px;
  text-align: center;
}

.visuel-jeux img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .container-decouverte {
    flex-direction: column;
    text-align: center;
  }

  .texte-jeux,
  .visuel-jeux {
    flex: 1 1 100%;
  }
}








.section-comment-jouer {
  padding: 2rem 2rem;
  
  border-top: 1px solid#ff9800;
  border-bottom: 1px solid #ff9800;
}

.container-comment {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.container-comment.visible {
  opacity: 1;
  transform: translateY(0);
}

.bloc-texte-comment {
  flex: 1 1 500px;
}

.bloc-texte-comment h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bloc-texte-comment p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.bloc-visuel-comment {
  flex: 1 1 400px;
  text-align: center;
}

.bloc-visuel-comment img {
  max-width: 100%;
  border-radius: 1rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .container-comment {
    flex-direction: column;      /* Stack en colonne */
    gap: 1rem;                   /* Réduit l’espacement */
    
    text-align: center;
  }

  .bloc-texte-comment,
  .bloc-visuel-comment {
    flex: unset;
    width: 100%;
  }
  
}








.tirages-a-venir-section {
  background: linear-gradient(to right, #1e1e3f, #2d2d5f);
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
}

.tirages-container {
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.image-part img {
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 16px #ffd700;
}

.texte-part {
  flex: 1;
  min-width: 280px;
}

.texte-part h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #f6f6f4;
}

.texte-part p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #f6f6f4;
}

.cta-button {
  background-color: #ff6a00;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #e85c00;
}















.stats-pro-section {
  text-align: center;
  padding: 60px 20px;
}

.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
}

.stats-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.circle-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 220px;
}

.circle-container {
  position: relative;
  width: 160px;
  height: 160px;
}

.rotating-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid currentColor;
  border-top-color: transparent;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 10px white;
}

.stat-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: currentColor;
}

.circle-stat p {
  margin-top: 15px;
  font-size: 1rem;
  color: white;
}

/* Couleurs personnalisées */
.color-blue {
  color: #007BFF;
}
.color-green {
  color: #28A745;
}
.color-purple {
  color: #6F42C1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .circle-container {
    width: 120px;
    height: 120px;
  }

  .counter {
    font-size: 2rem;
  }
}


.circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 20px;
}

.rotating-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #3498db;
  border-top-color: transparent;
  animation: spin 2s linear infinite;
  box-sizing: border-box;
}

.stat-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.stat-content h3 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
}

.stat-content p {
  margin: 0;
  font-size: 1rem;
  color: white;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 20px;
}

.rotating-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid;
  border-top-color: transparent;
  animation: spin 2s linear infinite, colorCycle 6s linear infinite;
  box-sizing: border-box;
}

.stat-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.stat-content h3 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: bold;
  color: white;
}

.stat-content p {
  margin: 0;
  font-size: 1rem;
  color: white;
}

/* Rotation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Cycle de couleurs */
@keyframes colorCycle {
  0% { border-color: #3498db; border-top-color: transparent; }
  25% { border-color: #2ecc71; border-top-color: transparent; }
  50% { border-color: #9b59b6; border-top-color: transparent; }
  75% { border-color: #e67e22; border-top-color: transparent; }
  100% { border-color: #3498db; border-top-color: transparent; }
}

/* Animation cercle */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}













  



/* === Section Avis Clients (professionnelle, alignée à gauche) === */


.section-avis .titre-section {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.avis-item {
  background-color: #fdfdfd;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 25px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: left; /* ✅ Alignement à gauche */
}

.avis-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.avis-item strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  display: block;
  margin-bottom: 10px;
  text-align: left; /* ✅ Assure que le nom reste à gauche */
}

.avis-item .etoiles {
  color: #ffb400;
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-align: left; /* ✅ Étoiles à gauche */
}

.avis-item p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-align: left; /* ✅ Texte du message à gauche */
}

.lien-voir-tous {
  text-align: center;
  margin-top: 40px;
}

.lien-voir-tous a {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  color: #080032;
  text-decoration: none;
  border: 1px solid #080032;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.lien-voir-tous a:hover {
  background-color: #080032;
  color: #fff;
}













/* SECTION COMMENT JOUER - STYLE PRO ET ESPACEMENT RÉDUIT */
.section-comment-jouer {
  width: 100%;
  background: transparent;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.container-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 6%; /* réduit de 60px à 40px */
  gap: 20px; /* réduit l’écart entre texte et image */
  min-height: 90vh;
  box-sizing: border-box;
}

/* Bloc texte */
.bloc-texte-comment {
  flex: 1;
  color: #fff;
  max-width: 480px;
}

.bloc-texte-comment h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffb400;
}

.bloc-texte-comment p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #eaeaea;
}

.btn-orange {
  display: inline-block;
  padding: 12px 26px;
  background: linear-gradient(45deg, #ffb400, #ff7b00);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-orange:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ffcf33, #ff9d33);
}

/* Bloc visuel */
.bloc-visuel-comment {
  flex: 1;
  display: flex;
  justify-content: center;
}

.bloc-visuel-comment img {
  width: 100%;
  max-width: 420px; /* réduit la taille de l’image pour plus d’équilibre */
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.bloc-visuel-comment img:hover {
  transform: scale(1.03);
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
  .container-comment {
    flex-direction: column;
    text-align: center;
    padding: 40px 5%;
    min-height: auto;
    gap: 10px; /* très peu d’espace entre texte et image */
  }

  .bloc-texte-comment {
    order: 2;
  }

  .bloc-visuel-comment {
    order: 1;
    margin-bottom: 10px;
  }

  .bloc-visuel-comment img {
    max-width: 300px;
  }

  .bloc-texte-comment h2 {
    font-size: 2rem;
  }

  .bloc-texte-comment p {
    font-size: 1rem;
  }
}














