/* 風格與作者樣式優化 */

/* 作者卡片 */
.artist-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 320px;
    min-width: 300px;
    flex: 1 1 300px;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 作者圖片 */
.artist-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
}

/* 作者資訊 */
.artist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: white;
    transition: all 0.3s ease;
}

.artist-card:hover .artist-info {
    padding-bottom: 2rem;
}

.artist-name {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-genre {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.artist-stats {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.artist-stats > div {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.artist-stats i {
    margin-right: 0.25rem;
    font-size: 0.875rem;
}

/* 作者標籤 */
.artist-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #aa3cff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.artist-card:hover .artist-badge {
    opacity: 1;
    transform: translateY(0);
}

/* 風格標籤 */
.style-tag {
    display: inline-block;
    background-color: rgba(170, 60, 255, 0.15);
    color: #aa3cff;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(170, 60, 255, 0.3);
}

.style-tag:hover {
    background-color: rgba(170, 60, 255, 0.3);
    transform: translateY(-2px);
}

/* 風格分類區域 */
.style-section {
    padding: 2rem 0;
}

.style-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.style-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    position: relative;
    padding-left: 1rem;
}

.style-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 4px;
    background-color: #aa3cff;
    border-radius: 2px;
}

.style-more {
    color: #a0a0a0;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.style-more:hover {
    color: #aa3cff;
}

.style-more i {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

/* 風格網格 */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* 響應式調整 */
@media (max-width: 1024px) {
    .style-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .style-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .style-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}