/* Добавить в CSS файл */

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--warm-beige);
    position: relative;
}

.video-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="80" r="1.5" fill="%23A8D5BA" opacity="0.2"/><circle cx="80" cy="20" r="1" fill="%237FB069" opacity="0.15"/></svg>');
    z-index: 0;
}

.video-text {
    text-align: center;
    color: var(--medium-text);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--white);
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 0.8;
}

/* Live Stats */
.live-stats {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    box-shadow: var(--shadow-medium);
    z-index: 100;
    min-width: 180px;
    border: 2px solid var(--light-green);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1rem;
}

.stat-label {
    color: var(--medium-text);
    font-size: 0.8rem;
}

/* Mobile responsive for video */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-container {
        margin: 0 15px;
    }
    
    .live-stats {
        top: 10px;
        right: 10px;
        padding: 10px;
        min-width: 140px;
        font-size: 0.75rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .video-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* Animation for live stats */
@keyframes pulse-number {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-number {
    animation: pulse-number 3s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-number {
    animation-delay: 1s;
}

.stat-item:nth-child(3) .stat-number {
    animation-delay: 2s;
}