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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #050811;
}

.landing-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Capa 1: Fondo */
.layer-bg {
  background-image: url('bg-vitage.jpeg');
  background-size: cover;
  background-position: center;
  /* Hacemos un leve escalado previo para evitar bordes blancos al mover la capa */
  transform: scale(1.08);
}

.layer-wrestlers img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

.layer-logo img {
  max-width: 350px;
  width: 45vw;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9));
  margin-top: 20%;
}

/* Interfaz gráfica estática */
.ui-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 40px;
  z-index: 10;
}

.top-bar, .bottom-bar {
  pointer-events: auto; 
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-logo {
  height: 50px;
  background: white;
  padding: 11px;
  border-radius: 11px;
}

.badge {
  color: #ffffff;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 300;
}

.newsletter-box {
  display: flex;
}

.newsletter-box input {
  padding: 10px 18px;
  border-radius: 20px 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  outline: none;
}

.newsletter-box .btn-sub {
  padding: 10px 18px;
  border-radius: 0 20px 20px 0;
  border: none;
  background: #e63946;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

.newsletter-box .btn-sub:hover {
  background: #c1121f;
}

.bottom-bar {
  text-align: center;
  margin-bottom: 25px;
}

.glow-text {
  font-family: 'Impact', sans-serif;
  font-size: 3.8rem;
  color: #e0e6ed;
  letter-spacing: 12px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.8rem;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-whatsapp:hover {
  background-color: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.animate-entrance {
  animation: logoEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 120px, 0) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}


@media (max-width: 768px) {
  .ui-overlay {
    padding: 15px 20px;
  }

  /* Ajustamos la barra superior para móviles */
  .top-bar {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  
  .mini-logo {
    height: 50px;
    padding: 8px;
  }

  .badge {
    display: none; /* Ocultamos para ahorrar espacio visual */
  }

  .btn-whatsapp {
    font-size: 1.19rem;
    padding: 8px 16px;
    order: 3; /* Mandamos abajo el botón si la pantalla es muy estrecha */
  }

  .newsletter-box {
    width: 100%;
    justify-content: center;
  }

  .newsletter-box input {
    width: 65%;
    font-size: 12px;
  }

  /* Aumento de tamaño para los luchadores en pantallas pequeñas */
  .layer-wrestlers img {
    max-width: 140%; /* Permitimos que sobrepase ligeramente los bordes para verse imponente */
    width: 120vw;
    max-height: 90vh;
    transform: scale(1.15); /* Escalado extra */
  }

  /* Ajuste proporcional del escudo */
  .layer-logo img {
    max-width: 250px;
    width: 75vw;
    margin-top: 50%;
  }

  .glow-text {
    font-size: 2.2rem;
    letter-spacing: 6px;
  }
}