/* =========================================
   High-End Premium Single IPTV Panel Styles
   Dark Theme, Glassmorphism, Neon Accents
========================================= */

/* Hide the default theme page headers and breadcrumbs */
body.single-iptv_panel .banner-1,
body.single-iptv_panel .page-title-area,
body.single-iptv_panel .page-header,
body.single-iptv_panel .breadcumb-area,
body.single-iptv_panel header.entry-header {
    display: none !important;
}

body.single-iptv_panel {
    background-color: #08080C !important;
    background-image: radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 61, 255, 0.05), transparent 25%);
    color: #e2e8f0;
}

body.single-iptv_panel .site-main,
body.single-iptv_panel #primary {
    background-color: transparent !important;
}

body.single-iptv_panel,
body.single-iptv_panel * {
    box-sizing: border-box;
}

body.single-iptv_panel {
    overflow-x: hidden;
}

body.single-iptv_panel img,
body.single-iptv_panel svg {
    max-width: 100%;
    height: auto;
}

.iptv-single-panel-wrapper {
    background-color: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 110px 20px 50px 20px;
    /* Push the whole container down below fixed header */
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ... existing CSS below ... */

/* ==================
   RESPONSIVE
================== */
/* ==================
   TABLET (max-width: 991px)
================== */
@media (max-width: 991px) {

    .iptv-single-panel-wrapper {
        padding: 90px 15px 50px 15px;
    }

    .iptv-header-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .iptv-logo {
        width: 140px;
        height: 140px;
        border-radius: 24px;
    }

    .iptv-meta-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .iptv-rating-box {
        justify-content: center;
    }

    .iptv-title {
        font-size: 30px;
        text-align: center;
    }

    .iptv-screenshots-grid,
    .iptv-reviews-grid,
    .iptv-scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .iptv-info-grid {
        grid-template-columns: 1fr;
    }

    .iptv-pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .iptv-pricing-card.featured-tier {
        grid-column: 1 / -1;
        transform: scale(1);
    }

    .iptv-pricing-card.featured-tier:hover {
        transform: translateY(-5px);
    }

    .iptv-score-card {
        text-align: center !important;
    }

    .iptv-divider {
        margin: 40px 0;
    }

    .iptv-related-card {
        width: 28%;
    }
}

/* ==================
   MOBILE (max-width: 768px) - !important to override any theme/Bootstrap CSS
================== */
@media (max-width: 768px) {

    .iptv-single-panel-wrapper {
        padding: 75px 12px 40px 12px !important;
    }

    .iptv-header-section {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 0 20px 0 !important;
        margin-bottom: 30px !important;
        gap: 20px !important;
    }

    .iptv-logo {
        width: 140px !important;
        height: 140px !important;
        border-radius: 30px !important;
    }

    .iptv-title {
        font-size: 42px !important;
        letter-spacing: -1px !important;
        margin-bottom: 12px !important;
    }

    .iptv-subtitle-main {
        font-size: 14px !important;
    }

    .iptv-units-sold.badge {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }

    .iptv-meta-row-top {
        margin-bottom: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .iptv-rating-box {
        justify-content: center !important;
    }

    .iptv-section-title {
        font-size: 18px !important;
        margin-bottom: 18px !important;
    }

    /* FORCE ALL GRIDS TO SINGLE COLUMN */
    .iptv-screenshots-grid,
    .iptv-reviews-grid,
    .iptv-info-grid,
    .iptv-scores-grid,
    .iptv-metrics-grid,
    .iptv-pricing-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .iptv-desc-content {
        margin-top: 30px !important;
    }

    .iptv-review-card {
        padding: 18px !important;
    }

    .iptv-review-header {
        margin-bottom: 15px !important;
    }

    .iptv-big-score .score {
        font-size: 46px !important;
    }

    .iptv-score-card {
        padding: 18px !important;
        text-align: center !important;
    }

    .iptv-metric-icon svg {
        width: 32px !important;
        height: 32px !important;
    }

    .iptv-score-big,
    .iptv-metric-count {
        font-size: 26px !important;
    }

    .iptv-metric-label {
        font-size: 13px !important;
    }

    /* PRICING CARDS */
    .iptv-pricing-card.featured-tier {
        transform: none !important;
        grid-column: auto !important;
    }

    .iptv-pricing-card {
        padding: 28px 20px !important;
        border-radius: 20px !important;
    }

    .tier-price {
        font-size: 36px !important;
    }

    .tier-name {
        font-size: 18px !important;
    }

    .iptv-divider {
        margin: 25px 0 !important;
    }

    /* RELATED PANELS (Slider) */
    .iptv-related-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 20px !important;
        -webkit-overflow-scrolling: touch !important;
        /* Prevent body scroll capturing when swiping grid */
        overscroll-behavior-x: contain !important;
    }

    .iptv-related-card {
        width: 130px !important;
        min-width: 130px !important;
        flex: 0 0 auto !important;
        scroll-snap-align: start !important;
    }

    .iptv-related-icon {
        border-radius: 14px !important;
    }

    .iptv-related-title {
        font-size: 13px !important;
    }

    .iptv-related-stars {
        font-size: 10px !important;
    }
}

.iptv-container {
    max-width: 1050px;
    margin: 0 auto;
    min-width: 0;
    overflow: hidden;
}

/* Prevent all grid and flex children from overflowing their cells */
.iptv-section,
.iptv-screenshots-grid>*,
.iptv-reviews-grid>*,
.iptv-scores-grid>*,
.iptv-metrics-grid>*,
.iptv-pricing-grid>*,
.iptv-info-grid>* {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Typography Overrides */
.iptv-single-panel-wrapper h1,
.iptv-single-panel-wrapper h2,
.iptv-single-panel-wrapper h3,
.iptv-single-panel-wrapper h4,
.iptv-single-panel-wrapper h5,
.iptv-single-panel-wrapper h6 {
    color: #ffffff;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.iptv-single-panel-wrapper p {
    color: #94a3b8;
    font-size: 16px;
}

.iptv-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 60px 0;
}

.text-muted {
    color: #64748b !important;
}

/* ==================
   1. HEADER SECTION (Minimalist Typography Design)
================== */
.iptv-header-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 20px 0;
    max-width: 100%;
}

.iptv-logo {
    width: 200px;
    height: 200px;
    min-width: 0;
    flex-shrink: 0;
    max-width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background-color: #000;
}

.iptv-header-info {
    flex: 1;
}

.iptv-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: -2px;
    color: #202124;
    line-height: 1.1;
}

.iptv-meta-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-family: inherit;
}

.iptv-subtitle-main {
    font-size: 16px;
    color: #5f6368;
    font-weight: 500;
}

.iptv-units-sold.badge {
    background: transparent;
    color: #70757a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-icon {
    width: 13px;
    height: 13px;
    color: #70757a;
    stroke-width: 2.5;
}

.iptv-meta-row-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.iptv-hashtag {
    font-size: 15px;
    color: #1a73e8;
    font-weight: 600;
}

.iptv-rating-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
}

.iptv-stars {
    color: #fbbc04;
    letter-spacing: 1px;
    font-size: 14px;
}

.iptv-rating-number {
    font-weight: 600;
    font-size: 12px;
    color: #5f6368;
}

.iptv-review-count {
    font-size: 12px;
    color: #70757a;
    font-weight: 400;
}

/* ==================
   2. SCREENSHOTS GRID
================== */
.iptv-section-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.iptv-section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 32px;
    background: #0066FF;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

.iptv-desc-content {
    text-align: center;
    max-width: 900px;
    margin: 50px auto 0 auto;
    /* Added top spacing for Description section */
}

.iptv-screenshots-slider {
    width: 100%;
    padding-bottom: 60px;
    /* Space for pagination dots */
}

.iptv-screenshots-slider .swiper-pagination {
    bottom: 5px;
}

.iptv-screenshots-slider .swiper-pagination-bullet {
    background: #475569;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
    display: none !important;
    /* Hide inactive dots */
}

.iptv-screenshots-slider .swiper-pagination-bullet-active {
    background: #0066FF;
    width: 40px;
    border-radius: 12px;
    display: inline-block !important;
    /* Only show active dot */
}

.iptv-screenshot {
    width: 100%;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.iptv-screenshot:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(0, 102, 255, 0.4);
}

/* Lightbox Styles */
#iptv-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 12, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#iptv-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#iptv-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#iptv-lightbox.active img {
    transform: scale(1);
}

#iptv-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    padding: 10px;
}

#iptv-lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #0066FF;
}

/* Make images look clickable */
.iptv-screenshot {
    cursor: pointer;
}


/* ==================
   3. RATINGS & REVIEWS
================== */
.iptv-review-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.iptv-big-score {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.iptv-big-score .score {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -3px;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.iptv-big-score .out-of {
    font-size: 16px;
    color: #64748b;
    font-weight: 700;
}

.iptv-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.iptv-review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.iptv-review-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.iptv-review-card .iptv-stars {
    margin-bottom: 10px;
    font-size: 15px;
}

.iptv-review-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.iptv-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

/* ==================
   4. PANEL INFORMATIONS
================== */
.iptv-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.iptv-info-column {
    background: rgba(20, 20, 30, 0.4);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.iptv-info-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iptv-info-subtitle::before {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background: #0066FF;
    border-radius: 5px;
}

.iptv-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.iptv-info-list li {
    margin-bottom: 20px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.iptv-info-list strong {
    display: block;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

.tech-list li {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-weight: 500;
}

/* ==================
   5. OUR REVIEW
================== */
.iptv-scores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.iptv-score-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.iptv-score-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #8b3dff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iptv-score-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 102, 255, 0.3);
    /* Blue accent on hover */
}

.iptv-metric-icon {
    margin-bottom: 12px;
}

.iptv-metric-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
}

.iptv-metric-count {
    font-size: 32px;
    font-weight: 900;
    color: #0066FF;
    line-height: 1;
    margin-bottom: 8px;
}

.iptv-metric-label {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
}

.iptv-score-big {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 15px;
}

.iptv-score-big .out-of {
    font-size: 16px;
    color: #64748b;
    margin-left: 5px;
    font-weight: 600;
}

.iptv-score-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.iptv-score-desc {
    font-size: 13px;
    color: #64748b;
}

/* ==================
   6. PRICING TIERS
================== */
.iptv-pricing-section-header {
    text-align: center;
    margin-bottom: 10px;
}

.iptv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
    margin-top: 40px;
    perspective: 1000px;
}

.iptv-pricing-card {
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.95), rgba(10, 10, 25, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.iptv-pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.iptv-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.iptv-pricing-card.featured-tier {
    background: linear-gradient(145deg, #0a1628, #060e1e);
    border: 1px solid rgba(0, 102, 255, 0.5);
    transform: scale(1.04);
    box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.2), 0 30px 60px rgba(0, 102, 255, 0.2);
    z-index: 2;
}

.iptv-pricing-card.featured-tier::before {
    content: '✦ MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0066FF, #38b6ff);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 2px;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
}

.iptv-pricing-card.featured-tier:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.4), 0 40px 80px rgba(0, 102, 255, 0.3);
}

/* Tier Icon / Badge */
.tier-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
}

.featured-tier .tier-icon {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.tier-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.tier-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 22px;
    min-height: 36px;
    line-height: 1.5;
}

.featured-tier .tier-desc {
    color: #94a3b8;
}

/* Divider above price */
.tier-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 0 22px;
    border: none;
}

.featured-tier .tier-divider {
    background: rgba(0, 102, 255, 0.2);
}

.tier-price {
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-tier .tier-price {
    background: linear-gradient(135deg, #4facfe 0%, #0066FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-period {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 22px;
    display: block;
}

.tier-btn-wrapper {
    margin-bottom: 24px;
}

.tier-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.tier-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.02);
}

.featured-tier .tier-btn {
    background: linear-gradient(135deg, #0066FF, #0099ff);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.featured-tier .tier-btn:hover {
    background: linear-gradient(135deg, #0052cc, #0080dd);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.5);
    transform: scale(1.02);
}

/* Features list */
.tier-features-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 14px;
    text-align: left;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.tier-features li {
    font-size: 14px;
    margin-bottom: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.5;
}

.featured-tier .tier-features li {
    color: #cbd5e1;
}

.star-icon {
    color: #0066FF;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.featured-tier .star-icon {
    color: #fff;
    background: rgba(0, 102, 255, 0.4);
}

/* ==================
   7. RELATED PANELS
================== */
.iptv-related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 25px;
    /* space for scrollbar */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* Custom, sleek scrollbar for desktop slider */
.iptv-related-grid::-webkit-scrollbar {
    height: 6px;
}

.iptv-related-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.iptv-related-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.4);
    border-radius: 4px;
}

.iptv-related-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.8);
}

.iptv-related-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    width: 160px;
    scroll-snap-align: start;
}

.iptv-related-card:hover {
    transform: translateY(-5px);
}

.iptv-related-card:hover .iptv-related-icon {
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);
    border-color: rgba(0, 102, 255, 0.4);
}

.iptv-related-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: #111;
    margin-bottom: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.iptv-related-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

.iptv-related-stars {
    color: #fbbf24;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
}

/* ==================
   8. COMMENTS / LIGHTBOX
================== */
.iptv-comments-wrapper {
    color: #e2e8f0;
}

.iptv-comments-wrapper h2.comments-title,
.iptv-comments-wrapper h3.comment-reply-title {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 800;
}

.iptv-comments-wrapper label {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
}

.iptv-comments-wrapper input[type="text"],
.iptv-comments-wrapper input[type="email"],
.iptv-comments-wrapper input[type="url"],
.iptv-comments-wrapper textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.iptv-comments-wrapper input[type="text"]:focus,
.iptv-comments-wrapper input[type="email"]:focus,
.iptv-comments-wrapper input[type="url"]:focus,
.iptv-comments-wrapper textarea:focus {
    border-color: #0066FF;
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.iptv-comments-wrapper input[type="submit"] {
    background: linear-gradient(90deg, #0066FF, #0055cc);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iptv-comments-wrapper input[type="submit"]:hover {
    background: linear-gradient(90deg, #0055cc, #0044aa);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.iptv-comments-wrapper ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.iptv-comments-wrapper li.comment {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.iptv-comments-wrapper .comment-meta {
    margin-bottom: 15px;
    font-size: 13px;
    color: #64748b;
}

.iptv-comments-wrapper .comment-meta a {
    color: #a5b4fc;
    font-weight: 600;
}