/* ===== 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: 300px;
}

/* ===== Boutons ===== */
.menu button {
  position: relative;
  overflow: hidden;

  padding: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #dffcff;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 18px;

  cursor: pointer;

  transition: 0.3s ease;

  box-shadow:
    0 0 20px rgba(0,255,255,0.08),
    inset 0 0 15px rgba(255,255,255,0.03);
}

/* Ligne animée */
.menu button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );

  transform: skewX(-20deg);
  transition: 0.6s;
}

.menu button:hover::before {
  left: 140%;
}

/* Hover */
.menu button:hover {
  transform: translateY(-4px) scale(1.02);

  border-color: #00e5ff;

  box-shadow:
    0 0 15px rgba(0,229,255,0.4),
    0 0 40px rgba(157,77,255,0.25);

  background: rgba(0,255,255,0.08);
}

.menu button:active {
  transform: scale(0.98);
}