html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
 overflow-x: hidden !important;
  background-color: #000;
  font-family: 'Press Start 2P', cursive;
  max-width: 100%;
}

body {
  padding-bottom: 0;
  color: #fff;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: -1;
  min-height: 100vh;
  display: flex;
}

main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000000 0%, #2a0000 40%, #4b0000 70%, #660000 100%);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

.video-fallback-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: -3;
}

.top-banner {
  opacity: 0;
  transform: translateY(-60px);
  animation: bannerBounce 1.2s ease forwards;
  text-align: center;
  margin-top: 0 !important;
}

.top-banner img {
  width: 955px;
  max-width: 50%;
  height: auto;
  transition: transform 0.3s ease;
  image-rendering: pixelated;
}

.top-banner img:hover {
  transform: scale(1.1);
}

@keyframes bannerBounce {
  0% { opacity: 0; transform: translateY(-60px); }
  60% { opacity: 1; transform: translateY(20px); }
  80% { transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.owo-image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 1rem;
  margin: 10px 0 40px 0;
}

.img-wrapper {
  display: inline-block;
  transition: transform 0.4s ease;
}

.img-wrapper:hover {
  transform: scale(1.2); /* le zoom est ici */
}

.owo-image-row img {
  max-width: 90vw;
  width: 390px;
  height: auto;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  transition: opacity 1s ease;
  will-change: transform;
  pointer-events: auto;
}




.owo-image-row img:nth-child(1) { animation-delay: 1s; }
.owo-image-row img:nth-child(2) { animation-delay: 2s; }
.owo-image-row img:nth-child(3) { animation-delay: 3s; }


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




.form {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  width: 100%;
  max-width: 600px;
  padding: 0 1rem;
  box-sizing: border-box;
}

input[type="text"] {
  width: 95vw;
  max-width: 1000px;
  background: rgba(255, 105, 180, 0.15);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 2.6rem;
  padding: 2.5rem;
  text-align: center;
  outline: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 30px rgba(255, 105, 180, 0.1);
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  font-family: 'Press Start 2P', cursive;
}

input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input[type="text"]:focus {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.5);
  border: 2px solid rgba(255, 105, 180, 0.8);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  font-size: 1.4rem;
}

.checkbox-label input[type="checkbox"] {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 12px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transform: scale(1.6);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  line-height: 1;
}


button[type="submit"] {
  margin-top: 30px;
  background-color: #6f2dbd;
  color: white;
  font-family: 'Press Start 2P', cursive;
  font-size: 1.4rem;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #000;
  transform: scale(1.08);
}

button[type="submit"]::before {
  content: "❤";
  color: white;
  font-size: 20px;
  margin-right: 10px;
}

.bottom-content {
  width: 100%;
  text-align: center;
  padding: 40px 0 20px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
  z-index: 10;
  margin-top: auto;
}


.bottom-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.bottom-message {
  font-size: 2rem;
  color: white;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.bottom-content.visible .bottom-message {
  opacity: 1;
  transform: translateY(0);
}

.img-troll {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.img-troll img {
  max-width: 60%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.bottom-content.visible .img-troll img {
  opacity: 1;
  transform: translateY(0);
}

.icon-links img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
}

.icon-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.icon-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(3, 1, 1, 0.966);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.icon-circle img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  pointer-events: none;
}

.tooltip {
  position: absolute;
  bottom: -30px;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: Arial, sans-serif;
}

.icon-circle:hover .tooltip {
  opacity: 1;
}




/* ✅ Animation d’apparition des champs de formulaire */
.form-animated input[type="text"],
.form-animated button[type="submit"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.form-animated.animate input[type="text"],
.form-animated.animate button[type="submit"] {
  opacity: 1;
  transform: translateY(0);
}

.site-content.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.site-content.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Formulaire, checkbox et icônes masqués au début */
.form-animated input[type="text"],
.form-animated button[type="submit"],
.checkbox-label,
.icon-links {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 768px) {
  .form {
    max-width: 95vw;
  }

  input[type="text"] {
    font-size: 1.4rem;
    padding: 1.6rem;
    width: 100%;
  }

  .checkbox-label {
    font-size: 1rem;
    gap: 12px;
  }

  .checkbox-label input[type="checkbox"] {
    transform: scale(1.3);
  }

  button[type="submit"] {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .icon-links {
    gap: 16px;
  }

  .icon-links img {
    width: 56px !important;
    height: 56px !important;
  }

  .bottom-message {
    font-size: 1.4rem;
  }

  .img-troll img {
    max-width: 85%;
  }
}

#refresh-banner {
  cursor: pointer;
}





