/* ===== Base ===== */
body {
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background:
    radial-gradient(circle at top, rgba(140, 0, 255, 0.15), transparent 40%),
    radial-gradient(circle at bottom, rgba(0, 200, 255, 0.12), transparent 40%),
    linear-gradient(135deg, #050510, #090916 40%, #020205);

  color: #d8f6ff;
  position: relative;
}

/* ===== Grille futuriste ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    linear-gradient(rgba(0,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.05) 1px, transparent 1px);

  background-size: 40px 40px;

  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  pointer-events: none;

  animation: gridMove 12s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(40px);
  }
}

/* ===== Glow ambiance ===== */
body::after {
  content: "";
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,255,255,0.08), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  pointer-events: none;
}

/* ===== Titre ===== */
h1 {
  font-size: 4.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 60px;

  background: linear-gradient(90deg, #00e5ff, #9d4dff, #00e5ff);
  background-size: 300%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: glowText 5s linear infinite;

  text-shadow:
    0 0 10px rgba(0,255,255,0.5),
    0 0 20px rgba(157,77,255,0.5);
}

@keyframes glowText {
  0% { background-position: 0%; }
  100% { background-position: 300%; }
}

/* ===== Menu ===== */
.menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 320px;
}

/* ===== Fullscreen Warning ===== */
#fullscreen-warning {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  color: white;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

#fullscreen-warning .message {
  padding: 30px 50px;

  border-radius: 20px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(0,255,255,0.2);

  box-shadow:
    0 0 30px rgba(0,255,255,0.2);

  text-shadow:
    0 0 10px #00e5ff,
    0 0 20px #9d4dff;
}