/* Animaciones */
@keyframes jugaEntrada {
  0% {
    transform: translateX(-150%) translateY(-100px) rotate(-45deg) scale(0.3);
    opacity: 0;
    filter: blur(10px) drop-shadow(0 0 0 rgba(255, 165, 0, 0));
  }
  50% {
    transform: translateX(20px) translateY(-10px) rotate(5deg) scale(1.15);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.3));
  }
  70% {
    transform: translateX(-10px) translateY(5px) rotate(-3deg) scale(0.95);
    filter: drop-shadow(0 8px 20px rgba(255, 165, 0, 0.25));
  }
  85% {
    transform: translateX(5px) translateY(-3px) rotate(2deg) scale(1.05);
    filter: drop-shadow(0 9px 22px rgba(255, 165, 0, 0.28));
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 8px 20px rgba(255, 165, 0, 0.2));
  }
}

@keyframes ganaEntrada {
  0% {
    transform: translateX(150%) translateY(100px) rotate(45deg) scale(0.3);
    opacity: 0;
    filter: blur(10px) drop-shadow(0 0 0 rgba(0, 206, 209, 0));
  }
  50% {
    transform: translateX(-20px) translateY(10px) rotate(-5deg) scale(1.15);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 10px 25px rgba(0, 206, 209, 0.3));
  }
  70% {
    transform: translateX(10px) translateY(-5px) rotate(3deg) scale(0.95);
    filter: drop-shadow(0 8px 20px rgba(0, 206, 209, 0.25));
  }
  85% {
    transform: translateX(-5px) translateY(3px) rotate(-2deg) scale(1.05);
    filter: drop-shadow(0 9px 22px rgba(0, 206, 209, 0.28));
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 8px 20px rgba(0, 206, 209, 0.2));
  }
}


@keyframes fadeInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  text-align: center;
  padding: 40px 20px;
  overflow: visible;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.juga-gana-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
  margin-bottom: -20px;
}

.juga-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  transform: rotate(0deg);
  filter: drop-shadow(0 8px 20px rgba(255, 165, 0, 0.2));
  animation: jugaEntrada 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
}

.juga-image:hover {
  transform: rotate(0deg) scale(1.1) translateY(-8px);
  filter: drop-shadow(0 12px 30px rgba(255, 165, 0, 0.35));
}

.gana-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  transform: rotate(0deg);
  filter: drop-shadow(0 8px 20px rgba(0, 206, 209, 0.2));
  animation: ganaEntrada 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.gana-image:hover {
  transform: rotate(0deg) scale(1.1) translateY(-8px);
  filter: drop-shadow(0 12px 30px rgba(0, 206, 209, 0.35));
}

.logo-wtk-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}


.logo-landing {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2));
  animation: float 3s ease-in-out infinite;
}

.btn-jugar {
  background: var(--jugar-color);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 20px 80px;
  margin-bottom: 40%;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-family: "Lato", sans-serif;
  width: 100%;
  max-width: 520px;
  animation: fadeInUp 1s ease-out 0.6s backwards, pulse 2s ease-in-out 1.6s infinite;
  position: relative;
  overflow: hidden;
}

.btn-jugar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-jugar:hover::before {
  width: 300px;
  height: 300px;
}

.btn-jugar:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-icon {
  font-size: 1.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-section {
    margin-top: 40px;
    gap: 30px;
  }

  .juga-gana-container {
    gap: 0;
    margin-bottom: -15px;
  }

  .juga-image {
    max-width: 380px;
    margin-bottom: -60px;
  }

  .gana-image {
    max-width: 380px;
  }


  .logo-landing {
    max-width: 200px;
  }

  .btn-jugar {
    padding: 18px 60px;
    font-size: 1.5rem;
    width: 100%;
    max-width: 520px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .juga-image {
    max-width: 300px;
    margin-bottom: -50px;
  }

  .gana-image {
    max-width: 300px;
  }


  .logo-landing {
    max-width: 160px;
  }
}
