.apollo-iptv-testimonials-section,
  .apollo-iptv-testimonials-section * {
    box-sizing: border-box;
  }

  .apollo-iptv-testimonials-section {
    --apollo-iptv-testimonials-overlay: rgba(0, 0, 0, 0.5);
    --apollo-iptv-testimonials-card-width: 320px;
    --apollo-iptv-testimonials-card-gap: 24px;
    --apollo-iptv-testimonials-accent: #1da3ff;
    --apollo-iptv-testimonials-star-gold: #fbbf24;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: clamp(56px, 7vw, 92px) 0;
    background-color: #05080a;
    background-image:
      linear-gradient(
        var(--apollo-iptv-testimonials-overlay),
        var(--apollo-iptv-testimonials-overlay)
      ),
      url("/wp-content/uploads/IPTV-Reviews.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }

  .apollo-iptv-testimonials-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    padding: 0 clamp(16px, 4vw, 28px);
  }

  .apollo-iptv-testimonials-heading {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
  }

  .apollo-iptv-testimonials-heading h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  .apollo-iptv-testimonials-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.84);
    font-family: inherit;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 450;
    line-height: 1.7;
  }

  .apollo-iptv-testimonials-marquee {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    padding: 4px 0;
  }

  .apollo-iptv-testimonials-marquee::before,
  .apollo-iptv-testimonials-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: min(120px, 12vw);
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .apollo-iptv-testimonials-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent);
  }

  .apollo-iptv-testimonials-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.38), transparent);
  }

  .apollo-iptv-testimonials-track {
    display: flex;
    width: max-content;
    gap: var(--apollo-iptv-testimonials-card-gap);
    will-change: transform;
  }

  .apollo-iptv-testimonials-track.is-ready {
    animation: apollo-iptv-testimonials-marquee 62s linear infinite;
  }

  .apollo-iptv-testimonials-group {
    display: flex;
    gap: var(--apollo-iptv-testimonials-card-gap);
  }

  .apollo-iptv-testimonials-marquee:hover .apollo-iptv-testimonials-track,
  .apollo-iptv-testimonials-marquee:focus-within .apollo-iptv-testimonials-track {
    animation-play-state: paused;
  }

  .apollo-iptv-testimonial-card {
    width: var(--apollo-iptv-testimonials-card-width);
    min-width: var(--apollo-iptv-testimonials-card-width);
    flex: 0 0 var(--apollo-iptv-testimonials-card-width);
    min-height: 236px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(8, 10, 12, 0.68);
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    contain: content;
  }

  .apollo-iptv-testimonial-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px;
  }

  .apollo-iptv-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(29, 163, 255, 0.38);
    background:
      linear-gradient(
        135deg,
        hsl(var(--hue, 140) 62% 34%),
        hsl(var(--hue, 140) 52% 22%)
      );
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    user-select: none;
  }

  .apollo-iptv-testimonial-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .apollo-iptv-testimonial-name {
    margin: 0 0 5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
  }

  .apollo-iptv-verified-icon {
    position: relative;
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--apollo-iptv-testimonials-accent);
    vertical-align: middle;
    flex-shrink: 0;
  }

  .apollo-iptv-verified-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -58%) rotate(-45deg);
    transform-origin: center;
  }

  .apollo-iptv-stars {
    color: var(--apollo-iptv-testimonials-star-gold);
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
  }

  .apollo-iptv-testimonial-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-family: inherit;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.75;
  }

  @keyframes apollo-iptv-testimonials-marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }

    100% {
      transform: translate3d(calc(-50% - (var(--apollo-iptv-testimonials-card-gap) / 2)), 0, 0);
    }
  }

  @media (max-width: 1024px) {
    .apollo-iptv-testimonials-section {
      padding: clamp(52px, 8vw, 76px) 0;
    }

    .apollo-iptv-testimonials-track.is-ready {
      animation-duration: 52s;
    }
  }

  @media (max-width: 767px) {
    .apollo-iptv-testimonials-section {
      --apollo-iptv-testimonials-card-width: 282px;
      --apollo-iptv-testimonials-card-gap: 16px;

      padding: 48px 0;
      background-position: center top;
    }

    .apollo-iptv-testimonials-container {
      margin-bottom: 30px;
      padding: 0 14px;
    }

    .apollo-iptv-testimonial-card {
      min-height: 244px;
      padding: 19px;
      border-radius: 16px;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .apollo-iptv-avatar {
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      font-size: 14px;
    }

    .apollo-iptv-testimonial-text {
      font-size: 13.5px;
      line-height: 1.7;
    }

    .apollo-iptv-testimonials-track.is-ready {
      animation-duration: 42s;
    }
  }

  @media (max-width: 420px) {
    .apollo-iptv-testimonials-section {
      --apollo-iptv-testimonials-card-width: 268px;
    }

    .apollo-iptv-testimonials-heading h2 {
      font-size: 26px;
    }

    .apollo-iptv-testimonials-heading p {
      font-size: 15px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .apollo-iptv-testimonials-track {
      animation: none !important;
      transform: none !important;
      width: auto;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 0 16px 4px;
    }

    .apollo-iptv-testimonials-group[aria-hidden="true"] {
      display: none;
    }

    .apollo-iptv-testimonial-card {
      scroll-snap-align: start;
    }
  }
