/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    top: -30px;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02) translateY(10px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform, visibility;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateX(0);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: #1a1a1a;
}

.hero-bg-image.loaded {
    opacity: 1;
    filter: brightness(0.7);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2rem 0 0;
    z-index: 3;
}

.hero-info {
    max-width: 100%;
    text-align: right;
    color: white;
    padding-right: 0;
    margin-right: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, #adff2f 50%, #32cd32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(173, 255, 47, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(173, 255, 47, 0.6));
    }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.hero-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.play-btn {
    background: linear-gradient(135deg, #adff2f 0%, #32cd32 100%);
    color: #000;
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    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 0.6s;
}

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

.play-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(173, 255, 47, 0.5);
}

.info-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(173, 255, 47, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.hero-nav-btn:hover::before {
    width: 100px;
    height: 100px;
}

.hero-nav-btn:hover {
    background: rgba(173, 255, 47, 0.9);
    color: #000;
    transform: scale(1.15);
    border-color: rgba(173, 255, 47, 0.8);
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.4);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(173, 255, 47, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hero-indicator:hover::before {
    width: 20px;
    height: 20px;
}

.hero-indicator.active {
    background: #adff2f;
    transform: scale(1.3);
    border-color: rgba(173, 255, 47, 0.6);
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.5);
}

.hero-indicator.active::before {
    width: 25px;
    height: 25px;
    background: rgba(173, 255, 47, 0.2);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 600px;
        top: -20px;
    }
    
    .hero-background::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
    
    .hero-content {
        width: 100%;
        bottom: 0;
        top: auto;
        height: auto;
        padding: 2rem 1.5rem;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            transparent 100%
        );
        align-items: flex-end;
    }
    
    .hero-info {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 120px;
        justify-content: center;
    }
    
    .hero-navigation {
        padding: 0 1rem;
        top: 45%;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
    }
    
    .hero-indicators {
        bottom: 1rem;
        gap: 0.4rem;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 75vh;
        min-height: 550px;
        top: -15px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-buttons {
        gap: 0.6rem;
    }
    
    .hero-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .hero-btn i {
        font-size: 0.8rem;
    }
    
    .hero-navigation {
        padding: 0 0.5rem;
        top: 40%;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-indicators {
        bottom: 0.8rem;
        gap: 0.3rem;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 360px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem 0.8rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .hero-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 90px;
        gap: 4px;
    }
    
    .hero-navigation {
        padding: 0 0.3rem;
    }
    
    .hero-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

        .movie-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            box-shadow: var(--glow);
        }

        

        

        

       

        

        

       
        

        /* ==================== LOADING SPINNER ==================== */
        .loading-spinner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(173, 255, 47, 0.3);
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

       
