/* Ajouter les styles pour la bannière d'en-tête */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 21, 37, 0.9);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-header.scrolled {
  background-color: rgba(15, 21, 37, 0.95);
  height: 60px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.nav-section {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: #e1e1e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ff5722;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff5722;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 120px;
  transition: all 0.3s ease;
  margin-top: 50px;
  width: 320px;
}

.scrolled .header-logo {
  height: 35px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  margin-left: 25px;
}

.btn-login,
.btn-register {
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login {
  background-color: transparent;
  border: 1px solid #e1e1e1;
  color: #e1e1e1;
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-register {
  background-color: #ff5722;
  border: 1px solid #ff5722;
  color: white;
}

.btn-register:hover {
  background-color: #e64a19;
  border-color: #e64a19;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
  background-color: #000; /* Fond noir pour tout le document */
}

body {
  font-family: "Montserrat", sans-serif;
  color: #e1e1e1;
  line-height: 1.6;
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Wrapper principal - s'assurer qu'il ne dépasse pas */
.main-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100vw; /* Utiliser 100vw pour couvrir toute la largeur de la fenêtre */
  max-width: 100vw;
  overflow-x: hidden !important;
  background-color: #000; /* Ajouter un fond noir au wrapper principal */
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Styles pour la nouvelle section Hero inspirée de ParchoMancia */
.hero-parchomania {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100vw; /* Utiliser 100vw */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
  padding-top: 70px;
}

/* Correction du fond pour qu'il s'affiche complètement */
.hero-bg-parchomania {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/hero-parchomania.jpg");
  background-size: cover;
  background-position: center center; /* Centrer l'image au lieu de l'aligner à gauche */
  background-repeat: no-repeat;
  z-index: 1;
  object-fit: cover;
}

/* Supprimer le flou en haut de la page */
.hero-bg-parchomania::before {
  display: none;
}

/* Modifier la transition fluide avec flou en bas de la section hero */
.hero-parchomania::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.hero-content-parchomania {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 60px; /* Réduit de 80px à 60px */
}

.logo-banner {
  position: relative;
  background-image: url("images/banner-bg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 600px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.main-logo-banner {
  max-width: 350px;
  margin-bottom: 5px;
}

.banner-subtitle {
  font-size: 1.4rem;
  color: #5a3921;
  font-weight: 500;
}

/* Modifier la position du hero-text-container pour le mettre en bas de la première section */
.hero-text-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 30px;
  border-radius: 5px;
  margin-bottom: 20px;
  max-width: 600px;
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-title-parchomania {
  font-size: 2.5rem; /* Réduit de 2.8rem à 2.5rem */
  font-weight: 700;
  margin-bottom: 10px; /* Réduit de 15px à 10px */
  color: #e1e1e1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-date {
  font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
  color: #e1e1e1;
  margin-bottom: 20px; /* Réduit de 25px à 20px */
}

.btn-preinscription {
  display: inline-block;
  background-color: #ff5722;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-preinscription:hover {
  background-color: #e64a19;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Ajuster la position de l'indicateur de défilement */
.scroll-indicator {
  position: absolute;
  bottom: 60px; /* Réduit de 80px à 60px */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.scroll-indicator span {
  font-size: 0.8rem;
  color: #e1e1e1;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid #e1e1e1;
  border-radius: 15px;
  position: relative;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #e1e1e1;
  border-radius: 50%;
  animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* Améliorer la transition entre les sections */
.hero-to-content-transition {
  position: relative;
  height: 40px;
  width: 100vw;
  background: url("images/hero-parchomania.jpg") bottom left; /* Aligner l'image à gauche */
  background-size: cover;
  z-index: 5;
  margin-top: -40px;
  overflow: hidden;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}

.hero-to-content-transition::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
  z-index: 2;
}

/* Modifier le style de toutes les sections pour qu'elles ressemblent à la section boutique */
.section-block,
.content-section {
  position: relative;
  min-height: 500px;
  height: auto;
  text-align: center;
  overflow: hidden;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  margin: 0;
  width: 100vw; /* Utiliser 100vw */
  box-sizing: border-box;
  background-color: #000;
  max-width: none; /* Supprimer la limite de largeur maximale */
  left: 0;
  right: 0;
}

/* Modifier le style du fond de donjon pour toutes les sections */
.dungeon-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-Dr4j1QOyYnuyrVKxWvAmZtVtFrLrp5.png");
  background-size: cover;
  background-position: center left; /* Aligner l'image à gauche */
  background-repeat: repeat-x; /* Répéter l'image horizontalement */
  z-index: 1;
  opacity: 0.5;
  margin: 0;
  padding: 0;
  border-top: none;
}

/* Ajout d'un dégradé en bas de chaque section pour adoucir la transition */
.section-block::after,
.content-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
  z-index: 2;
}

/* Supprimer la div de transition noire */
.hero-to-news-transition {
  display: none;
}

/* Amélioration de la transition entre la section hero et la section d'actualités */
.content-section {
  margin-top: -1px;
  padding-top: 60px;
  position: relative;
  background-color: #000;
  border-top: none;
}

/* Supprimer le flou en haut de la section d'actualités */
.content-section::before {
  display: none;
}

.section-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Contenu du site */
.content-section {
  height: auto;
  min-height: 800px;
  text-align: center;
  position: relative;
  z-index: 5;
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 60px 0 40px 0;
}

/* Ajustement pour que les sections se touchent parfaitement */
.section-block + .section-separator,
.content-section + .section-separator {
  margin-top: 0;
}

.section-separator + .section-block,
.section-separator + .content-section {
  margin-top: 0;
}

.content-section .container {
  position: relative;
  z-index: 2;
}

/* Ajuster le style des titres de section pour qu'ils soient plus visibles sur le fond sombre */
h1,
.section-title {
  font-size: 2.5rem;
  color: #f5f0e1; /* Couleur claire pour contraster avec le fond sombre */
  margin-bottom: 30px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 100%;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

/* CORRECTION CRITIQUE: Séparateur de section */
.section-separator {
  position: relative;
  height: 10px;
  background: linear-gradient(to bottom, #5e3c1e, #3d2a16, #1a1209);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  width: 100vw; /* Utiliser 100vw */
  overflow: hidden;
  max-width: none; /* Supprimer la limite de largeur maximale */
  left: 0;
  right: 0;
}

/* Correction de l'élément décoratif du séparateur */
.section-separator::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 10px;
  background-image: url("images/section-divider.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 11;
  left: 50%;
  transform: translateX(-50%);
}

/* Supprimer ces classes qui ne sont plus nécessaires */
.separator-wave,
.separator-content,
.separator-icon,
.separator-decoration {
  display: none;
}

/* Ajout des styles pour la section actualités en style parchemin */
.news-parchment-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.news-parchment {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background-color: #f5f0e1;
  border: 5px solid #c9b18c;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-parchment-header {
  background-color: #a34c4c;
  padding: 15px;
  border-bottom: 2px solid #c9b18c;
  position: relative;
}

.news-parchment-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0;
  text-align: center;
  font-weight: 700;
}

.news-parchment-content {
  padding: 20px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-parchment-text {
  font-size: 0.95rem;
  color: #5a3921;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-parchment-link {
  display: inline-block;
  color: #a34c4c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #a34c4c;
  border-radius: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.news-parchment-link:hover {
  background-color: #a34c4c;
  color: #f5f0e1;
}

.news-full {
  display: none;
}

/* Supprimer la reliure sur le côté gauche */
.news-parchment-binding {
  display: none;
}

.news-parchment-content-wrapper {
  margin-left: 0;
  width: 100%;
}

/* Style de parchemin pour toutes les sections */
.parchment-card {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 20px;
  background-color: #f5f0e1;
  border: 8px solid #c9b18c;
  border-radius: 5px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  padding: 30px;
  height: auto;
  min-height: 440px;
  z-index: 10;
}

/* Ajout d'une ombre portée en bas du parchemin pour adoucir la transition */
.parchment-card::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.3), transparent 70%);
  z-index: -1;
}

/* Ajout de styles spécifiques pour les sections "À l'ancienne" et "Rejoignez l'aventure" */
.retro-section .parchment-card,
.promo-section .parchment-card {
  height: 440px; /* Hauteur spécifique pour ces deux sections */
}

/* Effet de bord déchiré du parchemin */
.parchment-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(201, 177, 140, 0.5);
  pointer-events: none;
}

/* Colonne gauche pour l'image */
.parchment-image {
  flex: 0.8;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 2px solid rgba(201, 177, 140, 0.5);
  margin-right: 20px;
}

.parchment-image img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

/* Colonne droite pour le texte */
.parchment-content {
  flex: 1.2;
  padding: 30px 40px;
  text-align: left;
  position: relative;
  border-left: none;
  overflow: hidden;
}

/* Reliure du parchemin */
.parchment-binding {
  display: none;
}

.binding-rivet {
  width: 10px;
  height: 10px;
  background-color: #b0a080;
  border-radius: 50%;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Titre du parchemin */
.parchment-title {
  font-size: 1.8rem;
  color: #a34c4c;
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.parchment-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a34c4c, transparent);
}

/* Sous-titre du parchemin */
.parchment-subtitle {
  font-size: 1.1rem;
  color: #5a3921;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Texte du parchemin */
.parchment-text {
  font-size: 1rem;
  color: #5a3921;
  line-height: 1.6;
  margin-bottom: 20px;
}

.parchment-text p {
  margin-bottom: 15px;
}

.parchment-text strong {
  color: #a34c4c;
  font-weight: 600;
}

/* Boutons du parchemin */
.parchment-buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.btn-parchment {
  background-color: #a34c4c;
  color: #f5f0e1;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-parchment:hover {
  background-color: #8a3c3c;
  box-shadow: 0 0 10px rgba(163, 76, 76, 0.5);
}

/* Styles spécifiques pour la section boutique */
.shop-parchment {
  flex-direction: column;
  max-width: 1100px;
  height: auto;
  padding: 30px 40px 50px;
  background-color: #f5f0e1;
}

/* Uniformiser le style des parchemins pour toutes les sections */
.shop-parchment,
.parchment-card {
  background-color: #f5f0e1;
  border: 8px solid #c9b18c;
}

.shop-parchment .parchment-content {
  border-left: none;
  border-top: none;
  padding: 0;
}

.shop-parchment .parchment-title {
  text-align: center;
  margin: 0 auto 30px;
  display: block;
  font-size: 2.2rem;
  position: relative;
  color: #a34c4c;
  text-transform: uppercase;
  font-weight: 700;
}

.shop-parchment .parchment-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #a34c4c;
}

/* Nouveau style pour la section boutique */
.shop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.shop-title-underline {
  width: 80px;
  height: 3px;
  background-color: #a34c4c;
  margin: 10px auto 30px;
}

.shop-pack-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.shop-pack {
  width: 300px;
  background-color: #f5f0e1;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pack-header {
  background-color: #a34c4c;
  color: white;
  padding: 15px;
  text-align: center;
  position: relative;
}

.pack-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pack-header .populaire {
  font-size: 0.8rem;
  display: block;
  margin-top: 5px;
}

.pack-image {
  height: 150px;
  background-color: white;
}

.pack-content {
  padding: 20px;
  background-color: #f5f0e1;
}

.pack-price {
  font-size: 2.5rem;
  color: #5a3921;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.pack-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px;
}

.pack-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  color: #5a3921;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pack-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5a3921;
}

.btn-acheter {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #a34c4c;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-acheter:hover {
  background-color: #8a3c3c;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.shop-description {
  max-width: 800px;
  text-align: center;
  color: #5a3921;
  font-size: 1rem;
  line-height: 1.6;
}

/* Styles pour la section événements */
.events-section .parchment-card {
  height: auto;
  min-height: 440px;
}

.events-section .parchment-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.events-section .parchment-image img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.events-section .parchment-image img:hover {
  transform: scale(1.03);
}

/* Styles pour la section uplauncher */
.uplauncher-section .parchment-card {
  height: auto;
  min-height: 440px;
}

.uplauncher-section .parchment-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uplauncher-section .parchment-image img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.uplauncher-section .parchment-image img:hover {
  transform: scale(1.03);
}

.uplauncher-section .parchment-text ul {
  margin: 15px 0;
  padding-left: 20px;
  list-style-type: none;
}

.uplauncher-section .parchment-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.uplauncher-section .parchment-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a34c4c;
  font-weight: bold;
}

.uplauncher-section .btn-parchment {
  background-color: #a34c4c;
  padding: 12px 25px;
  font-size: 1.1rem;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.uplauncher-section .btn-parchment:hover {
  background-color: #8a3c3c;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.uplauncher-section .btn-parchment:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Modal pour afficher les actualités complètes */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: #f5f0e1;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 700px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  position: relative;
  border: 5px solid #c9b18c;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #a34c4c;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  background-color: transparent;
  border: none;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

.close-modal:hover {
  color: #8a3c3c;
  background-color: rgba(163, 76, 76, 0.1);
}

#modalTitle {
  margin-bottom: 20px;
  color: #a34c4c;
  font-size: 1.5rem;
  padding-right: 30px; /* Espace pour le bouton X */
}

#modalContent {
  color: #5a3921;
  line-height: 1.6;
}

#modalContent p {
  margin-bottom: 15px;
}

#modalContent ul {
  margin: 15px 0 15px 20px;
}

#modalContent li {
  margin-bottom: 8px;
}

/* Footer */
.main-footer {
  background-color: #0f1525;
  color: #e1e1e1;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100vw; /* Utiliser 100vw */
  max-width: none; /* Supprimer la limite de largeur maximale */
  left: 0;
  right: 0;
  margin: 0;
}

.main-footer p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-nav {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 20px;
  }

  .logo-container {
    order: -1;
    width: 100%;
    margin: 10px 0;
  }

  .nav-section {
    flex: 0 0 100%;
    justify-content: center;
    padding: 10px 0;
  }

  .auth-buttons {
    margin-left: 0;
    margin-top: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .modal-content {
    width: 90%;
    margin: 15% auto;
  }

  .parchment-card {
    max-width: 95%;
    height: auto;
  }

  .promo-content {
    flex-direction: column;
    height: auto;
  }

  .promo-image {
    min-height: 250px;
  }

  .shop-pack-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .shop-pack {
    width: 90%;
    max-width: 350px;
  }

  .parchment-card {
    flex-direction: column;
  }

  .parchment-binding {
    width: 100%;
    height: 20px;
    top: 0;
    flex-direction: row;
  }

  .parchment-image,
  .parchment-content {
    flex: 0 0 auto;
    width: 100%;
  }

  .parchment-content {
    border-left: none;
    border-top: 2px solid #c9b18c;
  }

  .section-separator::after {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
  }

  .section-block,
  .content-section {
    height: auto;
    min-height: 800px;
    padding: 60px 0;
  }

  .nav-section {
    flex-wrap: wrap;
    gap: 15px;
  }

  .auth-buttons {
    width: 100%;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  .parchment-title {
    font-size: 1.6rem;
  }

  .section-divider {
    margin: 40px 0;
  }

  .shop-title {
    font-size: 2rem;
  }

  /* Ajoutez ce code pour gérer la responsivité des cartes */
  .news-grid {
    flex-direction: column;
  }

  .news-card {
    max-width: 100%;
  }

  .parchment-title {
    font-size: 1.6rem;
  }

  .parchment-subtitle {
    font-size: 1rem;
  }

  .section-separator {
    height: 25px;
  }

  .section-separator::after {
    width: 200px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 70vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-link {
    font-size: 12px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .modal-content {
    padding: 20px;
    margin: 20% auto;
  }

  .parchment-card {
    padding: 20px;
  }

  .parchment-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .parchment-text {
    font-size: 0.9rem;
  }

  .divider-icon {
    width: 30px;
    height: 30px;
    margin: 0 15px;
  }

  .shop-title {
    font-size: 1.6rem;
  }

  .pack-content h4 {
    font-size: 1.6rem;
  }

  .parchment-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .section-separator {
    height: 20px;
  }

  .section-separator::after {
    width: 150px;
    height: 20px;
  }
}

/* Responsive design pour les actualités */
@media (max-width: 1024px) {
  .news-parchment-container {
    padding: 0;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .news-parchment {
    min-width: 280px;
  }
}

@media (max-width: 640px) {
  .news-parchment-container {
    flex-direction: column;
    align-items: center;
  }

  .news-parchment {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }
}

/* Ajuster les styles responsifs pour la section uplauncher */
@media (max-width: 1024px) {
  .uplauncher-section .parchment-card,
  .events-section .parchment-card {
    flex-direction: column;
  }

  .uplauncher-section .parchment-image,
  .uplauncher-section .parchment-content,
  .events-section .parchment-image,
  .events-section .parchment-content {
    width: 100%;
  }

  .uplauncher-section .parchment-image,
  .events-section .parchment-image {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .uplauncher-section .parchment-image img,
  .events-section .parchment-image img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .uplauncher-section .parchment-image,
  .events-section .parchment-image {
    padding: 20px;
  }

  .uplauncher-section .parchment-image img,
  .events-section .parchment-image img {
    max-height: 200px;
  }
}

/* Ajuster le style du conteneur de la section actualités */
.content-section .parchment-card.shop-parchment {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Ajouter des styles spécifiques pour la section actualités avec le nouveau format */
.content-section .parchment-card {
  padding: 30px;
}

/* Responsive pour le header */
@media (max-width: 1024px) {
  .nav-section {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .main-header {
    height: auto;
    padding: 10px 0;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .nav-section {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .logo-container {
    order: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  .auth-buttons {
    order: 2;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Supprimer les styles de reliure du parchemin */
.parchment-binding {
  display: none;
}

/* Ajouter une légère texture au parchemin */
.parchment-card {
  background-image: url("data:image/png;base64,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");
  background-blend-mode: overlay;
  background-color: #f5f0e1;
}

/* Ajuster le style pour les écrans mobiles */
@media (max-width: 768px) {
  .parchment-card {
    flex-direction: column;
    padding: 20px;
  }

  .parchment-image {
    border-right: none;
    border-bottom: 2px solid rgba(201, 177, 140, 0.5);
    margin-right: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .parchment-content {
    padding: 20px;
  }
}
