
.album-header {
    background: var(--bg-primary);
    padding: calc(var(--header-height, 64px) + 40px) 0 40px 0;
    color: var(--text-primary);
}

.album-header .container {
    width: 100%;
    max-width: var(--container-max-width, 1600px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
}

.album-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.album-artwork {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-panel);
    flex-shrink: 0;
}

.album-artwork i {
    font-size: 60px;
    color: #666;
}

.album-details {
    flex: 1;
    min-width: 0;
}

.album-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #ffffff;
}

.album-artist {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #a1a1aa;
}

.album-artist a,
.album-artist-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.album-artist a:hover,
.album-artist-link:hover {
    color: var(--primary-color);
}

.album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.meta-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.meta-content {
    color: #ffffff;
    font-weight: 500;
}

.album-description {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #a1a1aa;
    font-size: 0.95rem;
}

.album-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-large {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-large:hover {
    background: var(--primary-color);
}

.btn-secondary-large {
    background: transparent;
    color: #ffffff;
    border: 1px solid #444;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary-large:hover {
    background: var(--bg-panel-alt);
    border-color: #666;
}

.btn-icon-large {
    width: 44px;
    height: 44px;
    background: transparent;
    color: #a1a1aa;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon-large:hover {
    background: var(--bg-panel-alt);
    color: #ffffff;
    border-color: #666;
}

.section {
    background: transparent;
    color: var(--text-primary);
    padding: 40px 0;
}

.section .container {
    width: 100%;
    max-width: var(--container-max-width, 1600px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
}

.track-row {
    display: none;
}

.tracks-section {
    background: transparent;
    color: #ffffff;
    padding: 40px 0;
}

.tracks-section .container {
    width: 100%;
    max-width: var(--container-max-width, 1600px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.tracks-list {
    border-radius: 8px;
}

.track-row-v2 {
    display: grid;
    grid-template-columns: 50px 2fr 1.2fr 1fr 80px 120px 120px;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #374151;
    transition: all 0.2s ease;
    align-items: center;
}

.track-row-v2:hover {
    background: rgba(55, 65, 81, 0.3);
}

.track-row-v2:last-child {
    border-bottom: none;
}

.row-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
}

.row-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
}

.row-artist {
    font-size: 0.8rem;
    color: #a1a1aa;
}

.row-label {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.row-genre-key {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.row-release {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.row-price {
    text-align: center;
}

.price-btn {
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.price-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.row-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.icon-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--primary-color);
}

.track-play-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-play-btn:hover {
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: var(--bg-panel);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-cover {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-panel);
}

.card-cover i {
    font-size: 32px;
    color: #666;
}

.card-body {
    padding: 12px;
}

.card-title {
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-artist {
    color: #a1a1aa;
    font-size: 0.8rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-actions button {
    background: transparent;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.card-actions button:hover {
    color: var(--primary-color);
}

.card-actions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.card-actions a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .track-table-head,
    .track-item {
        grid-template-columns: 58px 40px 1fr 140px 120px 80px 80px;
    }
    
    .track-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .album-header {
        padding: 30px 0;
    }
    
    .album-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .album-artwork {
        width: 180px;
        height: 180px;
    }
    
    .album-title {
        font-size: 2rem;
    }
    
    .album-meta {
        justify-content: center;
    }
    
    .album-actions {
        justify-content: center;
        width: 100%;
    }
    
    .track-table-head {
        display: none;
    }
    
    .track-item {
        grid-template-columns: 32px 1fr 80px 90px;
        padding: 10px 12px;
        gap: 10px;
    }
    
    .track-cover,
    .track-label,
    .track-genre-key,
    .track-release {
        display: none;
    }
}

@media (max-width: 480px) {
    .album-header .container,
    .tracks-section .container,
    .related-albums .container {
        padding: 0 16px;
    }
    
    .album-artwork {
        width: 150px;
        height: 150px;
    }
    
    .album-title {
        font-size: 1.6rem;
    }
    
    .album-artist {
        font-size: 1rem;
    }
    
    .album-meta {
        gap: 12px;
    }
    
    .meta-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .album-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-icon-large {
        width: 40px;
        height: 40px;
    }
    
    .track-item {
        grid-template-columns: 40px 1fr 70px 80px;
        padding: 8px 10px;
    }
    
    .track-number {
        font-size: 0.8rem;
    }
    
    .track-title {
        font-size: 0.85rem;
    }
    
    .track-artist {
        font-size: 0.75rem;
    }
    
    .track-price {
        font-size: 0.85rem;
    }
    
    .btn-play,
    .btn-cart {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.track-duration.hidden {
    display: none;
}

.empty-tracks-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-tracks-message i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
    display: block;
}

.empty-tracks-message p {
    margin: 0;
    font-size: 1rem;
    color: #999;
}

.album-artwork {
    position: relative;
    overflow: hidden;
}
.album-artwork .album-artwork-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.album-artwork i {
    position: relative;
    z-index: 1;
}
