@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

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

body {
  background: radial-gradient(#0c0c0c, #000000);
  color: white;
  font-family: 'Share Tech Mono', monospace;
  overflow: hidden;
  height: 100vh;
  position: relative;
}

/* Cinzel pour le titre uniquement */
.cinzel {
  font-family: 'Cinzel', serif;
}

/* LASERS */
.laser-overlay::before,
.laser-overlay::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: red;
  animation: laserMove 2s linear infinite;
  box-shadow: 0 0 10px red, 0 0 20px red;
  z-index: 1;
}

.laser-overlay::before { left: 20%; }
.laser-overlay::after { left: 80%; animation-delay: 1s; }

.laser-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@keyframes laserMove {
  0%   { transform: translateY(-100%); opacity: 0.2; }
  50%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0.2; }
}

/* PHASE 2 - Contenu */
.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.content.show {
  opacity: 1;
}

/* TITRE */
.content h1 {
  font-size: 4.5em;
  letter-spacing: 6px;
  color: #f2f2f2;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.2),
    0 0 30px rgba(255, 0, 0, 0.4),
    0 0 60px rgba(255, 0, 0, 0.2);
  transform: translateY(-20px);
  animation: titlePulse 4s ease-in-out infinite;
}

/* TEXTE & BOUTON */
.content p {
  font-size: 1.2em;
  margin: 20px 0;
}

@keyframes titlePulse {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.2),
      0 0 30px rgba(255, 0, 0, 0.4),
      0 0 60px rgba(255, 0, 0, 0.2);
    transform: translateY(-20px);
  }
  50% {
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.4),
      0 0 50px rgba(255, 0, 0, 0.6),
      0 0 80px rgba(255, 0, 0, 0.3);
    transform: translateY(-25px);
  }
}

.download-button {
  text-decoration: none;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid red;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.download-button:hover {
  background: red;
  color: black;
  box-shadow: 0 0 15px red;
}

/* CARTES */
.cards-container {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.card {
  width: 100px;
  animation: float 3s ease-in-out infinite, rotateCard 12s linear infinite;
  filter: drop-shadow(0 0 10px red);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotateCard {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Apparitions progressives */
.hidden {
  opacity: 0;
  transition: opacity 1s ease;
}

.show {
  opacity: 1;
}

.delay-text {
  transition-delay: 1.5s;
}

.delay-button {
  transition-delay: 2.5s;
}

#hidden {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    opacity: 0;
    z-index: 9999; /* Pour qu'il soit au-dessus du reste si besoin */
    pointer-events: auto; /* Si tu veux qu'on puisse encore cliquer dessus */
}

#hidden div {
    width: 100%;
    height: 100%;
}