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

body {
  font-family: 'Arial', sans-serif;
  overflow: hidden;
}

/* Landing full-screen */
.landing {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

.landing.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Container pour l'effet parallax zoom */
.parallax-zoom-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Image avec effet zoom out */
.parallax-zoom-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.2);
  animation: zoomOut 20s infinite ease-in-out;
  transition: transform 0.1s ease-out;
}

@keyframes zoomOut {
  0% { transform: translate(-50%, -50%) scale(1.2); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Overlay pour améliorer la lisibilité */
.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(139,69,19,0.1), rgba(0,0,0,0.4));
  z-index: 2;
}

/* Contenu principal */
.landing-content {
  position: relative;
  z-index: 10;
  text-align: center;
  transition: transform 0.1s ease-out;
}

/* Titre principal */
.landing h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

/* Sous-titre */
.landing p {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

/* Bouton stylisé */
#enter-btn {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #2c3e50;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

#enter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

#enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  background: linear-gradient(45deg, #f4d03f, #d4af37);
}

#enter-btn:hover::before {
  left: 100%;
}

#enter-btn:active {
  transform: translateY(0);
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-overlay.show {
  display: flex;
}

/* Modal */
.modal {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-overlay.show .modal {
  transform: scale(1);
  opacity: 1;
}

.modal h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.5rem;
}

.modal p {
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.modal label {
  display: block;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 500;
}

.modal input,
.modal select {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.modal input:focus,
.modal select:focus {
  outline: none;
  border-color: #d4af37;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.modal-actions button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-actions button[type="submit"] {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #2c3e50;
  font-weight: bold;
}

.modal-actions button[type="submit"]:hover {
  background: linear-gradient(45deg, #f4d03f, #d4af37);
  transform: translateY(-1px);
}

.modal-actions button[type="button"] {
  background: #95a5a6;
  color: white;
}

.modal-actions button[type="button"]:hover {
  background: #7f8c8d;
}

/* Animation de confirmation */
.modal-success {
  text-align: center;
  padding: 3rem 2rem;
}

.modal-success .checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.5s ease forwards;
}

.modal-success .checkmark svg {
  width: 40px;
  height: 40px;
}

.modal-success h2 {
  color: #27ae60;
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: #666;
}

@keyframes popIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .landing h1 {
    font-size: 2.5rem;
  }

  .landing p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  #enter-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .modal {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .parallax-zoom-img {
    width: 140%;
    height: 140%;
  }
}