 /* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    color: white;
    scroll-behavior: smooth; 
    min-height: 100%;
    background-image: url('/media-content/music-media/background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
h2, h3 {
    margin: 0 0 1rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
h2 {
    font-size: 2rem;
    margin-top: 1rem;
}
h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
}
main {
    max-width: 90%;
    margin: 8rem auto 4rem auto;
    background: rgba(0,0,0,0.65);
    padding: 4rem 1rem 4rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Music platforms grid */
.platforms {
    padding-top: 5rem;
    padding-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 1.5rem 3rem;
    justify-items: center;
    align-items: center;
    margin: 1rem 0 2rem;
    width: 100%;
    max-width: 700px;
}
.platforms a img {
    max-width: 140px;
    height: auto;
    filter: brightness(1) saturate(1);
    transition: filter 0.3s ease;
}
.platforms a:hover img,
.platforms a:focus img {
    filter: brightness(1.2) saturate(1.3);
    outline: none;
}
/* Spotify embeds container */
.spotify-embeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;
}
.spotify-embeds iframe {
    border-radius: 12px;
    border: none;
    width: 100%;
    max-width: 450px;
    height: 370px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    background: #121212;
}
.signup-btn {
    background: #c94f4f;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem 0 1rem;
    transition: background-color 0.3s ease;
}
.signup-btn:hover,
.signup-btn:focus {
    background: #a63f3f;
    outline: none;
}
/* Responsive */
@media (max-width: 1010px) {
    .platforms {
        padding-top: 1rem;
        padding-bottom: 1rem;
        grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
        gap: 1rem 1.5rem;
    }
    .spotify-embeds {
        /* flex-direction: column; */
        max-width: 100%;
    }
    .spotify-embeds iframe {
        max-width: 100%;
        height: 250px;
    }
}