/* Tarjeta ULTRA – look dorado lujoso */
.ultra-lux {
  position: relative;
  overflow: hidden;
}
.ultra-lux::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at -10% -10%, rgba(255,255,255,.25), rgba(255,255,255,0) 40%),
    radial-gradient(100% 100% at 110% 110%, rgba(255,255,255,.18), rgba(255,255,255,0) 40%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.ultra-lux::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 30%, rgba(255,255,255,.35) 31% 33%, rgba(255,255,255,0) 34% 100%);
  transform: rotate(8deg);
  filter: blur(6px);
  opacity: .8;
  pointer-events: none;
}
.ultra-lux .pricing-footer .btn { 
  background: linear-gradient(135deg, #F7E27D, #C9A24A);
  border: 1px solid rgba(255,255,255,.55);
  color: #4b3f1f;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 10px 22px rgba(201,162,74,.28);
}
.ultra-lux .pricing-footer .btn:hover { 
  filter: brightness(1.05);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 12px 30px rgba(201,162,74,.45);
}
.modal.show .modal-dialog { margin: auto; }

/* Fondo oscuro semitransparente del overlay para mejorar contraste */
.modal-backdrop.show { background-color: rgba(0, 0, 0, 0.6); }

/* Refuerzo de legibilidad en modales: textos oscuros sobre cuerpo claro */
.pricing-modal-body, .game-modal-body { color: #0f172a; }
.detailed-features-list li { color: #111827; }
.features-title { color: #0f172a; }
/*GENERALES*/
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(90deg, #014AAD, #C96CE6, #A8E6CF);
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  position: relative;
  padding-top: 80px;
}

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

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.gradient-background {
  background: transparent;
  color: white;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
  position: relative;
  z-index: 1;
}

/*BARRA DE NAVEGACION*/
.navbar-gradient {
  background: linear-gradient(90deg, rgba(201, 108, 230, 0.9) 0%, rgba(1, 74, 173, 0.9) 100%);
  background-clip: padding-box;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Efecto de partículas en la navbar */
.navbar-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: navbarShine 3s infinite;
}

/* Partículas flotantes en la navbar */
.navbar-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px, 30px 30px;
  animation: floatParticles 8s linear infinite;
  pointer-events: none;
}

@keyframes floatParticles {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(-5px) translateX(-5px); }
  75% { transform: translateY(-15px) translateX(3px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes navbarShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Animación de entrada de la navbar */
.navbar {
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Efecto de scroll en la navbar */
.navbar.scrolled {
  background: linear-gradient(90deg, rgba(201, 108, 230, 0.98) 0%, rgba(1, 74, 173, 0.98) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
}

/* Logo con animación */
.navbar-brand {
  transition: all 0.3s ease;
  position: relative;
}

.navbar-brand:hover {
  transform: scale(1.05) rotate(2deg);
}

.navbar-brand img {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

/* Enlaces de navegación mejorados */
.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 25px;
  transition: width 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: -2;
}

.navbar-nav .nav-link:hover::after {
  width: 200px;
  height: 200px;
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link.active {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  color: white !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Botón de entrada mejorado */
.navbar .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar .btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.navbar .btn-outline-light:hover::before {
  left: 100%;
}

.navbar .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  color: white;
}

/* Botón hamburguesa animado */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
  transform: scale(1.1);
}

/* Animación de entrada de elementos del menú */
.navbar-nav .nav-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efecto de pulso en el logo */
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.navbar-brand.pulse {
  animation: logoPulse 2s infinite;
}

/* Efecto de typing en el logo */
@keyframes logoTypewriter {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.5; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.navbar-brand.typewriter {
  animation: logoTypewriter 0.8s ease-out;
}

/* Efecto de brillo en el logo */
.navbar-brand img {
  position: relative;
}

.navbar-brand img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: logoShine 2s infinite;
}

@keyframes logoShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

  
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .navbar .btn-outline-light {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  /* ===== CARRUSEL MÓVIL ===== */
  @media (max-width: 768px) {
    .carousel-item .row {
      flex-direction: column;
    }
    
    .carousel-item .row > [class^="col-"],
    .carousel-item .row > [class*=" col-"] {
      width: 100%;
      padding: 0.75rem; /* menos espacio vertical */
    }
    
    /* Texto centrado en móvil */
    .carousel-item .row > [class^="col-"]:last-child {
      text-align: center;
      padding: 1.25rem 1rem; /* reducir padding del bloque de texto */
    }
    
    .carousel-item h5 {
      font-size: 1.2rem !important;
    }
    
    .carousel-item h1 {
      font-size:  2.5rem;
      line-height: 1.2;
    }
    
    .carousel-item p {
      font-size: 1rem !important;
    }

    /* Reducir espacios y altura de imagen en móvil */
    #carouselExampleCaptions .carousel-item .card-body .row { row-gap: 0.5rem !important; }
    #carouselExampleCaptions .carousel-item .card-body .row > [class^="col-"],
    #carouselExampleCaptions .carousel-item .card-body .row > [class*=" col-"] {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }
    #carouselExampleCaptions .carousel-item .card-body img {
      max-height: 34vh;
      height: auto;
      width: 100%;
      object-fit: contain;
      margin-top: 0;
      margin-bottom: 0;
    }

    /* Separación vertical entre step-cards en móvil */
    .step-container .row { row-gap: 1.25rem; }
    .step-card { margin-bottom: 1.5rem !important; }
  }
  
  /* ===== SECCIÓN HOME - STEPS ===== */
  .mt-custom {
    margin-top: 3rem; /* Reducir margen superior */
  }
  
  .step-container h2 {
    font-size: 2.5rem !important;
    line-height: 1.3;
  }
  
  .step-card {
    margin-bottom: 2rem;
  }
  
  .step-card img {
    max-width: 90px;
    height: auto;
  }
  
  .step-card h3 {
    font-size: 1.2rem;
  }
  
  .step-card p {
    font-size: 0.9rem;
  }
  
  /* ===== SECCIÓN JOGGO ===== */
  .display-4 {
    font-size: 2.2rem !important;
  }
  
  .bouncing-image {
    max-height: 250px;
  }
  
  /* ===== VIDEO DEMO MÓVIL ===== */
  .video-container {
    margin: 1rem 0;
    border-radius: 15px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button i {
    font-size: 1.5rem;
  }
  
  .audio-button {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }
  
  .audio-button i {
    font-size: 1.2rem;
  }
  
  /* ===== TARJETAS DE JUEGOS MÓVIL ===== */
  .game-card {
    margin-bottom: 1.5rem;
  }
  
  .game-header h3 {
    font-size: 1.5rem;
  }
  
  .game-icon {
    font-size: 2.5rem;
  }
  
  .game-description {
    font-size: 0.9rem;
  }
  
  .game-features li {
    font-size: 0.85rem;
  }
  
  /* ===== TARJETAS DE PRECIOS MÓVIL ===== */
  .pricing-toggle-container {
    min-width: 300px;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .savings-badge {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    align-self: center;
  }
  
  .pricing-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-header h3 {
    font-size: 1.5rem;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .features-list li {
    font-size: 0.9rem;
  }
  
  /* ===== FAQ MÓVIL ===== */
  .faq-item .accordion-button {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .faq-item .accordion-body {
    font-size: 1rem;
    padding: 1.5rem;
  }
  
  /* ===== CTA SECTION MÓVIL ===== */
  .cta-content h2 {
    font-size: 2rem !important;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-feature {
    margin-bottom: 1rem;
  }
  
  .cta-feature i {
    font-size: 2rem;
  }
  
  .btn-cta {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
  
  /* ===== MODALES MÓVIL ===== */
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-lg {
    max-width: calc(100% - 1rem);
  }
  
  .contact-form-body {
    padding: 1rem;
  }
  
  .contact-form .form-control,
  .contact-form .form-select {
    font-size: 16px; /* Evitar zoom en iOS */
  }
  
  /* ===== TIPOGRAFÍAS MÓVIL ===== */
  .display-5 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .fs-4 {
    font-size: 1.1rem !important;
  }
  
  .fs-5 {
    font-size: 1rem !important;
  }
  
  /* ===== ESPACIADOS MÓVIL ===== */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  /* ===== CONTAINER MÓVIL ===== */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* ===== FOOTER MÓVIL ===== */
  footer {
    padding: 1.5rem 0;
  }
  
  footer p {
    font-size: 0.9rem;
  }


  
@media (max-width: 576px) {
  .navbar-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem !important;
  }
  
  .carousel-item h1 {
    font-size: 1.8rem !important;
  }
  
  .carousel-item h5 {
    font-size: 1rem !important;
  }
  
  .step-container h2 {
    font-size: 1.8rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .pricing-toggle-container {
    min-width: 250px;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem !important;
  }
  
  .btn-cta {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}

/* Estilo para el enlace activo */
.nav-link.active {
  position: relative;
  color: #fff; /* Cambia el color del texto si lo deseas */
}


.navbar {
  border-bottom: 2px solid white; /* Fina línea blanca en la parte inferior */
}   

/*HOME*/
.mt-custom {
  margin-top: 10rem; /* Puedes aumentar este valor según lo que necesites */
}

.horizontal-custom{
  padding-left: 6rem;
  padding-right: 6rem;
}
/*CARRUSELES*/

/*STEPS*/
.img-hover {
  transition: transform 0.3s ease; /* Animación suave de 0.3 segundos */
}

.img-hover:hover {
  transform: translateY(-10px); /* Mueve la imagen 10px hacia arriba */
}




/*JOGGO*/

@keyframes bounce {
  0%, 100% {
      transform: translateY(0); /* Posición inicial y final */
  }
  50% {
      transform: translateY(-20px); /* Mover hacia arriba */
  }
}

.bouncing-image {
  animation: bounce 2s infinite ease-in-out; /* Animación continua */
}

.card {
  transition: transform 0.1s ease-in-out; /* Transición rápida */
}

.card:hover {
  transform: scale(1.05);
}

.card:active {
  transform: scale(0.95);
  transition: transform 0.05s ease-in-out;
}

.modal-content {
  background-color: #29211D; /* Cambia a tu color deseado */
  color: #fff; /* Cambia el color del texto si es necesario */
} 

#juegos {
  scroll-margin-top: 10vh; /* Deja un espacio del 10% de la altura de la ventana */
}

/* LINEA DE TIEMPO Estilos */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #ddd;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-icon {
  position: absolute;
  left: -15px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ddd;
  border: 3px solid #fff;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.pricing-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.currency {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.8;
}

.price {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.period {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

.pricing-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.features-list i {
  color: #28a745;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.pricing-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-footer .btn {
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.pricing-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* PRICING MODAL STYLES */
.pricing-modal-header {
  color: white;
  border-bottom: none;
}

.pricing-modal-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  padding: 2rem;
}

.plan-title-container {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.plan-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #014AAD, #C96CE6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.modal-currency {
  font-size: 2rem;
  font-weight: bold;
  color: #6c757d;
}

.modal-price {
  font-size: 4rem;
  font-weight: 900;
  color: #014AAD;
  line-height: 1;
}

.modal-period {
  font-size: 1.2rem;
  color: #6c757d;
  font-weight: 500;
}

.features-detailed {
  margin-bottom: 2rem;
}

.features-title {
  color: #014AAD;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.detailed-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detailed-features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(1, 74, 173, 0.05);
  border-radius: 10px;
  border-left: 4px solid #014AAD;
  transition: all 0.3s ease;
}

.detailed-features-list li:hover {
  background: rgba(1, 74, 173, 0.1);
  transform: translateX(5px);
}

.detailed-features-list i {
  color: #28a745;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.timeline-content h5 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: #161616;
}


/* Estilo para los items del Carrusel 1 */
#testimoniosCarousel .carousel-item {
  background-color: rgba(255, 255, 255, 0.3); /* Fondo blanco transparente */
  border-radius: 10px; /* Bordes redondeados */
  padding: 20px;
}


#contactModal .modal-content {
  border-radius: 15px; /* Bordes redondeados */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 1)); /* Fondo suave */
}

#contactModal .bi {
  font-size: 2rem; /* Tamaño de los íconos */
  color: #007bff; /* Color de los íconos */
}

#contactModal .bi:hover {
  color: #0056b3; /* Color al pasar el mouse */
}

/* DEMO VIDEO STYLES */
.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  margin: 2rem 0;
}

.video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: all 0.3s ease;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(1, 74, 173, 0.1), rgba(201, 108, 230, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 18px;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #014AAD, #C96CE6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-button i {
  font-size: 2rem;
  color: white;
  margin-left: 4px; /* Ajuste visual para centrar el icono */
}

.audio-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.audio-button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.audio-button i {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.audio-button:hover i {
  color: #28a745;
}

/* Animación de aparición del video */
.video-container {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.video-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* PRICING CARDS STYLES */
.pricing-card {
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.premium-card {
  border: 3px solid rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(45deg, #ff6b6b, #ffa500);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.pricing-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.currency {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.8;
}

.price {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.period {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

.pricing-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.features-list i {
  color: #28a745;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.pricing-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-footer .btn {
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.pricing-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* PRICING MODAL STYLES */
.pricing-modal-header {
  background: linear-gradient(90deg, hsl(214, 99%, 34%) 0%, hsl(288, 73%, 66%) 100%);
  color: white;
  border-bottom: none;
}

.pricing-modal-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  padding: 2rem;
}

.plan-title-container {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.plan-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #014AAD, #C96CE6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.modal-currency {
  font-size: 2rem;
  font-weight: bold;
  color: #6c757d;
}

.modal-price {
  font-size: 4rem;
  font-weight: 900;
  color: #014AAD;
  line-height: 1;
}

.modal-period {
  font-size: 1.2rem;
  color: #6c757d;
  font-weight: 500;
}

.features-detailed {
  margin-bottom: 2rem;
}

.features-title {
  color: #014AAD;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.detailed-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detailed-features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(1, 74, 173, 0.05);
  border-radius: 10px;
  border-left: 4px solid #014AAD;
  transition: all 0.3s ease;
}

.detailed-features-list li:hover {
  background: rgba(1, 74, 173, 0.1);
  transform: translateX(5px);
}

.detailed-features-list i {
  color: #28a745;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card i {
  font-size: 2rem;
  color: #014AAD;
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.info-card h6 {
  color: #014AAD;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-card p {
  color: #6c757d;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricing-modal-footer {
  border-top: none;
  padding: 1.5rem 2rem;
}

/* Theming del modal por plan */
.modal.plan-basic .pricing-modal-header,
.modal.plan-basic .pricing-modal-footer { background: linear-gradient(90deg, rgb(1, 74, 173), rgb(201, 108, 230)); }

.modal.plan-premium .pricing-modal-header,
.modal.plan-premium .pricing-modal-footer { background: linear-gradient(90deg, #1AF0A2, #4B8FE5); }

.modal.plan-ultra .pricing-modal-header,
.modal.plan-ultra .pricing-modal-footer { background: linear-gradient(90deg, #d645ff, #0b0a0b); }

/* Cuerpo del modal: caja legible y centrada, sin ocupar todo el ancho */
.modal-dialog.modal-lg { max-width: min(960px, 86vw); }
.modal#pricingModal .modal-dialog.modal-lg { max-width: min(980px, 92vw); }
.modal#gameModal .modal-dialog.modal-lg { max-width: min(900px, 84vw); }
.modal-content { border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.12); }
.modal#pricingModal .modal-content { overflow: visible; transform-origin: top center; }
.pricing-modal-body { background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,247,250,.94)); position: relative; overflow: hidden; }
/* Textura y blobs suaves en el fondo del modal de tarifas */
.modal#pricingModal .pricing-modal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at -10% -10%, rgba(1,74,173,.22), transparent 60%),
    radial-gradient(60% 60% at 110% 110%, rgba(201,108,230,.18), transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(1,74,173,.08) 2px, transparent 2px);
  background-size: cover, cover, 22px 22px;
  background-position: center, center, 0 0;
  mix-blend-mode: normal;
  pointer-events: none;
}
/* Forzar que todo el contenido quepa sin scroll: reducir gaps y paddings en modal de tarifas */
.modal#pricingModal .plan-title-container { margin-bottom: 1rem; padding-bottom: 1rem; }
.modal#pricingModal .features-detailed { margin-bottom: 1rem; }
.modal#pricingModal .pricing-modal-body { padding: 1.25rem; }
.modal#pricingModal .pricing-footer { padding: 1rem 1.25rem; }

/* Efecto de brillo sutil en el header del modal de tarifas */
.pricing-modal-header { position: relative; overflow: hidden; }
.pricing-modal-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: headerShine 3.6s ease-in-out infinite;
}

@keyframes headerShine {
  0%   { left: -180px; }
  60%  { left: 110%; }
  100% { left: 110%; }
}

#contactPricingBtn {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#contactPricingBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* MEJORAS PARA LEGIBILIDAD SOBRE FONDO ANIMADO */
section {
  position: relative;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
}

/* Añadir sombra de texto para mejor legibilidad */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mejorar contraste de las tarjetas */
.card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Restaurar colores originales de las tarjetas de tarifas */
.pricing-card {
  backdrop-filter: none;
  /* Removido background: inherit !important; para permitir gradientes inline */
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Mejorar modal sobre fondo animado */
.modal-content {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* GAME CARDS STYLES */
.game-card {
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  backdrop-filter: none;
  /* Removido background: inherit !important; para permitir gradientes inline */
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.popular-game {
  border: 3px solid rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.game-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.game-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Títulos como imagen para las tarjetas de juegos */
.game-title-image {
  display: block;
  max-width: 70%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

@media (max-width: 991px) {
  .game-title-image { max-width: 80%; }
}

@media (max-width: 576px) {
  .game-title-image { max-width: 85%; }
}

/* Ajuste específico: reducir ligeramente el lettering de Bingo */
#title-bingo { max-width: 58%; }
@media (max-width: 991px) { #title-bingo { max-width: 70%; } }
@media (max-width: 576px) { #title-bingo { max-width: 78%; } }

.game-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  display: block;
}

.game-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.game-description {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.9;
}

.game-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.game-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  padding: 0.3rem 0;
}

.game-features i {
  color: #28a745;
  font-size: 1rem;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.game-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-footer .btn {
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.game-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* GAME MODAL STYLES */
.game-modal-header {
  background: linear-gradient(90deg, #014AAD, #C96CE6);
  color: white;
  border-bottom: none;
}

.game-modal-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  padding: 2rem;
}

.game-title-container {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.game-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(45deg, #014AAD, #C96CE6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-icon-large {
  font-size: 3rem;
  color: #014AAD;
}

.game-description-detailed {
  margin-bottom: 2rem;
  text-align: center;
}

.game-description-text {
  font-size: 1.2rem;
  color: #374151; /* gris más oscuro para legibilidad */
  line-height: 1.65;
  margin: 0;
}

.game-features-detailed {
  margin-bottom: 2rem;
}

.game-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-modal-footer {
  background: linear-gradient(90deg, #014AAD, #C96CE6);
  border-top: none;
  padding: 1.5rem 2rem;
}

#playGameBtn {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#playGameBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* FAQ STYLES */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}

.faq-item .accordion-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-item .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(1, 74, 173, 0.8), rgba(201, 108, 230, 0.8));
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.faq-item .accordion-button:hover {
  background: linear-gradient(135deg, rgba(1, 74, 173, 0.6), rgba(201, 108, 230, 0.6));
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.faq-item .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(1, 74, 173, 0.25);
  border: none;
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.faq-item .accordion-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  color: #333;
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item .accordion-body i {
  color: #014AAD;
  margin-right: 0.5rem;
}

/* Animación suave para el accordion */
.accordion-collapse {
  transition: all 0.3s ease;
}

.accordion-collapse.collapsing {
  transition: height 0.3s ease;
}

/* Efecto hover en las preguntas */
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Iconos de preguntas */
.faq-item .bi-question-circle {
  color: #014AAD;
  font-size: 1.2rem;
}

/* PRICING TOGGLE STYLES */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  min-width: 400px; /* Ancho mínimo para evitar movimiento */
  position: relative; /* Para posicionar el badge de forma absoluta */
}

.toggle-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #6c757d, #495057);
  transition: 0.3s;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toggle-input:checked + .toggle-slider {
  background: linear-gradient(135deg, #014AAD, #C96CE6);
}

.toggle-input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

.savings-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 0.5rem 1rem;
  margin-right: 25vw;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  animation: pulse 2s infinite;
  position: absolute; /* Posición absoluta para no afectar el layout */
  right: -120px; /* Posición a la derecha del toggle */
  top: 50%; /* Centrado verticalmente */
  transform: translateY(-50%); /* Centrado perfecto */
  white-space: nowrap; /* Evitar que el texto se rompa */
}

.savings-badge i {
  font-size: 1rem;
}

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

/* Animación para cambio de precios */
.price {
  transition: all 0.3s ease;
}

.period {
  transition: all 0.3s ease;
}

/* CTA SECTION STYLES */
.cta-content {
  position: relative;
  z-index: 2;
}

.cta-features {
  margin: 3rem 0;
}

.cta-feature {
  text-align: center;
  padding: 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.cta-feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-feature i {
  font-size: 2.5rem;
  color: #014AAD;
  margin-bottom: 1rem;
  display: block;
}

.cta-feature h5 {
  color: white;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cta-feature p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

.btn-cta {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  color: white;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
  color: white;
}

.btn-cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover:before {
  left: 100%;
}

/* CONTACT FORM MODAL STYLES */
.contact-form-modal {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-header {
  background: linear-gradient(135deg, #014AAD, #C96CE6);
  color: white;
  border: none;
  padding: 1.5rem 2rem;
}

.contact-form-header .modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 1rem 0;
  background: linear-gradient(90deg, rgba(1,74,173,0.95), rgba(201,108,230,0.95));
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
  border-top: 2px solid rgba(255,255,255,0.25);
}
.cookie-text { font-size: .95rem; line-height: 1.5; }
.cookie-actions .btn { font-weight: 700; border-radius: 999px; padding: .5rem 1rem; box-shadow: 0 6px 16px rgba(0,0,0,.15); transition: all .25s ease; }
.cookie-actions #acceptCookiesBannerBtn { background: linear-gradient(45deg, #28a745, #20c997); border: 0; color: #fff; }
.cookie-actions #acceptCookiesBannerBtn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32,201,151,.35); }
.cookie-actions #moreInfoCookiesBtn { border: 2px solid rgba(255,255,255,.85); color: #fff; background: transparent; }
.cookie-actions #moreInfoCookiesBtn:hover { background: rgba(255,255,255,.15); }
.d-none { display: none !important; }

/* Cookie modal – legible y atractivo */
#cookiePolicyModal .modal-content { background: #ffffff !important; color: #212529; box-shadow: 0 20px 60px rgba(0,0,0,.35); border: 0; }
#cookiePolicyModal .modal-header { background: linear-gradient(90deg, #014AAD, #C96CE6); color: #fff; }
#cookiePolicyModal .modal-title { font-weight: 800; letter-spacing: .3px; }
#cookiePolicyModal .modal-body { color: #1f2937; line-height: 1.65; font-size: 1.05rem; max-height: 65vh; overflow-y: auto; }
#cookiePolicyModal .modal-body h6 { margin-top: 1rem; font-weight: 800; color: #014AAD; }
#cookiePolicyModal .modal-body p { margin-bottom: .75rem; }
#cookiePolicyModal .modal-body ul { padding-left: 1.25rem; }
#cookiePolicyModal .modal-body a { color: #014AAD; text-decoration: underline; }
#cookiePolicyModal .modal-footer { background: #f8f9fa; border-top: 1px solid rgba(0,0,0,.075); }
#cookiePolicyModal #acceptCookiesBtn { background: linear-gradient(45deg, #28a745, #20c997); border: 0; font-weight: 700; border-radius: 999px; box-shadow: 0 8px 20px rgba(32,201,151,.3); }
#cookiePolicyModal #acceptCookiesBtn:hover { transform: translateY(-2px); }

.contact-form-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  padding: 2rem;
}

.form-intro h4 {
  color: #014AAD;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-form .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-form .form-label i {
  color: #014AAD;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: #014AAD;
  box-shadow: 0 0 0 0.2rem rgba(1, 74, 173, 0.25);
  background: white;
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: #014AAD;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-check-input:checked {
  background-color: #014AAD;
  border-color: #014AAD;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(1, 74, 173, 0.25);
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.btn-submit {
  background: linear-gradient(45deg, #014AAD, #C96CE6);
  border: none;
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 74, 173, 0.3);
  color: white;
}

.btn-submit:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover:before {
  left: 100%;
}

/* Animaciones del formulario */
.contact-form .form-group {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.contact-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.contact-form .form-group:nth-child(6) { animation-delay: 0.6s; }
.contact-form .form-group:nth-child(7) { animation-delay: 0.7s; }
.contact-form .form-group:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== STEP CARDS STYLES ===== */
.step-container {
  padding: 3rem 0;
}

.step-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-card img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Tamaño relativo en pantallas grandes */
@media (min-width: 1400px) {
  .step-card img { max-width: 12vw; }
}

.step-card:hover img {
  transform: scale(1.05);
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  color: white;
}

.step-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
}

.mt-custom {
  margin-top: 4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-feature {
    margin-bottom: 1rem;
  }
  
  .btn-cta {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
  
  .contact-form-body {
    padding: 1.5rem;
  }
}

.features-list .bi-x-circle-fill {
  color: #dc3545 !important; /* rojo Bootstrap */
}

/* ===== Tipografía del carrusel (desktop) ===== */
.carousel .card-body {
  padding: 2vw 2.5vw;
}

/* Carrusel: tarjetas más estrechas y sin opacidad de fondo */
.carousel .card {
  width: 84%;
  margin-left: auto;
  margin-right: auto;
  background: transparent !important; /* anula bg-dark bg-opacity-25 y .card global */
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate; /* asegura que ::before se recorte por el border-radius */
}

/* Theming por slide del carrusel */
#carouselExampleCaptions .carousel-item .card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  will-change: transform;
  opacity: 0.85; /* fondo con menos opacidad */
}

/* Asegurar contenido por encima del fondo temático */
#carouselExampleCaptions .carousel-item .card > * { position: relative; z-index: 1; }

/* Slide 1 – Rollo Retro Vintage (neón ochentero) */
#carouselExampleCaptions .carousel-item:nth-child(1) .card::before {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0) 70%), /* capa de contraste para texto */
    linear-gradient(90deg, rgb(1, 74, 173), rgb(201, 108, 230)), /* base brand actualizado */
    repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 14px); /* rayas neón */
  background-size: 100% 100%, 100% 100%, 200% 200%;
  background-position: center, center, 0 0;
  animation: neonStripes 18s linear infinite;
}

@keyframes neonStripes {
  0%   { background-position: center, center, 0 0; }
  100% { background-position: center, center, 200% 200%; }
}

/* Slide 2 – Diversión por encima de todo (confeti/rayos) */
#carouselExampleCaptions .carousel-item:nth-child(2) .card::before {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0) 70%),
    linear-gradient(90deg, #1AF0A2, #4B8FE5),
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.25) 0 8%, transparent 9%),
    radial-gradient(circle at 85% 30%, rgba(255, 105, 180, 0.25) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 75%, rgba(0, 255, 200, 0.25) 0 7%, transparent 8%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 16px); /* rayos sutiles */
  background-size: 100% 100%, 100% 100%, 12% 12%, 16% 16%, 10% 10%, 220% 220%;
  background-position: center, center, 10% 20%, 85% 30%, 35% 75%, 0 0;
  animation: confettiDrift 28s linear infinite;
}

@keyframes confettiDrift {
  0%   { background-position: center, center, 10% 120%, 85% -20%, 35% 175%, 0 0; }
  100% { background-position: center, center, 10% 20%, 85% 30%, 35% 75%, 220% 220%; }
}

/* Slide 3 – Que no falte hidratación (burbujas/ondas) */
#carouselExampleCaptions .carousel-item:nth-child(3) .card::before {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0) 70%),
    linear-gradient(90deg, #d645ff, #0b0a0b),
    radial-gradient(circle at 20% 110%, rgba(255,255,255,0.25) 2px, transparent 3px),
    radial-gradient(circle at 60% 130%, rgba(255,255,255,0.2) 3px, transparent 4px),
    radial-gradient(circle at 80% 120%, rgba(255,255,255,0.18) 2px, transparent 3px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 60px 60px, 50px 50px;
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat;
  background-position: center, center, 0 100%, 0 120%, 0 140%;
  animation: bubblesRise 24s linear infinite;
}

@keyframes bubblesRise {
  0%   { background-position: center, center, 0 110%, 0 130%, 0 150%; }
  100% { background-position: center, center, 0 0%,   0 10%,  0 20%; }
}

/* Reduce motion: desactivar animaciones decorativas */
@media (prefers-reduced-motion: reduce) {
  #carouselExampleCaptions .carousel-item .card::before { animation: none !important; }
}

/* Tipografía del carrusel (desktop) */
.carousel .card-body h5 {
  font-size: 2.6vw; /* más grande para ocupar ancho */
}
.carousel .card-body h1 {
  font-size: 7.2vw; /* más grande para aprovechar horizontal */
  line-height: 1.02;
}
.carousel .card-body p {
  font-size: 3.12vw; /* grande */
  max-width: 65vw;
}
.carousel .card-body h5 { margin-bottom: 0.5rem; }
.carousel .card-body h1 { margin-bottom: 0.5rem; }
.carousel .card-body p  { margin-top: 0; }


/* Estilos de texto mejorados para tarjetas del carrusel */
.carousel .card-body h5 {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  animation: fadeSlideUp 0.8s ease both 0.05s;
}

.carousel .card-body h1 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(255, 255, 255, 0.15);
  position: relative;
  display: inline-block;
  animation: titleGlow 6s ease-in-out infinite;
}

.carousel .card-body h1::after {
  content: '';
  display: block;
  height: 5px;
  width: 75%;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0));
  animation: underlineIn 1.2s ease forwards 0.2s;
}

.carousel .card-body p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  animation: fadeSlideUp 0.9s ease both 0.15s;
}

/* Theming de subrayado por slide para reforzar el branding */
#carouselExampleCaptions .carousel-item:nth-child(1) .card .card-body h1::after {
  background: linear-gradient(90deg, rgb(201, 108, 230), rgb(1, 74, 173));
}
#carouselExampleCaptions .carousel-item:nth-child(2) .card .card-body h1::after {
  background: linear-gradient(90deg, #1AF0A2, #4B8FE5);
}
#carouselExampleCaptions .carousel-item:nth-child(3) .card .card-body h1::after {
  background: linear-gradient(90deg, #d645ff, #0b0a0b);
}

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

@keyframes underlineIn {
  0% { width: 0; opacity: 0; }
  100% { width: 75%; opacity: 1; }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(255, 255, 255, 0.15);
  }
  50% {
    text-shadow:
      0 6px 26px rgba(0, 0, 0, 0.45),
      0 0 28px rgba(255, 255, 255, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel .card-body h1,
  .carousel .card-body h5,
  .carousel .card-body p { animation: none !important; }
}

@media (max-width: 991px) {
  .carousel .card-body h5 { font-size: 1.5rem; }
  .carousel .card-body h1 { font-size: 3.6rem; }
  .carousel .card-body p  { font-size: 1.6rem; }
  .carousel .card-body { padding: 1.25rem 1.25rem; }
}

@media (max-width: 768px) {
  .carousel .card { width: 92%; }
  .carousel .card-body { padding: 1rem 1rem; }
}

/* Centrado robusto de imágenes en step-cards */
.step-card .horizontal-custom { padding-left: 0; padding-right: 0; }
.step-card img { display: block; margin-left: auto; margin-right: auto; }

/* Centrado de imágenes del carrusel dentro de su columna */
.carousel .card-body img { display: block; margin-left: auto; margin-right: auto; }

/* Margen izquierdo extra para la columna de texto del carrusel */
.text-col { padding-left: 6vw; }
@media (max-width: 991px) {
  .text-col { padding-left: 1.25rem; }
}

/* Overrides finales para pantallas pequeñas: aseguran que las media queries no sean pisadas por estilos globales */
@media (max-width: 768px) {
  /* Ajuste de separación por navbar fija y animación suavizada de fondo */
  body {
    padding-top: 64px;
    /* Mantener gradiente con movimiento más lento para reducir tearing */
    background-size: 300% 300%;
    animation: gradientMove 20s ease infinite;
    will-change: background-position;
  }

  /* Imágenes de step-card más contenidas en móvil */
  .step-card img { max-width: 90px !important; margin-bottom: 1rem !important; }

  /* Step cards: menos padding interno y más separación vertical en móvil */
  .step-card { padding: 1rem !important; margin-bottom: 1.25rem !important; }
  .step-card h3 { margin: 0.75rem 0 0.5rem !important; }
  .step-card p { margin-bottom: 0 !important; }

  /* Badge de ahorro: evitar posicionamiento absoluto en mobile */
  .savings-badge {
    position: static !important;
    transform: none !important;
    right: auto !important;
    left: auto !important;
    margin: 0.5rem auto 0 !important;
    align-self: center !important;
  }

  /* Más separación vertical para las cajas de la sección CTA en móvil */
  .cta-features .row { row-gap: 1.25rem !important; }
  .cta-feature { margin-bottom: 1.25rem !important; }
}

/* Plan badges de color por tarjeta de precios */
/* Insignias tipo escudo con número */
.plan-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
  isolation: isolate;
}

/* Forma de escudo mediante clip-path + capa brillo */
.plan-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 95% 18%, 95% 58%, 50% 100%, 5% 58%, 5% 18%);
  border-radius: 10px; /* suaviza esquinas del polígono */
  z-index: -1;
  box-shadow: inset 0 -8px 12px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.15);
}

.plan-badge::after {
  content: '';
  position: absolute;
  inset: 3px;
  /* Brillo superior con la silueta del escudo */
  clip-path: polygon(50% 2%, 90% 20%, 84% 36%, 50% 52%, 16% 36%, 10% 20%);
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 55%, rgba(255,255,255,0) 100%);
  opacity: .9;
}

.plan-badge .rank { font-size: 28px; line-height: 1; }

/* Icono dentro de la insignia */
.plan-badge .rank-icon {
  width: 24px; /* reducido ~20% */
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.35));
}

.badge-basic::before {
  background: linear-gradient(90deg, rgb(1, 74, 173), rgb(201, 108, 230));
}

.badge-premium::before {
  background: linear-gradient(90deg, #1AF0A2, #4B8FE5);
}

.badge-ultra::before {
  background: linear-gradient(90deg, #d645ff, #0b0a0b);
}

/* Mostrar características del modal de tarifas en dos columnas */
.modal#pricingModal .detailed-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .modal#pricingModal .detailed-features-list {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
.modal#pricingModal .detailed-features-list li {
  margin-bottom: 0; /* el gap del grid controla el espaciado */
}

/* Efecto metálico plateado para la tarjeta BASIC */
.basic-steel { position: relative; overflow: hidden; }
.basic-steel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at -10% -10%, rgba(255,255,255,.28), rgba(255,255,255,0) 40%),
    radial-gradient(100% 100% at 110% 110%, rgba(255,255,255,.18), rgba(255,255,255,0) 40%);
  mix-blend-mode: soft-light; pointer-events: none;
}
.basic-steel::after {
  content: '';
  position: absolute; top: -40%; left: -40%; width: 180%; height: 180%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 30%, rgba(255,255,255,.35) 31% 33%, rgba(255,255,255,0) 34% 100%);
  transform: rotate(8deg); filter: blur(6px); opacity: .7; pointer-events: none;
}

/* Dos columnas en el modal de juegos */
.modal#gameModal .detailed-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .modal#gameModal .detailed-features-list {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}
.modal#gameModal .detailed-features-list li { margin-bottom: 0; }

/* Textura decorativa en el cuerpo de los modales de juegos (igual a tarifas) */
.modal#gameModal .game-modal-body {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,247,250,.94));
  overflow: hidden;
}
.modal#gameModal .game-modal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at -10% -10%, rgba(1,74,173,.22), transparent 60%),
    radial-gradient(60% 60% at 110% 110%, rgba(201,108,230,.18), transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(1,74,173,.08) 2px, transparent 2px);
  background-size: cover, cover, 22px 22px;
  background-position: center, center, 0 0;
  mix-blend-mode: normal;
  pointer-events: none;
}

/* Efecto de brillo sutil en el header del modal de juegos */
.game-modal-header { position: relative; overflow: hidden; }
.game-modal-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: headerShine 3.6s ease-in-out infinite;
}

@keyframes headerShine {
  0%   { left: -180px; }
  60%  { left: 110%; }
  100% { left: 110%; }
}

.basic-steel .pricing-footer .btn { 
  background: linear-gradient(135deg, #EEF2F7, #9AA3B2);
  border: 1px solid rgba(255,255,255,.55);
  color: #111827;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 10px 22px rgba(117,127,154,.28);
}
.basic-steel .pricing-footer .btn:hover { 
  filter: brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 12px 30px rgba(117,127,154,.35);
}

.premium-card .pricing-footer .btn { 
  background: linear-gradient(135deg, #6A11CB, #A56CF5);
  border: 1px solid rgba(255,255,255,.55);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 10px 22px rgba(106,17,203,.28);
}
.premium-card .pricing-footer .btn:hover { 
  filter: brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 12px 30px rgba(106,17,203,.35);
}

/* Botones estandarizados: forma pill y alineación con icono */
.basic-steel .pricing-footer .btn,
.premium-card .pricing-footer .btn,
.ultra-lux .pricing-footer .btn {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 26px;
}

/* Iconos en los botones según plan */
.basic-steel .pricing-footer .btn::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url('/00_shared/src/iconos/Basic_icon.png') center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
.premium-card .pricing-footer .btn::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url('/00_shared/src/iconos/Premium_icon.png') center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
.ultra-lux .pricing-footer .btn::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url('/00_shared/src/iconos/Ultra_icon.png') center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

/* Efecto metálico morado para la tarjeta PREMIUM */
.premium-card { position: relative; overflow: hidden; }
.premium-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at -10% -10%, rgba(255,255,255,.26), rgba(255,255,255,0) 42%),
    radial-gradient(100% 100% at 110% 110%, rgba(255,255,255,.18), rgba(255,255,255,0) 42%);
  mix-blend-mode: soft-light; pointer-events: none;
}
.premium-card::after {
  content: '';
  position: absolute; top: -40%; left: -40%; width: 180%; height: 180%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 30%, rgba(255,255,255,.35) 31% 33%, rgba(255,255,255,0) 34% 100%);
  transform: rotate(8deg); filter: blur(6px); opacity: .65; pointer-events: none;
}

/* Tipografía y tamaños mejorados para tarjetas de precios */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');

.pricing-card .pricing-header h3,
.pricing-card .price,
.pricing-card .period,
.pricing-card .currency,
.pricing-card .features-list li,
.pricing-card .pricing-footer .btn {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Títulos y precios ligeramente más grandes y legibles */
.pricing-card .pricing-header h3 {
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
}
.pricing-card .currency {
  font-size: clamp(1rem, 1.3vw, 1.5rem);
}
.pricing-card .price {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
}
.pricing-card .period {
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  opacity: 0.9;
}

/* Lista de características más clara */
.pricing-card .features-list li {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.55;
}
.pricing-card .features-list i {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

/* Botón: tipografía algo mayor para mejor legibilidad */
.pricing-card .pricing-footer .btn {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

/* Ajuste: iconos de los botones escalan con la fuente */
.basic-steel .pricing-footer .btn::before,
.premium-card .pricing-footer .btn::before,
.ultra-lux .pricing-footer .btn::before {
  width: 1.1em;
  height: 1.1em;
}

/* Contraste de checks en la tarjeta verde de EL RULO */
.game-card[data-game="rulo"] .game-features i {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  margin-right: 0.6rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.18);
}
.game-card[data-game="rulo"] .game-features li { gap: 0.25rem; }

/* Unificación de estilo para botones de "Ver Detalles" en tarjetas de juegos */
.game-card .game-footer .btn {
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  background: transparent !important;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.game-card .game-footer .btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.game-card .game-footer .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.game-card .game-footer .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* ===== PRICE FORMATTING OVERRIDES ===== */
/* Precios más pequeños y céntimos aún más pequeños (vw/vh) */
.pricing-card .price-integer { font-size: 2.6vw; font-weight: 900; }
.pricing-card .price-decimal { font-size: 1.6vw; opacity: .95; display: inline-block; }

/* Modal de tarifas */
.modal-price .price-integer { font-size: 3.2vw; font-weight: 900; }
.modal-price .price-decimal { font-size: 1.8vw; opacity: .95; display: inline-block; }

/* Ajustes responsivos para tablets/móviles */
@media (max-width: 991px) {
  .pricing-card .price-integer { font-size: 7.2vw; }
  .pricing-card .price-decimal { font-size: 4.2vw; }
  .modal-price .price-integer { font-size: 8.2vw; }
  .modal-price .price-decimal { font-size: 5vw; }
}

@media (max-width: 576px) {
  .pricing-card .price-integer { font-size: 8.6vw; }
  .pricing-card .price-decimal { font-size: 5.2vw; }
  .modal-price .price-integer { font-size: 9.6vw; }
  .modal-price .price-decimal { font-size: 5.8vw; }
}

/* Coming soon styling */
.coming-soon {
  position: relative;
  filter: grayscale(0.4) brightness(0.8);
  cursor: not-allowed;
}

.coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
  background-size: 20px 20px;
  animation: diagonal-stripes 2s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Asegurar que el badge no se vea afectado por los filtros de la tarjeta */
.coming-soon .coming-soon-badge {
  filter: none !important;
  opacity: 1 !important;
}

@keyframes diagonal-stripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

.coming-soon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #ff4757, #ff6b6b, #ff8e8e, #ffa726);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 15;
  box-shadow: 
    0 6px 20px rgba(255, 71, 87, 0.6),
    0 0 0 3px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: pulse-glow-vivid 1.5s infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.blurred-price {
  filter: blur(4px) brightness(0.3);
  color: rgba(255, 255, 255, 0.4) !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  font-size: 0.8em;
  letter-spacing: 0.2em;
  user-select: none;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.7);
  }
}

@keyframes pulse-glow-vivid {
  0%, 100% {
    box-shadow: 
      0 6px 20px rgba(255, 71, 87, 0.6),
      0 0 0 3px rgba(255, 255, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 
      0 8px 30px rgba(255, 71, 87, 0.8),
      0 0 0 5px rgba(255, 255, 255, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
  }
}

/* ===== TABLET OVERRIDES (solo 769–991px) ===== */
@media (min-width: 769px) and (max-width: 991px) {
  /* Grid a 2 columnas para juegos y tarifas en tablet */
  #juegos .row.g-4 > .col-md-4,
  #tarifas .row.g-4 > .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Carrusel: ancho y espacios más contenidos */
  .carousel .card { width: 92%; }
  .carousel .card-body { padding: 2vw; }
  .carousel .card-body img { max-height: 42vh; }
  .text-col { padding-left: 3vw; }

  /* Steps: imágenes y padding horizontales más comedidos */
  .step-card img { max-width: 14vw; }
  .horizontal-custom { padding-left: 5vw; padding-right: 5vw; }

  /* Toggle de precios: evitar desbordes del badge */
  .pricing-toggle-container { min-width: 360px; }
  .savings-badge {
    right: -4vw;
    margin-right: 0;
    font-size: 1.8vw;
    padding: 0.6vw 1.2vw;
  }

  /* Vídeo demo: controles acordes a tablet */
  .play-button { width: 7.5vw; height: 7.5vw; }
  .audio-button { width: 4.6vw; height: 4.6vw; top: 1.6vw; right: 1.6vw; }

  /* FAQ: ligera reducción de densidad */
  .faq-item .accordion-button { font-size: 1.05rem; padding: 1.25rem; }
}