/**
 * IPTV Hellas - Ultra-Modern Cinema UI Stylesheet
 * 2026 Edition: Glassmorphic Pricing Grid, Direct Modal & Smooth Scroll
 */

/* ============================================================
   1. GLOBAL PAGE CANVAS & SMOOTH SCROLLING
   ============================================================ */
html {
    scroll-behavior: smooth !important;
}

body {
    background-color: #080a11 !important;
    color: #e2e8f0 !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #080a11;
}
::-webkit-scrollbar-thumb {
    background: #1c2438;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00d2ff;
}

/* ============================================================
   2. HEADER & STICKY NAVBAR
   ============================================================ */
.ast-desktop-header,
.site-header {
    background: rgba(8, 10, 17, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.main-navigation a {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}
.main-navigation a:hover {
    color: #00d2ff !important;
}

/* ============================================================
   3. HERO SECTION & TRUST STRIP
   ============================================================ */
.elementor-element-t5lc58y {
    background: radial-gradient(circle at 50% 20%, rgba(0, 114, 255, 0.18) 0%, rgba(8, 10, 17, 0) 70%),
                linear-gradient(180deg, #080a11 0%, #0d121f 100%) !important;
}

.elementor-element-t5lc58y h2.elementor-heading-title,
.elementor-element-t5lc58y h1.elementor-heading-title {
    background: linear-gradient(135deg, #ffffff 30%, #90caf9 70%, #00d2ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
}

/* Channel logos bar (Cosmote, Cyta, ANT1, PrimeTel) */
.elementor-element-51d346dc {
    background: rgba(14, 19, 31, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 22px 0 !important;
}

.elementor-element-51d346dc img {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)) !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
}
.elementor-element-51d346dc img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.7)) !important;
}

/* Trust Badges Strip */
.iptv-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px auto 36px;
    max-width: 1200px;
    padding: 0 16px;
}

.iptv-trust-badge {
    background: rgba(18, 25, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.iptv-trust-badge:hover {
    border-color: rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.15);
}

/* ============================================================
   4. HANDCRAFTED 2026 PRICING GRID (FIXES ALL BUGS)
   ============================================================ */
/* Hide the old broken EAEL elements if any remain */
.elementor-element-47462a8 .e-con-inner > .elementor-element-72528dd,
.elementor-element-47462a8 .e-con-inner > .elementor-element-6b2f3cc,
.elementor-element-47462a8 .e-con-inner > .elementor-element-4baa124,
.elementor-element-47462a8 .e-con-inner > .elementor-element-7cde64e {
    display: none !important;
}

.elementor-element-6cf1678 {
    background: #080a11 !important;
    padding-top: 40px !important;
    padding-bottom: 50px !important;
}

.elementor-element-6cf1678 h2 {
    color: #ffffff !important;
    font-size: 38px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 40%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.elementor-element-431153b6 p {
    color: #94a3b8 !important;
    font-size: 17px !important;
    text-align: center;
}

#aa.elementor-element-47462a8 {
    background: transparent !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 10px 20px 40px !important;
}

/* --- The Modern Pricing Grid --- */
.iptv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 20px auto;
    align-items: stretch;
}

@media (max-width: 1080px) {
    .iptv-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .iptv-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 6px;
    }
}

/* --- Card Architecture --- */
.iptv-card {
    background: linear-gradient(180deg, rgba(19, 25, 41, 0.85) 0%, rgba(12, 16, 27, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.iptv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 22px 50px rgba(0, 114, 255, 0.22), 0 0 25px rgba(0, 210, 255, 0.15);
}

/* --- Featured Card (1 Year Plan) --- */
.iptv-card.featured {
    background: linear-gradient(180deg, rgba(20, 34, 60, 0.95) 0%, rgba(11, 19, 36, 0.98) 100%);
    border: 2px solid #00d2ff;
    box-shadow: 0 18px 50px rgba(0, 210, 255, 0.3), 0 0 35px rgba(0, 102, 255, 0.25);
    position: relative;
}

@media (min-width: 1081px) {
    .iptv-card.featured {
        transform: scale(1.04);
        z-index: 2;
    }
    .iptv-card.featured:hover {
        transform: scale(1.06) translateY(-8px);
    }
}

/* Best Value Badge */
.iptv-card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.55);
    white-space: nowrap;
    text-transform: uppercase;
    z-index: 10;
}

.iptv-card-pill {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Card Header */
.iptv-card-header {
    margin-bottom: 14px;
}

.iptv-card-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

/* Price Box */
.iptv-price-box {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.iptv-price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.iptv-price-strike {
    color: #ef4444;
    font-size: 17px;
    font-weight: 700;
    text-decoration: line-through;
    opacity: 0.85;
    margin-right: 8px;
}

.iptv-price-currency {
    color: #00d2ff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.iptv-price-val {
    color: #ffffff;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
}

.iptv-price-period {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    margin-left: 4px;
}

.iptv-price-subtext {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
}

/* Feature List */
.iptv-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iptv-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.4;
}

.iptv-feature-icon {
    width: 17px;
    height: 17px;
    min-width: 17px;
    color: #10b981;
}

/* Action Buttons */
.iptv-card-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}

.iptv-btn-primary {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    padding: 13px 20px;
    border-radius: 50px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 6px 22px rgba(0, 102, 255, 0.45);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.iptv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 210, 255, 0.65);
    background: linear-gradient(135deg, #0052cc 0%, #00f2fe 100%);
    color: #ffffff;
}

.iptv-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 16px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.12);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.35);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.iptv-btn-wa:hover {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Free Trial Banner */
.iptv-trial-banner {
    width: 100%;
    margin: 20px 0 0;
    background: linear-gradient(90deg, rgba(18, 25, 42, 0.85) 0%, rgba(25, 36, 62, 0.85) 100%);
    border: 1px dashed rgba(0, 210, 255, 0.45);
    border-radius: 18px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.iptv-trial-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.iptv-trial-text h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
}

.iptv-trial-text p {
    color: #94a3b8;
    font-size: 13.5px;
    margin: 0;
}

.iptv-trial-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.iptv-trial-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
    color: #ffffff !important;
}

/* ============================================================
   5. UNIFIED DARK THEME FOR LOWER SECTIONS (REVIEWS & DIFFERENT)
   ============================================================ */
.elementor-element-6da8b2f,
.elementor-element-3346dd9,
.elementor-element-68d8d62e,
.elementor-element-4b4fa8d2,
.elementor-element-67a6faa3 {
    background: #080a11 !important;
    color: #ffffff !important;
}

.elementor-element-68d8d62e h2,
.elementor-element-68d8d62e h3,
.elementor-element-4b4fa8d2 h1,
.elementor-element-4b4fa8d2 h2 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.elementor-element-68d8d62e .elementor-widget-icon-box .elementor-icon-box-wrapper,
.elementor-element-68d8d62e .e-con-boxed,
.elementor-element-68d8d62e .e-child {
    background: #101524 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.3s ease !important;
}

.elementor-element-68d8d62e .elementor-icon-box-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.elementor-element-68d8d62e .elementor-icon-box-description {
    color: #94a3b8 !important;
    line-height: 1.6 !important;
}

/* ============================================================
   6. BULLETPROOF STANDALONE CHECKOUT MODAL
   ============================================================ */
.iptv-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 12, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: iptvFadeIn 0.25s ease;
}

@keyframes iptvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.iptv-popup-dialog {
    background: linear-gradient(180deg, #141c2c 0%, #0d121e 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 180, 255, 0.22);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 28px;
    animation: iptvSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes iptvSlideUp {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.iptv-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.iptv-popup-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* Modal Internal Elements */
.iptv-modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.iptv-modal-header h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.iptv-modal-header p {
    color: #94a3b8;
    font-size: 13.5px;
    margin: 0;
}

/* Plan Selection Pills in Modal */
.iptv-modal-plan-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.iptv-plan-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    user-select: none;
}

.iptv-plan-pill:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.35);
}

.iptv-plan-pill.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

.iptv-form-field {
    margin-bottom: 16px;
}

.iptv-form-field label {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.iptv-form-field input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    transition: all 0.2s ease !important;
}

.iptv-form-field input:focus {
    border-color: #00d2ff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.3) !important;
    outline: none !important;
}

.iptv-modal-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 15.5px;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.45);
    transition: all 0.25s ease;
    margin-top: 8px;
}

.iptv-modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.6);
    background: linear-gradient(135deg, #0052cc 0%, #00f2fe 100%);
}

.iptv-modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 16px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.12);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.35);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.iptv-modal-wa-btn:hover {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

/* Modal Success State */
.iptv-modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.iptv-modal-success-icon {
    font-size: 54px;
    margin-bottom: 12px;
}

.iptv-modal-success h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.iptv-modal-success p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}

/* ============================================================
   7. STICKY MOBILE CONVERSION BAR & FLOATING WHATSAPP
   ============================================================ */
.iptv-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(10, 14, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
    justify-content: space-around;
    align-items: center;
}

@media (max-width: 768px) {
    .iptv-mobile-bar {
        display: flex;
    }
    body {
        padding-bottom: 75px !important;
    }
}

.iptv-mbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
    flex: 1;
    max-width: 110px;
}

.iptv-mbar-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.iptv-mbar-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    max-width: 125px;
    border-radius: 30px;
}

.iptv-floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.iptv-floating-wa:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.65);
    color: #ffffff;
}

.iptv-wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waPulseAnim 2s infinite;
}

@keyframes waPulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.55); opacity: 0; }
}

.iptv-wa-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ff3366;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .iptv-floating-wa {
        display: none !important;
    }
}

/* ============================================================
   8. CHANNEL LIST PAGE - COMPLETE CINEMA EXPERIENCE
   ============================================================ */
/* Global page overrides for /channel-list/ */
body.page-id-4880,
body.elementor-page-4880 {
    background-color: #080a11 !important;
    color: #e2e8f0 !important;
}

/* Ensure the container fits the dark aesthetic */
.page-id-4880 .ast-container,
.page-id-4880 .elementor-element {
    background: transparent !important;
}

/* Page Hero Title */
.page-id-4880 h1.elementor-heading-title,
.page-id-4880 h2.elementor-heading-title {
    background: linear-gradient(135deg, #ffffff 40%, #00d2ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
    text-align: center;
}

/* Channel List Search & Navigation Hub */
.iptv-channel-hub {
    max-width: 1100px;
    margin: 25px auto 35px;
    padding: 0 16px;
}

.iptv-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.iptv-channel-search-input {
    width: 100% !important;
    background: rgba(18, 25, 42, 0.85) !important;
    border: 1px solid rgba(0, 210, 255, 0.35) !important;
    border-radius: 50px !important;
    padding: 16px 50px 16px 50px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.12) !important;
    transition: all 0.3s ease !important;
}

.iptv-channel-search-input:focus {
    border-color: #00d2ff !important;
    box-shadow: 0 10px 35px rgba(0, 210, 255, 0.35) !important;
    outline: none !important;
    background: rgba(23, 32, 54, 0.95) !important;
}

.iptv-search-icon-left {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #00d2ff;
    pointer-events: none;
}

.iptv-search-clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cbd5e1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.iptv-search-clear-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Category Quick Jump Navigation */
.iptv-cat-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.iptv-cat-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.iptv-cat-nav-pill {
    background: rgba(18, 25, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.iptv-cat-nav-pill:hover,
.iptv-cat-nav-pill.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
    transform: translateY(-2px);
}

.iptv-cat-nav-pill .iptv-pill-count {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}

/* Expand / Collapse All Controls */
.iptv-hub-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iptv-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.iptv-control-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* Category Containers on Page */
.page-id-4880 h2,
.iptv-category-header {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 28px 0 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.iptv-cat-badge-tag {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Modern Card for .category */
.page-id-4880 .category,
.iptv-channel-card-container {
    background: linear-gradient(180deg, rgba(18, 25, 42, 0.9) 0%, rgba(12, 16, 28, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 20px 24px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
}

.page-id-4880 .category:hover,
.iptv-channel-card-container:hover {
    border-color: rgba(0, 210, 255, 0.4) !important;
    box-shadow: 0 14px 40px rgba(0, 114, 255, 0.22), 0 0 20px rgba(0, 210, 255, 0.15) !important;
    transform: translateY(-3px);
}

.page-id-4880 .category h3,
.iptv-category-trigger-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.iptv-cat-chevron {
    font-size: 14px;
    color: #00d2ff;
    transition: transform 0.3s ease;
    display: inline-block;
}

.iptv-cat-chevron.open {
    transform: rotate(180deg);
}

/* Modern Responsive Channel Grid (Replaces Square Bullet List) */
.page-id-4880 .channel,
.iptv-channel-grid-ul {
    list-style: none !important;
    padding: 20px 0 6px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 14px !important;
}

.page-id-4880 .channel li,
.iptv-channel-chip {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.2s ease !important;
    list-style-type: none !important;
    text-shadow: none !important;
}

.page-id-4880 .channel li:hover,
.iptv-channel-chip:hover {
    background: rgba(0, 210, 255, 0.08) !important;
    border-color: rgba(0, 210, 255, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
}

/* Channel Quality Tags */
.iptv-qtag {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.iptv-qtag-4k {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
}

.iptv-qtag-hd {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
}

.iptv-qtag-sports {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Floating / Bottom Channel List Conversion Strip */
.iptv-channel-cta-banner {
    max-width: 1100px;
    margin: 40px auto 30px;
    background: linear-gradient(135deg, rgba(16, 24, 42, 0.95) 0%, rgba(13, 29, 56, 0.95) 100%);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 180, 255, 0.15);
}

.iptv-channel-cta-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
}

.iptv-channel-cta-desc {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.iptv-channel-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.iptv-cta-btn-pricing {
    background: linear-gradient(135deg, #0066ff, #00d2ff);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    transition: all 0.25s ease;
}

.iptv-cta-btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 210, 255, 0.6);
}

.iptv-cta-btn-wa {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.iptv-cta-btn-wa:hover {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================================
   9. MODAL ANTI-BOT SECURITY SHIELD & HONEYPOT STYLES
   ============================================================ */
/* Invisible Honeypot trap */
.iptv-hp-guard {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Security Shield Box */
.iptv-security-shield {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.iptv-security-shield.verified {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
}

.iptv-shield-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.iptv-shield-title {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.iptv-math-challenge {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
    font-weight: 800;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.iptv-shield-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iptv-sec-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.iptv-sec-input:focus {
    border-color: #00d2ff !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3) !important;
}

.iptv-sec-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 4px;
}

.iptv-sec-badge.success {
    display: inline-flex;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.iptv-sec-error-msg {
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    display: none;
}

/* Channel Logos & Name styling */
.iptv-channel-logo {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px;
    flex-shrink: 0;
    display: inline-block;
}

.iptv-channel-name {
    flex: 1;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   10. LUXURY 2026 FLOATING CAPSULE ISLAND NAVBAR
   ============================================================ */
/* Desktop Header Canvas */
.ast-desktop-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    padding: 10px 16px !important;
    transition: all 0.3s ease !important;
}

.ast-desktop-header .main-header-bar-wrap {
    background: transparent !important;
}

/* Floating Capsule Bar Container */
.ast-desktop-header .ast-primary-header-bar {
    max-width: 1240px !important;
    margin: 0 auto !important;
    background: rgba(10, 14, 24, 0.9) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 100px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.08) !important;
    padding: 5px 22px !important;
    min-height: 64px !important;
    height: auto !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ast-desktop-header .ast-primary-header-bar:hover {
    border-color: rgba(0, 210, 255, 0.35) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.15) !important;
}

.ast-desktop-header .ast-builder-grid-row {
    align-items: center !important;
    padding: 0 !important;
    min-height: 54px !important;
}

/* --- Brand & Logo Section (Left) --- */
.site-header-primary-section-left {
    flex: 0 0 auto !important;
}

.custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: transform 0.25s ease !important;
}

.custom-logo-link:hover {
    transform: translateY(-1px);
}

.custom-logo-link img.custom-logo {
    width: 38px !important;
    height: 38px !important;
    max-height: 38px !important;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.45)) !important;
    transition: filter 0.3s ease, transform 0.3s ease !important;
}

.custom-logo-link:hover img.custom-logo {
    filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.8)) !important;
    transform: scale(1.05);
}

.iptv-header-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iptv-brand-name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.3px;
    line-height: 1.1;
    text-transform: uppercase;
}

.iptv-brand-name .iptv-brand-accent {
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.iptv-brand-badge {
    color: #38bdf8;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

/* --- Center Navigation Links --- */
.site-header-primary-section-center {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-header-bar-navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-header-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header-menu .menu-item {
    margin: 0 !important;
}

.main-header-menu .menu-item a.menu-link {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    padding: 7px 13px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
}

.main-header-menu .menu-item a.menu-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Elegant Active Link Indicator (NO Giant Egg/Circle) */
.main-header-menu .menu-item.current-menu-item a.menu-link,
.main-header-menu .menu-item.current_page_item a.menu-link {
    color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.09) !important;
    border: 1px solid rgba(0, 210, 255, 0.28) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15) !important;
}

/* Channels Badge - Fixed Height & Centered (Never Stretched) */
.iptv-nav-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 17px !important;
    min-width: 30px !important;
    line-height: 1 !important;
    padding: 0 5px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%) !important;
    color: #ffffff !important;
    margin-left: 6px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    align-self: center !important;
    box-shadow: 0 2px 6px rgba(0, 102, 255, 0.4) !important;
}

/* Free Trial Nav Pill */
.iptv-trial-nav-link {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    border-radius: 10px !important;
}

.iptv-trial-nav-link:hover {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}

/* --- Right Action Buttons --- */
.site-header-primary-section-right {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.iptv-header-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iptv-hdr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.iptv-hdr-btn-wa {
    background: rgba(37, 211, 102, 0.15) !important;
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.45) !important;
    font-size: 12px !important;
}

.iptv-hdr-btn-wa:hover {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45) !important;
    transform: translateY(-2px);
}

.iptv-hdr-btn-sub {
    background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.5), 0 0 15px rgba(0, 210, 255, 0.25) !important;
    border: none;
    cursor: pointer;
}

.iptv-hdr-btn-sub:hover {
    background: linear-gradient(135deg, #0052cc 0%, #00f2fe 100%) !important;
    box-shadow: 0 6px 24px rgba(0, 210, 255, 0.7) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Mobile Header Refinements */
@media (max-width: 980px) {
    .ast-desktop-header .ast-primary-header-bar {
        border-radius: 20px !important;
        padding: 5px 14px !important;
    }
    .iptv-header-cta-group .iptv-hdr-btn-wa {
        display: none !important;
    }
    .iptv-header-brand {
        display: none !important;
    }
}
