body {
  margin: 0;
  font-family: monospace;

  min-height: 100vh;

  background-image: url("assets/images/fondo.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 300px; /* ajusta a tu gusto */
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* La imagen cubre todo el banner sin deformarse */
  display: block;
}

.level-menu {
  position: fixed;
  top: 20px;
  right: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(10px);
  padding: 15px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);

  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 1000;
}

.level-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s, transform 0.2s;
}

.level-menu a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(5px);
}


/* ===== TÍTULO ===== */
.menu-area h1 {
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-size: 50px;
  color: #000; /* negro */
  text-shadow: 2px 2px #555;
  animation: glowTitle 2s ease-in-out infinite alternate;
}

@keyframes glowTitle {
  0%   { text-shadow: 2px 2px #555, 0 0 10px #000; }
  50%  { text-shadow: 2px 2px #555, 0 0 30px #000; }
  100% { text-shadow: 2px 2px #555, 0 0 15px #000; }
}
