/* Component: iptv-hero-premium.css */

.iptv-hero-premium {
    position: relative;
    width: 100%;
    /* min-height is set dynamically by Elementor control */
    min-height: 100vh;
    padding: 120px 20px;
    color: #fff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #050505;
}

.iptv-hero-premium .iptv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.iptv-hero-premium .iptv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position overridden via Elementor control */
    object-position: center center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.iptv-hero-premium:hover .iptv-hero-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .iptv-hero-premium {
        min-height: auto;
        padding: 80px 15px;
    }
}

.iptv-hero-premium .iptv-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Default gradient overridden via Elementor background control */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.iptv-hero-premium .iptv-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: v-hero-fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes v-hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.iptv-hero-premium .iptv-offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff3d3d, #ff0000);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: v-pulse 2s infinite;
}

@keyframes v-pulse {
    0% {
        box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 10px 45px rgba(255, 0, 0, 0.6);
    }

    100% {
        box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
    }
}

@media (max-width: 768px) {
    .iptv-hero-premium .iptv-offer-pill {
        font-size: 10px;
        padding: 10px 20px;
    }
}

.iptv-hero-premium .iptv-hero-title {
    font-size: clamp(32px, 7vw, 72px);
    font-weight: 900;
    margin: 0 0 15px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.iptv-hero-premium .iptv-hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.iptv-hero-premium .iptv-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 45px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .iptv-hero-premium .iptv-hero-desc {
        font-size: 15px;
        padding: 0 5px;
    }
}

.iptv-hero-premium .iptv-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 70px;
}

@media (max-width: 768px) {
    .iptv-hero-premium .iptv-hero-ctas {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

.iptv-hero-premium .iptv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-width: 250px;
}

.iptv-hero-premium .iptv-btn-primary {
    background: #1E3A8A;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.iptv-hero-premium .iptv-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.iptv-hero-premium .iptv-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(29, 78, 216, 0.5);
}

.iptv-hero-premium .iptv-btn-primary:hover::after {
    transform: scale(1);
}

.iptv-hero-premium .iptv-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.iptv-hero-premium .iptv-btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.iptv-hero-premium .iptv-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .iptv-hero-premium .iptv-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iptv-hero-premium .iptv-stats-grid {
        gap: 15px;
        padding: 0 10px;
    }
}

.iptv-hero-premium .iptv-stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.iptv-hero-premium .iptv-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.iptv-hero-premium .iptv-stat-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.iptv-hero-premium .iptv-stat-item:hover::before {
    transform: scaleX(1);
}

.iptv-hero-premium .stat-number {
    display: block;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(to bottom, #fff, #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.iptv-hero-premium .stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}