@import url('https://fonts.googleapis.com/css2?family=Cabin+Condensed:wght@400;500;600;700&display=swap');
/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cabin Condensed", sans-serif;
    line-height: 1.6;
    color: #e8eaf6;
    min-height: 100vh;
    background: #1a1a1a;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

#avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(194, 61, 75, 0.6);
    display: block;
    margin: 0 auto 1.25rem;
}

header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.05em;
    background: #c23d4b;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

header p {
    font-style: italic;
    color: #cfd1d3;
    margin-bottom: 1.75rem;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

nav a {
    display: inline-block;
    width: 7.25rem;
    padding: 0.55rem 1.4rem;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: #e8eaf6;
    background: rgba(194, 61, 75, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    background: rgba(194, 61, 75, 0.4);
    transform: translateY(-2px);
}

main {
    flex: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;

    display: grid;
    gap: 1.5rem;
    align-items: start;
    justify-items: center;
}

.music-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    text-align: center;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.music-item a:hover,
.music-item a:focus-visible {
    background: rgba(194, 61, 75, 0.4);
}

.music-item h2 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c23d4b;
    margin-bottom: 1rem;
}

#music-cover-art {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

#music-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}

footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #a7a9ab;
}

/* Small screens */
@media (max-width: 480px) {
    main {
        grid-template-columns: 1fr;
    }

    nav a {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
