/* VishvaX Stream — Ultra-Futuristic Featured Content Carousel (3-4 Configurable Items) */

.featured-carousel {
    position: relative;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 36px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: box-shadow .3s ease;
}

.featured-viewport {
    position: relative;
    width: 100%;
    min-height: 400px;
    aspect-ratio: 21 / 9;
    max-height: 560px;
}

@media (max-width: 768px) {
    .featured-viewport {
        aspect-ratio: 16 / 9;
        min-height: 280px;
    }
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), visibility .6s ease;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.featured-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Futuristic Multi-Layer Gradient Vignette */
.featured-vignette {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            180deg,
            rgba(3, 5, 9, 0.15) 0%,
            rgba(3, 5, 9, 0.45) 45%,
            rgba(3, 5, 9, 0.9) 82%,
            rgba(3, 5, 9, 0.98) 100%
        ),
        linear-gradient(
            90deg,
            rgba(3, 5, 9, 0.92) 0%,
            rgba(3, 5, 9, 0.6) 40%,
            transparent 75%
        );
    pointer-events: none;
}

/* Slide Content */
.featured-content {
    position: relative;
    z-index: 2;
    padding: 36px 44px;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 640px) {
    .featured-content {
        padding: 18px 20px;
        gap: 10px;
    }
}

.featured-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.featured-pill {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

.pill-live {
    background: rgba(255, 43, 66, 0.18);
    color: var(--live-red);
    border: 1px solid rgba(255, 43, 66, 0.5);
    box-shadow: 0 0 14px rgba(255, 43, 66, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--live-red);
    box-shadow: 0 0 8px var(--live-red);
    animation: vx-radar-pulse 1.6s infinite;
}

.pill-tag {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill-cyber {
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyber-cyan);
    border: 1px solid rgba(0, 242, 254, 0.4);
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 1.55rem;
    }
}

.featured-desc {
    font-size: .95rem;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 560px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

@media (max-width: 640px) {
    .featured-desc {
        display: none; /* Keep clean and minimal on small mobile screens */
    }
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

/* Futuristic Play Button */
.btn-featured-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 32px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-neon) 100%);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 4px 20px var(--brand-glow),
        0 0 16px rgba(255, 42, 75, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease, background .2s ease;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.btn-featured-play::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left .5s ease;
}

.btn-featured-play:hover::after {
    left: 100%;
}

.btn-featured-play:hover {
    background: linear-gradient(135deg, var(--brand-neon) 0%, #ff4d6d 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px var(--brand-glow),
        0 0 24px rgba(255, 42, 75, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-featured-play:active {
    transform: translateY(0);
}

.btn-featured-play svg {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
    transition: transform .2s ease;
}

.btn-featured-play:hover svg {
    transform: scale(1.1);
}

/* Carousel Navigation Arrows */
.featured-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13, 19, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: background .2s ease, transform .2s ease, opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
    opacity: 0;
}

.featured-carousel:hover .featured-arrow {
    opacity: 1;
}

.featured-arrow:hover {
    background: rgba(22, 33, 56, 0.95);
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 20px var(--cyber-cyan-glow);
    transform: translateY(-50%) scale(1.08);
}

.featured-prev { left: 20px; }
.featured-next { right: 20px; }

/* Futuristic Light-Bar Carousel Dots */
.featured-dots {
    position: absolute;
    bottom: 20px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    background: rgba(3, 5, 9, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background .25s ease, width .25s ease, border-radius .25s ease, box-shadow .25s ease;
}

.featured-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.featured-dot.is-active {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-neon) 100%);
    width: 26px;
    border-radius: 4px;
    box-shadow: 0 0 12px var(--brand-glow);
}
