/* 简约清新的音乐作品展示网站样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 300;
}

main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 个人简介样式 */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

.profile-info h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}

.profile-bio p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.profile-contact h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.profile-contact ul {
    list-style-type: none;
}

.profile-contact li {
    margin-bottom: 5px;
    color: #7f8c8d;
}

/* 作品列表样式 */
.works-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 300;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.work-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.work-description {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.play-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.play-button:hover {
    background-color: #2980b9;
}

.view-details-button {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-details-button:hover {
    background-color: #27ae60;
}

/* 作品详情样式 */
.work-detail-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.work-detail-header {
    display: flex;
    gap: 30px;
}

.work-detail-cover {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.work-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.work-detail-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.work-detail-date {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.work-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.work-detail-content {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.work-detail-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.work-detail-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.work-not-found {
    text-align: center;
    padding: 50px 0;
}

.work-not-found h2 {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.work-not-found p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.back-button {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.back-button:hover {
    background-color: #7f8c8d;
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #7f8c8d;
    border-top: 1px solid #eaeaea;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #app {
        padding: 10px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .play-button, .view-details-button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .play-button {
        margin-right: 0;
    }
    
    .work-detail-header {
        flex-direction: column;
        align-items: center;
    }
    
    .work-detail-cover {
        width: 100%;
        max-width: 300px;
    }
}