/* ==== RESET GNRAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #0a0620;
  color: #e6e3ff;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ==== BANNIRE ==== */
.nocturne-banner {
  position: relative;
  height: 70vh;
  background: url("../images/banner_nocturne.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(40,20,80,0.5), rgba(5,0,25,0.85));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #f7f4ff;
  text-shadow: 0 0 15px #b197ff;
  animation: fadeIn 2.5s ease;
}

.banner-content h1 {
  font-size: 3.2rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #d9c9ff, #9fc8ff, #b08fff);
  background-clip: text;              /* standard */
-webkit-background-clip: text;      /* Chrome / Edge / mobile */

color: transparent;
-webkit-text-fill-color: transparent;

animation: glowText 5s ease-in-out infinite alternate;

}

.banner-content p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #d6cfff;
}
.eng {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #b8a5ff;
}

/* ==== SECTIONS ==== */
section {
  padding: 60px 15%;
  line-height: 1.7;
}

h2 {
  color: #d9c9ff;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  text-shadow: 0 0 10px #835cff;
}

/* ==== INTRO ==== */
.intro-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #cfcaff;
  animation: fadeIn 3s ease;
}

/* ==== JEUX ==== */
.games-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: rgba(40,30,80,0.5);
  border: 1px solid rgba(160,120,255,0.25);
  border-radius: 16px;
  overflow: hidden;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(130,90,255,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(180,120,255,0.4);
}

.game-card img {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.game-info {
  padding: 20px;
  background: rgba(20,10,50,0.6);
}
.game-info h3 {
  color: #c9b7ff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.game-info p {
  color: #dbd6ff;
  font-size: 1rem;
}

/* ==== AIDE AU DVELOPPEUR ==== */
.support-section {
  text-align: center;
  background: linear-gradient(to bottom right, rgba(20,10,50,0.5), rgba(40,20,90,0.6));
  border-top: 1px solid rgba(160,120,255,0.2);
  border-bottom: 1px solid rgba(160,120,255,0.2);
  border-radius: 20px;
  margin: 40px auto;
  padding: 50px 10%;
  box-shadow: 0 0 15px rgba(130,90,255,0.2);
}

.support-section p {
  margin-bottom: 20px;
  color: #d7d1ff;
}

.support-toggle {
  background: linear-gradient(90deg, #6b45d9, #a872ff);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 0 12px rgba(150,100,255,0.4);
}
.support-toggle:hover {
  transform: scale(1.05);
}

.support-options {
  margin-top: 25px;
  color: #d8d3ff;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.6s ease;
}
.support-options.visible {
  opacity: 1;
  transform: translateY(0);
}
.support-options ul {
  list-style: none;
  margin: 15px 0;
}
.support-options li {
  margin: 8px 0;
}

.donate-btn {
  background: linear-gradient(90deg, #a872ff, #6b45d9);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(160,120,255,0.4);
  transition: background 0.3s ease;
}
.donate-btn:hover {
  background: linear-gradient(90deg, #b785ff, #7d55f0);
}

/* ==== LESPRIT CJAJLK ==== */
.spirit-section {
  text-align: center;
  background: radial-gradient(circle at center, rgba(25,15,70,0.6), rgba(10,0,40,0.8));
  border-top: 1px solid rgba(160,120,255,0.25);
  border-radius: 15px;
  padding: 70px 10%;
  box-shadow: 0 0 20px rgba(150,100,255,0.2);
  line-height: 1.8;
  color: #ddd7ff;
}

/* ==== CITATION FINALE ==== */
.signature-quote {
  text-align: center;
  margin-top: 60px;
  font-family: 'Georgia', serif;
  color: #d9c9ff;
  opacity: 0;
  animation: fadeIn 3s ease 1s forwards;
}
.signature-quote span {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #a897ff;
  letter-spacing: 0.5px;
}

/* ==== PIED DE PAGE ==== */
footer {
  text-align: center;
  padding: 25px;
  color: #cfcaff;
  font-size: 0.9rem;
  border-top: 1px solid rgba(160,120,255,0.25);
  background: rgba(10,0,30,0.6);
}

/* ==== ANIMATIONS ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowText {
  from { text-shadow: 0 0 8px #9a7eff; }
  to { text-shadow: 0 0 20px #d1b8ff; }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 800px) {
  section {
    padding: 50px 8%;
  }

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .game-card {
    width: 100%;
  }

  .support-section {
    padding: 40px 8%;
  }
}
.game-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* === Liens de cartes cliquables === */
.game-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card-link:hover .game-card {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(180,130,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* === Section descriptive avec images === */
.info-section {
  text-align: center;
  margin: 80px auto;
  color: #e0d5ff;
  max-width: 900px;
  padding: 0 20px;
}

.info-section h2 {
  font-size: 2rem;
  color: #d9baff;
  text-shadow: 0 0 15px rgba(180, 130, 255, 0.5);
  margin-bottom: 20px;
}

.info-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Galerie dimages de saisons */
.nocturne-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.nocturne-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(180, 130, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nocturne-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(200, 160, 255, 0.6);
}

/* === Pied de page des pages jeux === */
.jeu-footer {
  text-align: center;
  padding: 40px 10px;
  background: rgba(20, 15, 35, 0.6);
  border-top: 1px solid rgba(200, 150, 255, 0.2);
  color: #d9c4ff;
  margin-top: 80px;
}

.btn-retour {
  display: inline-block;
  color: #cfaeff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid rgba(200, 160, 255, 0.3);
  border-radius: 8px;
  padding: 8px 18px;
  background: rgba(70, 50, 120, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(180,130,255,0.3);
}

.btn-retour:hover {
  background: rgba(140,100,255,0.3);
  box-shadow: 0 0 20px rgba(190,150,255,0.6);
  color: #fff;
}

.footer-credit {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.6;
}
/* ===== GALERIE DES SAISONS ===== */
.section-saisons {
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(circle at top, #1a092b, #0b0215);
  color: #e0caff;
  box-shadow: inset 0 0 40px rgba(160, 100, 255, 0.2);
}

.saisons-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.saison-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 15px;
  width: 150px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(120, 60, 255, 0.1);
}

.saison-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 25px rgba(160, 100, 255, 0.4);
  border-color: rgba(200, 150, 255, 0.3);
}

.saison-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.saison-card p {
  color: #d6baff;
  font-weight: 500;
  font-size: 1rem;
}
/* ===== ANIMATION D'APPARITION ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Applique le fondu progressif à toute la section */
.section-saisons, 
.section-calme,
.saison-card {
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
}

/* Délai progressif pour les cartes des saisons */
.saison-card:nth-child(1) { animation-delay: 0.3s; }
.saison-card:nth-child(2) { animation-delay: 0.5s; }
.saison-card:nth-child(3) { animation-delay: 0.7s; }
.saison-card:nth-child(4) { animation-delay: 0.9s; }

/* Petit effet de halo doux au chargement */
.section-saisons h2, .section-calme h2 {
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.2s;
}

.section-calme {
  padding: 80px 20px;
  text-align: center;
  color: #eae3ff;
  background: linear-gradient(to bottom, #0b0215, #12052a, #1a0e3a);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 60px rgba(120, 70, 200, 0.25);
  animation: fadeInUp 1.8s ease-out forwards;
}

.section-calme h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #d4b4ff;
  text-shadow: 0 0 8px rgba(190,140,255,0.4);
}

.section-calme p {
  max-width: 720px;
  margin: 0 auto 25px auto;
  line-height: 1.8;
  font-size: 1.15rem;
  color: #d8c9ff;
}

.section-calme strong {
  color: #f0e6ff;
  text-shadow: 0 0 5px rgba(180,100,255,0.3);
}

.section-calme .signature {
  margin-top: 40px;
  font-style: italic;
  font-size: 1rem;
  color: #cbb8ff;
  text-shadow: 0 0 6px rgba(180,100,255,0.3);
}
/* === OPTIMISATION MOBILE SUPPLMENTAIRE === */
@media (max-width: 768px) {
  html, body {
    font-size: 14px;
  }

  .banner-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  section {
    padding: 40px 5%;
  }

  .game-card {
    width: 100%;
    flex-direction: column;
  }

  .game-info {
    padding: 15px;
  }

  .game-info h3 {
    font-size: 1.3rem;
  }

  .game-info p {
    font-size: 0.9rem;
  }

  .support-section {
    margin: 30px 5%;
    padding: 40px 8%;
  }

  .support-toggle, .donate-btn, .btn-retour {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  .saison-card {
    width: 45%;
    padding: 10px;
  }

  .saison-card img {
    width: 100%;
    height: auto;
  }

  .section-calme p {
    font-size: 1rem;
    line-height: 1.6;
  }

  footer {
    padding: 20px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 0.85rem;
  }

  .saison-card {
    width: 80%;
  }

  .support-section h2,
  .section-calme h2 {
    font-size: 1.6rem;
  }
}
.evenement-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}
.jeu-evenement {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}
@media (max-width: 768px) {

  .jeu-evenement h2 {
    font-size: 1.4rem;
  }

  .pack-title {
    font-size: 1.3rem;
  }

  .jeu-evenement p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .evenement-image {
    max-width: 100%;
    border-radius: 12px;
  }
}
.jeu-visuel {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.jeu-visuel img {
  width: 100%;
  max-width: 420px;   /* largeur mobile réaliste */
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(120, 90, 255, 0.25);
}
@media (max-width: 600px) {
  .jeu-visuel {
    margin: 2rem 0;
  }

  .jeu-visuel img {
    max-width: 100%;
    border-radius: 12px;
  }
}

.section-game {
  margin: 60px auto;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.section-game h2 {
  color: #b58cff;
  margin-bottom: 10px;
}

.game-intro {
  color: #ddd;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.game-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.feature {
  background: rgba(181, 140, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  color: #eee;
  font-size: 1em;
}

.how-to-play {
  margin-top: 80px;
  text-align: center;
}

.how-to-play h2 {
  color: #c8b6ff;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #cfcfe8;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.step-number {
  font-size: 1.6em;
}

.step-card h3 {
  color: #ffffff;
  margin: 10px 0;
}

.step-card p {
  color: #d6d6f0;
  font-size: 0.95em;
  line-height: 1.5;
}

/* =========================
   🧪 SECTION BÊTA ANDROID
   ========================= */

#beta {
  margin-top: 120px;
  padding-bottom: 120px;
}

/* Sous-titres */
.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  color: #cfc7ff;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Grille cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.card {
  background: rgba(20, 16, 45, 0.65);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.card-title {
  color: #e8e4ff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card-text {
  color: #bdb7ff;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* =========================
   📊 Compteur
   ========================= */

.beta-counter-wrap {
  max-width: 520px;
  margin: 0 auto 64px;
}

.beta-counter {
  background: rgba(28, 22, 60, 0.7);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.beta-counter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.beta-counter-label {
  color: #cfc7ff;
  font-size: 0.9rem;
}

.beta-counter-value {
  color: #ffffff;
  font-weight: 600;
}

.beta-progress {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.beta-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c6cff, #c084fc);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.beta-counter-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9c94ff;
  text-align: center;
}

/* =========================
   📩 Formulaire
   ========================= */

.beta-form-wrap {
  margin-bottom: 64px;
}

.beta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.beta-form input[type="email"] {
  width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
}

.beta-form input::placeholder {
  color: #bdb7ff;
}

.beta-form button {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8b7cff, #c084fc);
  color: #0c0a1f;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beta-form button {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(140,124,255,0.4);
}

/* Feedback message */
.beta-feedback {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: #a5ffcf;
}

/* =========================
   💜 Bio créateur
   ========================= */

.beta-bio {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   ♿ Accessibilité
   ========================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =========================
   📱 Mobile
   ========================= */

@media (max-width: 600px) {
  .beta-form {
    flex-direction: column;
  }

  .beta-form input,
  .beta-form button {
    width: 100%;
    max-width: 320px;
  }
}
.beta-feedback {
  margin-top: 14px;
  color: #cbb7ff;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.4;
}
.evenement-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}
.jeu-evenement {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}
@media (max-width: 768px) {

  .jeu-evenement h2 {
    font-size: 1.4rem;
  }

  .pack-title {
    font-size: 1.3rem;
  }

  .jeu-evenement p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .evenement-image {
    max-width: 100%;
    border-radius: 12px;
  }
}
.jeu-visuel {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.jeu-visuel img {
  width: 100%;
  max-width: 420px;   /* largeur mobile réaliste */
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(120, 90, 255, 0.25);
}
@media (max-width: 600px) {
  .jeu-visuel {
    margin: 2rem 0;
  }

  .jeu-visuel img {
    max-width: 100%;
    border-radius: 12px;
  }
}

.beta-mail-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b7cff, #c084fc);
  color: #0c0a1f;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beta-mail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(140,124,255,0.4);
}

.beta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #bdb7ff;
  text-align: center;
}


