

.albums-grid {
    padding: 4rem;
    margin: 0 auto;
    width: 100%;
    background: #fff;
}

.playlist-section {
    margin-bottom: 3rem;
}

.playlist-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.playlist-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;

}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    color: white;
    font-size: 3rem;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-card h3 {
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

#loading {
    text-align: center;
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #666;
}

#error {
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .albums-grid {
        padding: 1rem;
    }

    .playlist-section h2 {
        font-size: 1.5rem;
    }

    .playlist-videos {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .playlist-videos {
        grid-template-columns: 1fr;
    }
}

.page-title {
    text-align: center;
    margin: 2rem 0;
    font-family: 'Playfair Display', serif;
} 