/* 音乐页面样式 */

.music-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.music-header {
    text-align: center;
    margin-bottom: 40px;
}

.music-header h2 {
    color: #344c67;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.music-header p {
    color: #666;
    font-size: 1.1em;
}

.music-categories {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    display: flex;
    border-bottom: 2px solid rgba(73, 177, 245, 0.3);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #49b1f5;
}

.tab.active {
    color: #49b1f5;
    border-bottom: 2px solid #49b1f5;
    margin-bottom: -2px;
}

.music-list {
    display: none;
    padding: 20px 0;
}

.music-list.active {
    display: block;
}

.music-list h3 {
    color: #344c67;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.music-guide {
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.music-guide h4 {
    color: #344c67;
    margin-bottom: 10px;
}

.music-guide ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.music-guide li {
    margin-bottom: 5px;
}

.music-example {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.music-example p {
    margin-bottom: 10px;
    font-weight: 500;
}

.music-example pre {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.music-example code {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 1em;
    }
}