/* Albums Page Specific Styles */
.albums-hero {
    background: linear-gradient(135deg, #696cff 0%, #8b5cf6 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.albums-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.albums-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.albums-stat {
    text-align: center;
}

.albums-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.albums-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.filter-bar {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sort-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sort-option {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #6b7280;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-option:hover,
.sort-option.active {
    background: #696cff;
    color: white;
    border-color: #696cff;
}

.search-box form {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    min-width: 200px;
}

.search-box button {
    padding: 0.5rem 1rem;
    background: #696cff;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.featured-albums {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.featured-album {
    min-width: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.featured-album:hover {
    transform: translateY(-5px);
}

.featured-album-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.featured-album-title {
    font-weight: 600;
    margin-top: 0.5rem;
    color: #1f2937;
}

.featured-album-artist {
    color: #6b7280;
    font-size: 0.875rem;
}

.top-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.top-album-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.top-album-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.top-album-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fbbf24;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.top-album-media {
    position: relative;
    margin-bottom: 1rem;
}

.top-album-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.top-album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 0.375rem;
}

.top-album-card:hover .top-album-overlay {
    opacity: 1;
}

.top-album-play-btn {
    background: #696cff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.top-album-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.top-album-artist {
    color: #6b7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-album-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.top-album-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-album-stat-group {
    display: flex;
    gap: 1rem;
}

.top-album-stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.top-album-indicator {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.album-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.album-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.album-cover {
    position: relative;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-play-btn {
    background: #696cff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.album-info {
    padding: 1rem;
}

.album-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.album-artist {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
}

.album-year,
.album-tracks {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #6b7280;
    transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
    background: #696cff;
    color: white;
    border-color: #696cff;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    color: #696cff;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .search-box input {
        min-width: auto;
        width: 100%;
    }
    
    .albums-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .top-albums-grid {
        grid-template-columns: 1fr;
    }
    
    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
} 
