/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Spotify Card Grid Styles */
.spotify-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
    margin-left: 40px;
    margin-right: 40px;
    font-family: 'Poppins', sans-serif;
}

.spotify-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
}

.spotify-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.spotify-card .thumbnail {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Thumbnail with image */
.spotify-card .spotify-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail with silhouette */
.spotify-card .thumbnail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.spotify-card .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #1DB954; /* Spotify green */
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spotify-card .silhouette {
    width: 60px;
    height: 80px;
    background: #000;
    border-radius: 50% 50% 0 0;
    position: relative;
}

.spotify-card .silhouette::before {
    content: '';
    width: 35px;
    height: 35px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.spotify-card .thumbnail-text {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 0 20px;
    color: white;
    text-align: center;
}

.spotify-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.spotify-card .episode-badge {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 12px;
    width: fit-content;
}

.spotify-card .card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.spotify-card .duration {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.spotify-card .play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #055F6A;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    margin-top: 0;
    text-decoration: none;
}

.spotify-card .play-button:hover {
    background: #044a52;
}

.spotify-card .play-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Spotify Embed Wrapper */
.spotify-embed-wrapper {
    max-width: 100%;
    margin: 20px auto;
}

.spotify-embed-wrapper iframe {
    border-radius: 12px;
    border: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .spotify-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .spotify-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .spotify-grid {
        grid-template-columns: 1fr;
    }
}