/* Component: iptv-testimonials-carousel.css */
.iptv-tc-section {
    width: 100%;
    padding: 60px 20px;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.iptv-tc-header {
    text-align: center;
    margin-bottom: 40px;
}

.iptv-tc-heading {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: #050505;
    margin: 0 0 15px;
    line-height: 1.2;
}

.iptv-tc-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.iptv-tc-rating-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.iptv-tc-stars {
    display: flex;
    gap: 4px;
}

.iptv-tc-star {
    width: 20px;
    height: 20px;
    color: #f97316;
}

.iptv-tc-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.iptv-tc-swiper {
    padding-bottom: 50px !important;
    /* Space for dots */
    overflow: hidden;
    /* Required Swiper boundary */
}

/* Swiper native CSS lazy-load fallbacks (pre-FOUC) */
.iptv-tc-swiper:not(.swiper-initialized) .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    gap: 20px;
}

.iptv-tc-swiper:not(.swiper-initialized) .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
    transition-property: transform;
}

@media (min-width: 768px) {
    .iptv-tc-swiper:not(.swiper-initialized) .swiper-slide {
        width: calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .iptv-tc-swiper:not(.swiper-initialized) .swiper-slide {
        width: calc(25% - 15px);
    }
}

/* Card Design */
.iptv-tc-slide {
    display: flex;
    justify-content: center;
}

.iptv-tc-card {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 Vertical Portrait Ratio */
    border-radius: 24px;
    overflow: hidden;
    background-color: #000000;
    /* Neutral background for letterboxing */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: grab;
}

.iptv-tc-card:active {
    cursor: grabbing;
    transform: scale(0.98);
    /* Satisfying tactile click feel */
}

.iptv-tc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.12);
    /* Elegant float, no persistent shadow */
}

.iptv-tc-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 45% !important;
    /* Tweak Y percentage to control top/bottom cropping */
    transform: scale(1.06) !important;
    /* Tweak scale (1.05 - 1.10) to eliminate any side edges */
    /* Show full screenshot filling the card with slight premium zoom */
    z-index: 1;
    display: block;
}

.iptv-tc-card-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
}

.iptv-tc-logo-wrapper {
    align-self: center;
    text-align: center;
    height: 40px;
}

.iptv-tc-card-logo {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Dots Navigation */
.iptv-tc-swiper .swiper-pagination {
    bottom: 0 !important;
}

.iptv-tc-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.iptv-tc-swiper .swiper-pagination-bullet-active {
    background: #e11d48;
    width: 30px;
    border-radius: 10px;
}

/* Responsiveness overrides internally handled by Swiper breakpoints, basic bounds here */
@media (max-width: 600px) {
    .iptv-tc-card {
        max-width: 320px;
        margin: 0 auto;
    }
}