/* Стили для analysis-section - точная копия из старой версии */

/* Облака */
.cloud {
    position: absolute;
    opacity: 0;
    animation: cloudFloat 25s infinite linear;
    transition: 1s;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 10%;
    left: -100px;
    animation-duration: 20s;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    top: 20%;
    left: -80px;
    animation-duration: 25s;
    animation-delay: -8s;
}

.cloud-3 {
    width: 120px;
    height: 50px;
    top: 15%;
    left: -120px;
    animation-duration: 30s;
    animation-delay: -15s;
}

@keyframes cloudFloat {
    0% { transform: translateX(-100px); opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 100px)); opacity: 0; }
}

/* Веточки */
.branch {
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    pointer-events: none;
    z-index: 2;
}

.branch-left {
    top: 80px;
    left: 20px;
    height: 340px;
    transform: translateX(-150px) scale(0.8) scaleX(-1);
}

.branch-right {
    top: 80px;
    right: -20px;
    height: 340px;
    transform: translateX(150px) scale(0.8);
}

/* Карточки анализа */
.analysis-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 39, 60, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.analysis-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(15, 39, 60, 0.2);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .analysis-card {
        transform: none !important;
    }
    
    .analysis-card:hover {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .analysis-card {
        transform: none !important;
    }
    
    .analysis-card:hover {
        transform: none !important;
    }
    
    .cloud {
        display: none;
    }
    
    .branch {
        display: none;
    }
    
    /* Мобильная верстка для блока с фильмами */
    .analysis-section div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Адаптация заголовка секции */
    .analysis-section h2 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }
    
    /* Адаптация карточек фильмов */
    .analysis-card {
        margin-bottom: 20px;
    }
    
    .analysis-card h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    .analysis-card p {
        font-size: 14px !important;
    }
    
    /* Адаптация отступов в карточках */
    .analysis-card > div:last-child {
        padding: 20px !important;
    }
    
    /* Адаптация контейнера секции */
    .analysis-section > div:last-child {
        padding: 0 20px !important;
    }
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .analysis-section h2 {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }
    
    .analysis-section div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        gap: 15px !important;
    }
    
    .analysis-card h3 {
        font-size: 18px !important;
    }
    
    .analysis-card p {
        font-size: 13px !important;
    }
    
    .analysis-card > div:last-child {
        padding: 15px !important;
    }
    
    .analysis-section > div:last-child {
        padding: 0 15px !important;
    }
} 