/* Style global */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
}

/* Barre de navigation */
.header {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #fff;
  padding: 15px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #ffe6cc;
}

/* Responsive menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav ul {
    display: none;
    flex-direction: column;
    background: #d35400;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    border-radius: 8px;
  }
  .nav ul.show {
    display: flex;
  }
}

/* Section principale */
section {
  padding: 30px;
  background: #fff;
  margin: 20px auto;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section h1 {
  text-align: center;
  color: #e67e22;
  margin-bottom: 10px;
}

section p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Carte de chaque jeu */
.jeu {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 5px solid #e67e22;
  background: #fafafa;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jeu:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.jeu h3 {
  margin: 0 0 10px;
  color: #2c3e50;
  font-size: 1.5em;
}

.jeu img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.jeu p {
  margin: 5px 0;
}
/* SECTION PROMO */
.promo {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 25px;
    text-align: center;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(2,6,23,0.95));
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* EFFET LUMIï¿½RE */
.promo::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 60%);
    top: -50%;
    left: -50%;
    animation: glowMove 10s linear infinite;
}

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

/* CONTENU AU DESSUS */
.promo * {
    position: relative;
    z-index: 2;
}

/* TITRE PRINCIPAL */
.promo h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

/* TITRE CODE */
.promo h2 {
    font-size: 22px;
    color: #facc15;
    margin-bottom: 10px;
}

/* CODE */
.promo .code {
    font-size: 48px;
    font-weight: bold;
    color: #22c55e;
    margin: 20px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(34,197,94,0.8);
    animation: pulse 2s infinite;
}

/* ANIMATION CODE */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* TEXTE */
.promo p {
    font-size: 16px;
    color: #e2e8f0;
    margin-top:21px;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align:justify;
    hyphens:auto;
}




/* BOUTON */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Section globale */
.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: rgba(30,41,59,0.8);
    color: #facc15;
    border: 2px solid #facc15;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* HOVER */
.btn-secondary:hover {
    background: #facc15;
    color: #020617;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250,204,21,0.6);
}

/* Pied de page */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9em;
}
