/* Variables globales */
:root {
  --primary-color: #86ff05;
  --secondary-color: #a0f42a;
  --dark-bg: #000000;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border-light: rgba(255, 255, 255, 0.05);
  --glow-color: rgba(160, 244, 42, 0.3);
  --transition-standard: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-reveal: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Premium Channels Section */
.premium-channels-section {
  background-color: var(--dark-bg);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center; /* Asegura que todo el contenido esté centrado por defecto */
}

/* Container styles */
.containera {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center; /* Asegura que todo el contenido del contenedor esté centrado */
}

/* Background elements */
.channels-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.channels-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.03;
  filter: blur(40px);
}

.particle-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -100px;
  animation: floatParticle 25s ease-in-out infinite;
}

.particle-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: 10%;
  animation: floatParticle 20s ease-in-out infinite reverse;
  animation-delay: 5s;
}

.particle-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 60%;
  animation: floatParticle 18s ease-in-out infinite;
  animation-delay: 2s;
}

.particle-4 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 20%;
  animation: floatParticle 22s ease-in-out infinite alternate;
  animation-delay: 3s;
}

.channels-glow {
  position: absolute;
  background: radial-gradient(circle, rgba(160, 244, 42, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.glow-1 {
  width: 800px;
  height: 800px;
  top: -400px;
  left: -200px;
  opacity: 0.3;
}

.glow-2 {
  width: 600px;
  height: 600px;
  bottom: -300px;
  right: -100px;
  opacity: 0.2;
}

/* Grid lines background */
.channels-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.premium-channels-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(160, 244, 42, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Section header */
.channels-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-reveal);
  width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

.channels-header.active {
  opacity: 1;
  transform: translateY(0);
}

.sections-tag {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  background: rgba(160, 244, 42, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 7.5px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  /* Eliminar cualquier margen izquierdo o derecho que pueda descentrar */
  margin-left: auto;
  margin-right: auto;
}

.sections-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2s infinite;
}

.channels-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(160, 244, 42, 0.2);
  /* Asegurar que el título esté centrado */
  width: auto;
  text-align: center;
}

.channels-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 3px;
}

.sections-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-align: center; /* Asegurar que el subtítulo esté centrado */
  padding: 0 15px; /* Añadir padding para evitar que el texto toque los bordes en móviles */
}

.channels-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.channels-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 244, 42, 0.3), rgba(160, 244, 42, 0.5));
  flex-grow: 1;
}

.channels-divider span:last-child {
  background: linear-gradient(90deg, rgba(160, 244, 42, 0.5), rgba(160, 244, 42, 0.3), transparent);
}

.divider-icon {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(160, 244, 42, 0.1);
  box-shadow: 0 0 15px rgba(160, 244, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.divider-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    rgba(160, 244, 42, 0.3), 
    transparent 30%
  );
  animation: rotate 4s linear infinite;
}

/* Carousel container */
.premium-carousel-container {
  position: relative;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-reveal) 0.2s;
  width: 100%; /* Asegurar que ocupe todo el ancho disponible */
}

.premium-carousel-container.active {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Carousel */
.premium-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2.5rem 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.premium-carousel-wrapper:hover {
  box-shadow: 0 0 30px rgba(160, 244, 42, 0.1);
  border-color: rgba(160, 244, 42, 0.2);
}

.carousel-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
  z-index: -1;
}

.premium-carousel-wrapper::before,
.premium-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.premium-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #050505, transparent);
}

.premium-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #050505, transparent);
}

.premium-carousel-track {
  display: flex;
  gap: 40px;
  animation: scrollPremiumLogos 40s linear infinite;
  padding: 20px 0;
  justify-content: center; /* Centrar los elementos del carrusel */
}

.premium-carousel-track:hover {
  animation-play-state: paused;
}

/* Channel logos */
.channel-logo {
  flex: 0 0 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-standard);
  transform-origin: center;
  cursor: default;
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(160, 244, 42, 0.118) 0%, transparent 70%);
  transition: opacity 0.5s ease;
  border-radius: 8px;
  z-index: -1;
  opacity: 0;
}

.channel-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
  filter: brightness(0) invert(1); /* Makes logos white */
  transform-origin: center;
}

.channel-tooltip {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease-out;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center; /* Asegurar que el texto del tooltip esté centrado */
}

.channel-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

.channel-logo::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 3px;
}

.channel-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(160, 244, 42, 0.3);
  z-index: 5;
  border-color: rgba(160, 244, 42, 0.3);
  background: rgba(20, 20, 20, 0.5);
}

.channel-logo:hover .logo-glow {
  opacity: 1;
}

.channel-logo:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.channel-logo:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.channel-logo:hover .channel-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Carousel progress bar */
.carousel-progress {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  animation: progressAnimation 40s linear infinite;
}

.premium-carousel-track:hover ~ .carousel-progress .progress-bar {
  animation-play-state: paused;
}

/* Channels Counter */
.channels-counter {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-reveal) 0.4s;
  width: 100%; /* Asegurar que ocupe todo el ancho disponible */
}

.channels-counter.active {
  opacity: 1;
  transform: translateY(0);
}

.counter-item {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-standard);
}

.counter-item.active {
  animation: pulse 3s infinite;
}

.counter-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 244, 42, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.counter-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 5px rgba(160, 244, 42, 0.3));
}

.counter-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
  stroke-linecap: round;
}

.counter-circle-progress {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.counter-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease, color 0.5s ease;
  filter: drop-shadow(0 0 5px rgba(160, 244, 42, 0.3));
}

.counter-content {
  position: relative;
  z-index: 2;
  text-align: center; /* Asegurar que el contenido del contador esté centrado */
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.2rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.counter-number::after {
  content: '+';
  position: absolute;
  top: 0;
  right: -20px;
  font-size: 2rem;
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px rgba(160, 244, 42, 0.3));
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  transition: color 0.5s ease;
  text-align: center; /* Asegurar que la etiqueta esté centrada */
}

.counter-item:hover {
  transform: translateY(-5px);
}

.counter-item:hover .counter-glow {
  opacity: 1;
}

.counter-item:hover .counter-icon {
  transform: scale(1.2);
  color: var(--text-light);
}

.counter-item:hover .counter-label {
  color: var(--text-light);
}

/* CTA Button */
.channels-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-reveal) 0.6s;
  margin-top: 35px;
  width: 100%; /* Asegurar que ocupe todo el ancho disponible */
}

.channels-cta.active {
  opacity: 1;
  transform: translateY(0);
}

.premium-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Centrar el contenido del botón */
  gap: 12px;
  padding: 1.2rem 3.5rem;
  background-color: transparent;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: var(--transition-standard);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  text-align: center; /* Asegurar que el texto del botón esté centrado */
}

.button-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(160, 244, 42, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.button-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.button-particles span {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.button-particles span:nth-child(1) {
  top: 20%;
  left: 20%;
}

.button-particles span:nth-child(2) {
  top: 50%;
  left: 50%;
}

.button-particles span:nth-child(3) {
  top: 70%;
  left: 30%;
}

.premium-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.premium-cta-button:hover {
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(160, 244, 42, 0.4);
  border-color: transparent;
}

.premium-cta-button:hover .button-glow {
  opacity: 1;
}

.premium-cta-button:hover .button-particles span {
  opacity: 0.6;
  transform: scale(15);
}

.premium-cta-button:hover .button-particles span:nth-child(1) {
  transform: scale(10) translate(10px, -10px);
}

.premium-cta-button:hover .button-particles span:nth-child(2) {
  transform: scale(15) translate(-5px, 5px);
}

.premium-cta-button:hover .button-particles span:nth-child(3) {
  transform: scale(8) translate(5px, 10px);
}

.premium-cta-button:hover::before {
  width: 100%;
}

.premium-cta-button svg {
  transition: transform 0.3s ease;
}

.premium-cta-button:hover svg {
  transform: translateX(5px);
}

.premium-cta-button:active {
  transform: translateY(-2px) scale(0.98);
}

/* Animations */
@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -30px);
  }
  50% {
    transform: translate(0, -50px);
  }
  75% {
    transform: translate(-30px, -20px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes scrollPremiumLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 10 - 40px * 10)); /* Adjust based on logo width and gap */
  }
}

@keyframes progressAnimation {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(160, 244, 42, 0.3);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(160, 244, 42, 0.5);
  }
}

/* Reveal animation class */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-reveal);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effects */
.divider-icon:hover {
  animation: glowPulse 2s infinite;
}

.channel-logo.focused {
  z-index: 10;
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(160, 244, 42, 0.5);
}

.channel-logo.adjacent-blur {
  filter: blur(2px) grayscale(100%) brightness(0.5);
  transform: scale(0.95);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .containera {
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .premium-channels-section {
    padding: 5rem 0;
  }
  
  .channels-counter {
    gap: 3rem;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
  
  .counter-item {
    width: 150px;
    height: 150px;
  }
  
  .counter-circle-progress,
  .counter-circle-bg {
    stroke-width: 6;
  }
  
  .counter-icon {
    font-size: 1.5rem;
  }
  
  .premium-cta-button {
    padding: 1rem 2.5rem;
  }
  
  /* Eliminar cualquier margen específico que pueda descentrar */
  .sections-tag,
  .sections-subtitle,
  .channels-header h2 {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .premium-channels-section {
    padding: 4rem 0;
  }
  
  .sections-tag {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .sections-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .channel-logo {
    flex: 0 0 120px;
    height: 60px;
    padding: 10px;
  }
  
  .premium-carousel-track {
    gap: 30px;
  }
  
  @keyframes scrollPremiumLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 10 - 30px * 10));
    }
  }
  
  .channels-counter {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .counter-item {
    margin-bottom: 1rem;
  }
  
  .premium-carousel-wrapper::before,
  .premium-carousel-wrapper::after {
    width: 100px;
  }
  
  .carousel-progress {
    width: 150px;
  }
}

@media (max-width: 576px) {
  .channels-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    width: 100%; /* Asegurar que ocupe todo el ancho en móviles */
  }
  
  .channels-counter {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .sections-subtitle {
    padding: 0 20px; /* Aumentar el padding en pantallas pequeñas */
  }
}

@media (max-width: 480px) {
  .premium-channels-section {
    padding: 3rem 0;
  }
  
  .channel-logo {
    flex: 0 0 100px;
    height: 50px;
    padding: 8px;
  }
  
  .premium-carousel-track {
    gap: 20px;
  }
  
  @keyframes scrollPremiumLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100px * 10 - 20px * 10));
    }
  }
  
  .counter-item {
    width: 130px;
    height: 130px;
  }
  
  .counter-number {
    font-size: 2rem;
  }
  
  .counter-number::after {
    font-size: 1.4rem;
    right: -15px;
  }
  
  .counter-label {
    font-size: 0.8rem;
  }
  
  .premium-cta-button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  
  .premium-carousel-wrapper::before,
  .premium-carousel-wrapper::after {
    width: 60px;
  }
  
  .carousel-progress {
    width: 120px;
  }
  
  /* Ajustes adicionales para pantallas muy pequeñas */
  .sections-tag {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }
  
  .channels-header h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  
  .sections-subtitle {
    font-size: 0.9rem;
    padding: 0 15px;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 360px) {
  .premium-channels-section {
    padding: 2.5rem 0;
  }
  
  .channel-logo {
    flex: 0 0 90px;
    height: 45px;
  }
  
  .premium-carousel-track {
    gap: 15px;
  }
  
  @keyframes scrollPremiumLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-90px * 10 - 15px * 10));
    }
  }
  
  .counter-item {
    width: 110px;
    height: 110px;
    margin-bottom: 1.5rem;
  }
  
  .counter-number {
    font-size: 1.8rem;
  }
  
  .counter-number::after {
    font-size: 1.2rem;
    right: -12px;
  }
  
  .counter-icon {
    font-size: 1.3rem;
  }
  
  .premium-cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  /* Asegurar que los textos estén bien centrados en pantallas muy pequeñas */
  .channels-header,
  .sections-subtitle,
  .counter-content,
  .channels-cta {
    width: 100%;
    text-align: center;
  }
  
  /* Ajustar el espaciado vertical */
  .channels-header {
    margin-bottom: 3rem;
  }
  
  .premium-carousel-container {
    margin-bottom: 3.5rem;
  }
  
  .channels-counter {
    margin-bottom: 3.5rem;
  }
}

/* Ajustes para orientación horizontal en dispositivos móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .premium-channels-section {
    padding: 2rem 0;
  }
  
  .channels-header {
    margin-bottom: 2.5rem;
  }
  
  .premium-carousel-container {
    margin-bottom: 2.5rem;
  }
  
  .channels-counter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .counter-item {
    width: 120px;
    height: 120px;
  }
  
  /* Ajustar espaciado vertical para que quepa mejor en pantallas con poca altura */
  .sections-tag {
    margin-bottom: 1rem;
  }
  
  .sections-subtitle {
    margin-bottom: 1.5rem;
  }
  
  .premium-carousel-wrapper {
    padding: 1.5rem 0;
  }
  
  /* Asegurar que todo el contenido sea visible sin necesidad de scroll excesivo */
  .channels-cta {
    margin-top: 20px;
  }
}

/* Ajustes para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Mejorar la nitidez de los bordes y sombras */
  .channel-logo,
  .premium-carousel-wrapper,
  .premium-cta-button,
  .sections-tag {
    border-width: 1px;
  }
  
  /* Optimizar efectos de brillo para pantallas de alta densidad */
  .counter-icon,
  .counter-number::after {
    filter: drop-shadow(0 0 3px rgba(160, 244, 42, 0.3));
  }
}

/* Ajustes para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #86ff05;
    --secondary-color: #a0f42a;
    --dark-bg: #000000;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-light: rgba(255, 255, 255, 0.05);
  }
}

/* Ajustes para preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .premium-carousel-track {
    animation: none;
    transform: translateX(0);
  }
  
  .progress-bar {
    animation: none;
    width: 100%;
  }
  
  .particle-1,
  .particle-2,
  .particle-3,
  .particle-4 {
    animation: none;
  }
  
  .divider-icon::after {
    animation: none;
  }
  
  .sections-tag::before {
    animation: none;
  }
  
  .counter-item.active {
    animation: none;
  }
  
  /* Simplificar transiciones */
  .channel-logo,
  .premium-cta-button,
  .counter-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* Ajustes para asegurar que los textos estén perfectamente centrados */
.channels-header,
.sections-tag,
.sections-subtitle,
.channels-counter,
.channels-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.channels-header h2,
.sections-subtitle {
  max-width: 100%;
  width: auto;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Asegurar que los contenedores principales mantengan el centrado */
.containera {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Corregir cualquier problema de alineación en el carrusel */
.premium-carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.premium-carousel-wrapper {
  max-width: 100%;
}

/* Asegurar que los contadores estén bien centrados */
.counter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Corregir la clase channels-headerr que aparecía en el código original */
.channels-headerr h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(160, 244, 42, 0.2);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
