:root {
  --brand-purple: #7028e4;
  --brand-violet: #49179c;
  --text-dark: #0f172a;
  --text-muted: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #0d091a;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 58, 237, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(59, 130, 246, 0.2), transparent),
    linear-gradient(180deg, #130d24 0%, #0a0614 100%);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

/* =========================================================
   1. CABECERA FLOTANTE
   ========================================================= */
.header-wrapper {
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(19, 13, 36, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1040px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.brand-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  background: linear-gradient(180deg, #ffffff 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.45) 0%, rgba(109, 40, 217, 0.3) 100%);
  box-shadow: 0 2px 10px rgba(109, 40, 217, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* =========================================================
   2. CONTENEDOR PRINCIPAL
   ========================================================= */
.main-wrapper {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-support {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e9d5ff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.badge-support .dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.panel-container {
  background: linear-gradient(165deg, rgba(32, 21, 56, 0.75) 0%, rgba(18, 12, 34, 0.85) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 36px 30px 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

/* =========================================================
   3. REJILLA & TARJETAS (COMPACTAS Y LOGOS DOMINANTES)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 12px 10px 14px 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 195px;
  border: 1.5px solid transparent;
  box-shadow: 
    0 10px 24px -4px rgba(0, 0, 0, 0.25),
    0 4px 8px -2px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.brand-icon-box {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  padding: 4px;
  z-index: 2;
}

.brand-icon-box img {
  max-width: 96%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: absolute;
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-icon-box .img-default {
  opacity: 1;
}

.brand-icon-box .img-active {
  opacity: 0;
}

.service-card:hover .brand-icon-box .img-default {
  opacity: 0;
}

.service-card:hover .brand-icon-box .img-active {
  opacity: 1;
  transform: scale(1.03);
}

.service-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-top: 4px;
  z-index: 2;
}

/* Temas por servicio al hacer hover */
.service-card.theme-netflix::before {
  background: linear-gradient(180deg, transparent 40%, rgba(229, 9, 20, 0.08) 100%);
}
.service-card.theme-netflix:hover {
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.35), 0 0 25px rgba(229, 9, 20, 0.3);
}
.service-card.theme-netflix::after {
  background: #E50914;
}

.service-card.theme-prime::before {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 168, 225, 0.1) 100%);
}
.service-card.theme-prime:hover {
  border-color: rgba(0, 168, 225, 0.5);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 168, 225, 0.35);
}
.service-card.theme-prime::after {
  background: #00A8E1;
}

.service-card.theme-disney::before {
  background: linear-gradient(180deg, transparent 40%, rgba(30, 107, 245, 0.1) 100%);
}
.service-card.theme-disney:hover {
  border-color: rgba(30, 107, 245, 0.45);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.35), 0 0 25px rgba(30, 107, 245, 0.35);
}
.service-card.theme-disney::after {
  background: #1e6bf5;
}

.service-card.theme-max::before {
  background: linear-gradient(180deg, transparent 40%, rgba(147, 51, 234, 0.1) 100%);
}
.service-card.theme-max:hover {
  border-color: rgba(147, 51, 234, 0.45);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.35), 0 0 25px rgba(147, 51, 234, 0.35);
}
.service-card.theme-max::after {
  background: #9333ea;
}

/* =========================================================
   4. BOTÓN WHATSAPP
   ========================================================= */
.btn-whatsapp-box {
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 14px 42px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.2px;
  box-shadow: 
    0 10px 25px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.55);
}

.btn-whatsapp svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* =========================================================
   5. PIE DE PÁGINA
   ========================================================= */
.footer-wrapper {
  text-align: center;
  padding: 24px 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper a {
  color: #c084fc;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-wrapper a:hover {
  color: #ffffff;
}

/* =========================================================
   6. FORMULARIOS Y PÁGINAS DE EXTRACCIÓN
   ========================================================= */
/* =========================================================
   6. FORMULARIOS Y PÁGINAS DE EXTRACCIÓN (ALTO CONTRASTE)
   ========================================================= */
.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c084fc;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.btn-volver:hover {
  color: #ffffff;
}

/* Banner del servicio compacto y centrado */
/* Banner del servicio más grande y dominante */
.service-banner-box {
  width: 100%;
  max-width: 250px;         /* Más ancho para que respire */
  height: 175px;            /* Mayor altura para que la N luzca grande */
  margin: 0 auto 28px auto;
  border-radius: 24px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Imagen maximizada con zoom óptico */
.service-banner-box img {
  width: 100%;
  height: 100%;
  max-height: 165px;        /* Escala la altura real de la imagen */
  max-width: 95%;
  object-fit: contain;
  transform: scale(1.35);   /* Zoom que elimina todo el espacio sobrante del PNG */
  mix-blend-mode: multiply;
}

.form-group {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
}

.input-email {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 9, 26, 0.85);
  color: #ffffff;
  font-size: 15.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  text-align: center;
}

.input-email:focus {
  border-color: #a855f7;
  background: rgba(18, 12, 36, 0.95);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.btn-enviar-accion {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #7028e4 0%, #581c87 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(112, 40, 228, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn-enviar-accion:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(112, 40, 228, 0.6);
}

/* Contenedor del resultado / loader */
#box-resultado-codigo {
  display: none;
  margin: 22px auto 0 auto;
  max-width: 460px;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(16, 11, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

/* Loader iluminado y legible */
#loader-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ff4d5a;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  text-shadow: 0 0 10px rgba(255, 77, 90, 0.4);
}

.spinner-loader {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 77, 90, 0.25);
  border-radius: 50%;
  border-top-color: #ff4d5a;
  animation: spinLoader 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

/* Botón pop-up con degradado vivo */
.btn-popup-action {
  width: 100%;
  background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
  color: #ffffff;
  font-weight: 800;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn-popup-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.6);
}

.codigo-display-box {
  border: 2px dashed rgba(229, 9, 20, 0.6);
  border-radius: 14px;
  padding: 20px;
  background: rgba(229, 9, 20, 0.08);
}

.codigo-num {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 12px;
  margin-bottom: 14px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-copiar {
  background-color: #e50914;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

/* =========================================================
   7. RESPONSIVE MÓVIL (COMPACTO COMO EN NAMECHEAP)
   ========================================================= */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 290px;
    margin: 0 auto 28px auto;
  }

  .service-card {
    height: 240px;
    padding: 16px 12px;
  }

  .brand-icon-box img {
    max-height: 165px;
  }

  .panel-container {
    padding: 24px 14px;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 310px;
    justify-content: center;
  }
}

/* =========================================================
   8. ESTILOS DE LA PÁGINA HORARIO
   ========================================================= */
.horario-panel {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.horario-card-box {
  background: rgba(13, 9, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.horario-item {
  padding: 8px 0;
}

.horario-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #c084fc;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.horario-time {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.horario-separator {
  height: 1px;
  width: 70%;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.horario-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}

.horario-note .note-icon {
  font-size: 20px;
}

.horario-note p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 420px;
  margin: 0 auto;
}

/* =========================================================
   9. ESTILOS DE LA PÁGINA CATÁLOGO & MODAL FULLSCREEN
   ========================================================= */
.catalogo-panel {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.catalogo-visor-box {
  width: 100%;
  max-width: 380px;
  max-height: 60vh;
  margin: 0 auto 14px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090611;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.catalogo-visor-box img {
  max-width: 100%;
  max-height: 58vh;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.15s ease-in-out;
}

/* Indicador sutil de clic para ampliar */
.visor-hint-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.visor-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.15);
}

.visor-progress-fill {
  width: 0%;
  height: 100%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

/* Tira de miniaturas */
.catalogo-thumbs-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.thumb-item {
  width: 48px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  opacity: 0.5;
  background: #000;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item.active {
  opacity: 1;
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transform: scale(1.06);
}

/* =========================================================
   MODAL DE VISOR EN PANTALLA COMPLETA
   ========================================================= */
.modal-visor-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 3, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

/* Forzar que se muestre cuando tenga la clase activo */
.modal-visor-overlay.activo {
  display: flex !important;
}

.modal-img-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-img-wrapper img {
  max-width: 85vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transition: opacity 0.12s ease-in-out;
}

.modal-counter {
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Botón cerrar modal */
.modal-btn-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10001;
}

.modal-btn-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.08);
}

/* Botones de navegación Anterior / Siguiente */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
  user-select: none;
}

.modal-nav-btn:hover {
  background: #a855f7;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

@media (max-width: 768px) {
  .catalogo-panel {
    padding: 18px 12px;
  }

  .catalogo-visor-box {
    max-width: 320px;
    max-height: 52vh;
  }

  .catalogo-visor-box img {
    max-height: 50vh;
  }

  .thumb-item {
    width: 42px;
    height: 56px;
  }

  .modal-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
}