/* 🎬 LATEST WORK - Featured Banner Cinematográfico */

.latest-work {
    position: relative;
    background: var(--bg);
    padding: 60px 40px 80px 40px;
    overflow: hidden;
}

/* 🏷️ BADGE - "LATEST 2025" */
.latest-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.badge-text {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.badge-year {
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 🎥 VIDEO CONTAINER - 21:9 Cinematográfico */
.featured-video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    
    /* 21:9 Aspect Ratio - Cinematográfico */
    aspect-ratio: 21/9;
}

.featured-video-container:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 50px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

/* 📹 VIDEO - Perfect Fit */
.featured-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s ease;
}

/* ✨ SUBTLE OVERLAY para profundidad */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.featured-video-container:hover .video-overlay {
    opacity: 0.1;
}

/* 📝 INFO SECTION */
.latest-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.latest-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.latest-subtitle {
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* 🎭 HOVER EFFECTS AVANZADOS */
.featured-video-container {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(
        45deg,
        rgba(255, 107, 107, 0.1),
        rgba(78, 205, 196, 0.1)
    );
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.featured-video-container:hover::before {
    opacity: 1;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .latest-work {
        padding: 40px 20px 60px 20px;
    }
    
    .latest-badge {
        margin-bottom: 30px;
    }
    
    .featured-video-container {
        margin-bottom: 30px;
        border-radius: 8px;
    }
    
    .latest-info h2 {
        font-size: 36px;
    }
    
    .latest-subtitle {
        font-size: 14px;
    }
}

/* 🌟 ANIMATION ON SCROLL */
.latest-work {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

/* 🎬 CINEMATIC TOUCHES */
.featured-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            ellipse at top left,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at bottom right,
            rgba(255, 107, 107, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.featured-video-container:hover::after {
    opacity: 1;
}
