/**
 * Filmy4wap1 - Hero Slider Styles (OPTIMIZED FOR 120Hz)
 */

.filmy4wap1-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1) !important;
    will-change: opacity;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Simplified overlays for better performance */
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 550px;
    padding: 0 5%;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-weight: 600;
}

.hero-year {
    color: #9ca3af;
}

.hero-quality {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.hero-description {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.hero-watch-btn:hover {
    transform: scale(1.02);
}

/* Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.15s;
    backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: rgba(168, 85, 247, 0.6);
}

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

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.15s;
}

.hero-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #a855f7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 1.5rem; }
    .hero-description { display: none; }
    .hero-watch-btn { padding: 8px 18px; font-size: 0.875rem; }
    .hero-nav-btn { width: 32px; height: 32px; }
}