body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 28px;
}
.profile-image {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222;
    display: inline-block;
    margin-bottom: 12px;
}
.site-title {
    margin: 6px 0 0 0;
    font-size: 1.6rem;
}
.bio {
    color: #9a9a9a;
    margin-top: 6px;
    font-size: 0.95rem;
}

/* Category title */
.category {
    margin-bottom: 32px;
}
.category-title {
    margin: 0 0 14px 0;
    font-size: 1.1rem;
    color: #e6e6e6;
    letter-spacing: 0.2px;
    font-weight: 600;
}

/* Album grid - responsive and resizeable */
.album-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile default: 1 column */
    gap: 16px;
}

/* Cards */
.album-card {
    display: block;
    background: #161616;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 14px;
    text-decoration: none;
    color: #fff;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    align-items: center;
    text-align: center;
    min-height: 120px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    background: #1b1b1b;
}

/* Thumb sizing: smaller on the grid, centered */
.album-thumb {
    display: block;
    width: 100%;
    max-width: 160px; /* reduce cover size */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 10px auto;
}

/* Meta */
.album-meta {
    padding: 0 6px;
}
.album-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.album-sub {
    margin: 6px 0 0 0;
    font-size: 0.88rem;
    color: #9b9b9b;
    line-height: 1.2;
}

/* Desktop / larger screens */
@media (min-width: 900px) {
    /* on medium-large screens show 2 or 3 columns depending on width */
    .album-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .album-thumb {
        max-width: 140px;
    }
}
@media (min-width: 1200px) {
    /* show 4 columns on wide monitors */
    .album-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .album-thumb {
        max-width: 160px;
    }
}

/* Tablet / small desktop fallback */
@media (min-width: 640px) and (max-width: 899px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 639px) {
    .container {
        padding: 18px 12px;
    }
    .profile-image { width: 96px; height: 96px; }
    .site-title { font-size: 1.4rem; }
    .album-thumb { max-width: 140px; }
}

/* small accessibility/utility tweaks */
.album-card:focus {
    outline: 3px solid rgba(255,255,255,0.06);
    outline-offset: 2px;
}

/* Album detail (single album) overrides — keeps album pages centered with large art */
.album-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
    padding: 20px;
}

/* card becomes a centered detail card */
.album-page .album-card {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px;
    border-radius: 12px;
    background: #161616;
    border: 1px solid #222;
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
    min-height: auto;
}

/* large cover art */
.album-page .album-cover {
    width: 320px;
    height: 320px;
    max-width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* album meta on detail page */
.album-page .album-info { margin-top: 0; }
.album-page .album-title {
    font-size: 2rem;
    margin: 6px 0 0 0;
    font-weight: 700;
}
.album-page .artist-name {
    color: #bfbfbf;
    margin: 6px 0 0 0;
    font-size: 1rem;
}
.album-page .album-description {
    color: #b3b3b3;
    margin: 10px 0 0 0;
    font-size: 1rem;
}

/* platform links area */
.album-page .link-container {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* consistent, left-aligned link buttons (matches hyperfollow style) */
.album-page .platform-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: #212121;
    border: 1px solid #2b2b2b;
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .16s ease, background .16s ease;
}
.album-page .platform-link:hover {
    transform: translateY(-3px);
    background: #2b2b2b;
}
.album-page .platform-icon {
    width: 36px;
    height: 36px;
}

/* responsive tweaks for phones */
@media (max-width: 639px) {
    .album-page {
        padding: 14px;
    }
    .album-page .album-cover {
        width: 260px;
        height: 260px;
    }
    .album-page .album-title {
        font-size: 1.5rem;
    }
    .album-page .platform-icon {
        width: 28px;
        height: 28px;
    }
    .album-page .link-container {
        max-width: 100%;
    }
}

/* Ensure footer copyright is centered */
footer {
    text-align: center;
}

/* Optional: ensure the paragraph inside footer doesn't have unexpected margins */
footer p {
    margin: 0.75rem 0 0 0;
}

.home-button {
    display: block; /* Make it a block element */
    width: 100%; /* Full width */
    padding: 10px; /* Adjust padding for better appearance */
    background-color: #444; /* Dark gray background */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem; /* Slightly smaller font size */
    transition: background-color 0.3s ease;
    opacity: 0.8; /* Slightly transparent */
    margin-bottom: 1rem; /* Space below the button */
}

.home-button:hover {
    background-color: #555; /* Slightly lighter gray on hover */
    opacity: 1; /* Fully opaque on hover */
}