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

body {
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  padding: 10px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(125deg, #00ff88 0%, #000 10%),
    linear-gradient(235deg, #ff006e 0%, #000 10%),
    linear-gradient(45deg, #00d4ff 0%, #000 10%);
  opacity: 0.4;
  z-index: -2;
  animation: hue-rotate 10s infinite linear;
}

@keyframes hue-rotate {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

.logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  margin: 20px 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(-20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-emoji {
  font-size: 4rem;
  animation: none !important;
  transform: none !important;
}

.logo-text-fill {
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5);
}

.card {
  background: #000000;
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  max-width: 450px;
  width: 100%;
  box-shadow: 
    0 0 40px rgba(0, 255, 136, 0.2),
    inset 0 0 0 1px rgba(0, 255, 136, 0.1);
  margin-bottom: 15px;
  position: relative;
}

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

.typing {
  font-family: 'Russo One', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #00ff88;
}

.typing .emoji {
  -webkit-text-fill-color: initial;
  display: inline-block;
  font-size: 1.3rem;
}

@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

.dorado-neon {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nombre-input {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  outline: none;
  transition: all 0.3s;
}

.nombre-input::placeholder {
  color: #999;
  text-transform: uppercase;
}

.nombre-input:focus {
  border-color: #00ff00;
  box-shadow: 
    0 0 10px #00ff00,
    inset 0 0 10px rgba(0, 255, 0, 0.1);
  background: #0a0a0a;
}

.popup-button {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: blink-button 1s infinite;
}

.popup-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.popup-button:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #22c863, #0d7a68);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes blink-button {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  75% {
    opacity: 0.9;
  }
}

.popup-button img {
  width: 35px;
  height: 35px;
}

.barra-juegos-slider {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  margin: 15px auto;
  position: relative;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 0;
  box-shadow: 
    0 0 40px rgba(255, 0, 110, 0.2),
    inset 0 0 0 1px rgba(255, 0, 110, 0.1);
}

.scroll-content {
  display: flex;
  gap: 15px;
  animation: scroll 15s linear infinite;
  padding: 0 10px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-content img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  object-fit: cover;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.scroll-content img:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 
    0 10px 30px rgba(0, 255, 0, 0.4),
    0 0 20px rgba(0, 255, 0, 0.3);
}

.info-externa {
  text-align: center;
  margin: 15px 0;
  padding: 20px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  max-width: 450px;
  width: 100%;
  box-shadow: 
    0 0 40px rgba(0, 212, 255, 0.2),
    inset 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.info-externa p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin: 10px 0;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-externa p:first-child {
  color: #00ff00;
  animation: flash-green 1s infinite;
}

@keyframes flash-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.metodos-pago {
  text-align: center;
  margin-top: 15px;
  padding: 25px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  max-width: 550px;
  width: 100%;
  box-shadow: 
    0 0 40px rgba(255, 255, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 0, 0.1);
}

.titulo-pago {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.iconos-pago {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.iconos-pago img {
  width: 90px;
  height: 60px;
  object-fit: contain;
  background: #f0f0f0;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s;
  display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border: none;
}

.iconos-pago img:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 3.5rem;
  }
  
  .logo-emoji {
    font-size: 3rem;
  }
  
  .card {
    padding: 20px;
    max-width: 95%;
  }
  
  .scroll-content img {
    width: 90px;
    height: 90px;
  }
  
  .iconos-pago img {
    width: 70px;
    height: 45px;
  }
  
  .popup-button {
    font-size: 1.1rem;
    padding: 15px;
  }
  
  .dorado-neon {
    font-size: 1.4rem;
  }
  
  .typing {
    font-size: 1rem;
    letter-spacing: 0;
  }
}

/* 📌 FIX PARA QUE "IMPERIO ESMERALDA" QUEDE EN UNA SOLA LÍNEA EN MÓVILES */
@media (max-width: 480px) {
  .logo-text {
    font-size: 2.6rem;
    white-space: nowrap;
    gap: 10px;
  }

  .logo-emoji {
    font-size: 2.2rem;
  }
}
