/* ==================== HERO SLIDER - BLUE MIDNIGHT GLASS ==================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 50px;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    position: relative;
}

/* Deep Vignette and Gradient Overlays */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(75deg, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.4) 50%, transparent 100%),
        linear-gradient(to top, #000 5%, transparent 40%);
}

/* Slider Content Overlay */
.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 6%;
    z-index: 10;
    pointer-events: none;
}

.slider-content>* {
    pointer-events: auto;
}

.slider-content h1.movie-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    animation: slideUpFade 0.8s forwards;
    letter-spacing: -1px;
}

.slider-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 35px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    animation: slideUpFade 0.8s 0.1s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideUpFade 0.8s 0.2s forwards;
    opacity: 0;
}

/* Play Button */
.play-btn.play-now {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--primary);
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.play-btn.play-now:hover {
    background: var(--primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.play-btn.play-now i {
    font-size: 1rem;
}

/* Info Button */
.info-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Controls (Arrows) */
.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 6%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.control-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

/* Dots */
.dots-container {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    box-shadow: 0 0 15px var(--primary);
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 70vh;
    }

    .slider-content {
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 500px;
    }

    .slider-content {
        padding-left: 20px;
        justify-content: flex-end;
        padding-bottom: 80px;
    }

    .slider-content h1.movie-title {
        font-size: 2.2rem;
    }

    .slider-content p {
        font-size: 1rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .slider-controls {
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
        justify-content: space-between;
    }

    .hero-buttons {
        gap: 10px;
    }

    .play-btn.play-now,
    .info-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .slide::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    }
}