.discover-page {
    padding: 20px;
}

.banner-section {
    margin-bottom: 30px;
}

.banner-carousel {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.banner-item {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner-item h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.banner-item p {
    font-size: 16px;
    opacity: 0.9;
}

.recommend-playlists,
.new-albums {
    margin-bottom: 40px;
}

.playlist-grid,
.album-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    grid-auto-rows: auto;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.playlist-card,
.album-card {
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.playlist-card:hover,
.album-card:hover {
    transform: translateY(-5px);
}

.playlist-cover,
.album-cover {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    max-height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    padding-bottom: 0;
}

.playlist-cover img,
.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 0;
    min-height: 0;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.playlist-card:hover .cover-overlay {
    opacity: 1;
}

.play-icon {
    color: #fff;
    font-size: 40px;
}

.playlist-name,
.album-name {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
    min-height: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}

.playlist-playcount {
    font-size: 12px;
    color: #999;
}

.album-artist {
    font-size: 12px;
    color: #999;
}

