.composition-header {
    margin-bottom: 2.5rem;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.album-card {
    text-decoration: none;
    display: block;
    transition: transform 0.2s;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-cover {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.album-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.album-placeholder svg {
    width: 50px;
    height: 50px;
}

.album-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.album-card:hover .album-play {
    opacity: 1;
}

.album-play svg {
    width: 50px;
    height: 50px;
    color: var(--color-white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.album-info {
    padding: 0.8rem 0.2rem;
    text-align: left;
}

.album-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.2rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-date {
    font-size: 0.8rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Dark mode */
body.dark-mode .album-title {
    color: #eee;
}

body.dark-mode .album-date {
    color: var(--color-gray-600);
}

body.dark-mode .album-cover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ===== Responsive: 768px (Small Tablet) ===== */
@media (max-width: 768px) {
    .composition-header {
        margin-bottom: 2rem;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }
}

/* ===== Responsive: 600px (Large Phone) ===== */
@media (max-width: 600px) {
    .composition-header {
        margin-bottom: 1.5rem;
    }

    .album-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .album-title {
        font-size: 0.85rem;
    }

    .album-date {
        font-size: 0.75rem;
    }

    .album-info {
        padding: 0.6rem 0.15rem;
    }

    .album-play svg {
        width: 40px;
        height: 40px;
    }
}

/* ===== Responsive: 480px (Small Phone) ===== */
@media (max-width: 480px) {
    .album-grid {
        gap: 0.75rem;
    }

    .album-title {
        font-size: 0.8rem;
    }

    .album-date {
        font-size: 0.7rem;
    }

    .album-info {
        padding: 0.5rem 0.1rem;
    }

    .album-cover {
        border-radius: var(--radius-md);
    }

    .album-play svg {
        width: 35px;
        height: 35px;
    }

    .album-placeholder svg {
        width: 35px;
        height: 35px;
    }
}
