/* ========== GLOBAL RESET & STRUCTURE ========== */
html {
  font-size: 16px;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body.home {
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: url('../img/fond-chateau-loup.jpg');
  background-size: cover;
  background-position: center;
  font-family: 'Creepster', cursive;
  color: #f3e3b3;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

/* ========== ZONE PRINCIPALE ========== */
.overlay {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ========== BOUTON "ÊTES-VOUS PRÊT ?" ========== */
.start-button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  margin-top: 2rem;
  width: 90%;
  max-width: 300px;
  background-color: #7e1e1e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px red;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.start-button:hover {
  transform: scale(1.03);
  background-color: #a02525;
}

/* ========== MENU D’ACCÈS ========== */
.menu {
  margin-top: 3rem;
}

.menu.hidden {
  display: none;
}

.menu-link {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  width: 90%;
  max-width: 300px;
  margin: 1rem auto 0;
  display: inline-block;
  background-color: #5e1a18;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 10px crimson;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.menu-link:hover {
  transform: scale(1.05);
  background-color: #7e2e2e;
}

/* ========== SECTION MOT DE PASSE ========== */
#mdp-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  width: 90%;
  max-width: 350px;
  border-radius: 12px;
  background-color: rgba(255, 235, 200, 0.08);
  border: 2px solid #5e1a18;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#mdp-section label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Creepster', cursive;
}

#mdp-section input {
  padding: 0.8rem;
  font-size: 1rem;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #5e1a18;
  background-color: #222;
  color: #f3e3b3;
  margin-bottom: 1rem;
  text-align: center;
}

#mdp-section button {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  background-color: #7e1e1e;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 12px crimson;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

#mdp-section button:hover {
  transform: scale(1.05);
  background-color: #a02525;
}
body {
  font-family: 'Creepster', cursive;
}