* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.header {
    background: #6c757d;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* 音频播放器样式 */
.audio-player {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.play-btn {
    background: white;
    color: #6c757d;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.play-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.play-btn.playing {
    background: #ff6b6b;
    color: white;
}

.audio-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-time {
    color: white;
    font-size: 13px;
    min-width: 45px;
    text-align: right;
}

.content {
    padding: 30px 25px;
}

.chapter {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.chapter:last-child {
    border-bottom: none;
}

.chapter.hidden {
    display: none;
}

.chapter.visible {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 22px;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #adb5bd;
}

h3 {
    font-size: 18px;
    color: #495057;
    margin: 25px 0 12px;
    font-weight: 600;
}

p {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: justify;
}

.chapter-image {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.chapter-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.warning-list {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-list p {
    margin-bottom: 8px;
    color: #856404;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.comparison-table td {
    color: #333;
}

.load-more-container {
    text-align: center;
    padding: 30px 20px;
}

.load-more-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.load-more-btn:hover {
    background: #495057;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.footer {
    text-align: center;
    padding: 25px 20px;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 13px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .content {
        padding: 20px 15px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 17px;
    }
    
    p {
        font-size: 15px;
    }
}
