.videos-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.videos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 20px;
    font-weight: 600;
}

.videos-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.4;
}

.video-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.video-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.video-tags span {
    background: #e0e7ff;
    color: #6366f1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.video-quality {
    display: flex;
    align-items: center;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

.video-quality .star {
    color: #fbbf24;
    margin-right: 6px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .videos-section h2 {
        font-size: 2rem;
    }
    
    .videos-section p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .video-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .videos-section {
        padding: 60px 0;
    }
    
    .videos-section h2 {
        font-size: 1.75rem;
    }
    
    .video-info {
        padding: 16px;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
}

