* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 深蓝色主题 - 更深的颜色 */
    --primary-color: #1062d4;
    --primary-light: #2d7deb;
    --primary-dark: #0a3fa8;
    --secondary-color: #5fa8d3;
    --accent-color: #0096d6;
    
    /* 浅色主题 - 深一些 */
    --bg-gradient-start: #5fa8d3;
    --bg-gradient-end: #2d7deb;
    --overlay-color: rgba(16, 98, 212, 0.7);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --bg-primary: #f8f9fa;
    --bg-secondary: #efefef;
    --card-shadow: rgba(0, 0, 0, 0.15);
}

body.dark-theme {
    /* 深色主题 - 更深 */
    --bg-gradient-start: #0d1929;
    --bg-gradient-end: #0f2b4a;
    --overlay-color: rgba(16, 98, 212, 0.5);
    --text-primary: #d4d4d8;
    --text-secondary: #a1a1a8;
    --bg-primary: #121621;
    --bg-secondary: #1a232f;
    --card-shadow: rgba(0, 0, 0, 0.6);
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* 背景图片半透明叠加层 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
    transition: background 0.3s ease;
}

body.dark-theme::before {
    background: rgba(0, 0, 0, 0.4);
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    color: white;
    padding: 40px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.header h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.help-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.help-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--bg-primary);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-box {
    margin-bottom: 30px;
    text-align: center;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    box-shadow: 0 4px 15px var(--card-shadow);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px var(--card-shadow);
    border-color: var(--primary-color);
}

/* BGM播放器样式 */

/* 自定义播放器 */
.custom-player {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px var(--card-shadow);
    transition: all 0.3s ease;
}

.player-display {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.player-cover {
    position: relative;
    flex-shrink: 0;
}

.cover-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px var(--card-shadow);
}

/*
.cover-img.paused {
     Paused state - no animation 
}
*/
.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    word-break: break-word;
}

.player-artist {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.player-album {
    font-size: 1em;
    color: var(--text-secondary);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.progress-time {
    font-size: 0.9em;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: center;
}

.progress-bar-container {
    flex: 1;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 100%;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.2s ease;
}

.progress-bar-container:hover .progress-handle {
    opacity: 1;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.control-btn {
    background: var(--bg-secondary);
    border: 2px solid transparent;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.play-btn {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    font-size: 1.8em;
    box-shadow: 0 4px 15px rgba(16, 98, 212, 0.3);
}

.play-btn:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 20px rgba(16, 98, 212, 0.4);
}

.play-btn.playing i::before {
    content: '\f04b';
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.volume-slider {
    width: 150px;
    height: 4px;
    cursor: pointer;
    appearance: none;
    background: var(--bg-secondary);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#audioPlayer {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-player {
        padding: 20px;
    }

    .player-display {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cover-img {
        width: 150px;
        height: 150px;
    }

    .player-title {
        font-size: 1.5em;
    }

    .player-artist {
        font-size: 1em;
    }

    .player-controls {
        gap: 15px;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1em;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }

    .volume-slider {
        width: 100px;
    }
}

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

@media (max-width: 768px) {
    .music-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.music-grid-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.music-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.music-card-cover {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
}

.music-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-grid-card:hover .music-card-cover img {
    transform: scale(1.1);
}

.music-card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.music-card-name {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-card-artist {
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-card-album {
    color: var(--text-secondary);
    font-size: 0.8em;
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image[loading="lazy"] {
    background-color: #f0f0f0;
}

/* CG库过滤控制 */
.cg-filter-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cg-filter-controls .filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.cg-filter-controls .filter-btn:hover,
.cg-filter-controls .filter-btn.active {
    background: white;
    color: var(--primary-color);
}

/* CG库样式 - 瀑布流布局 */
.cg-grid {
    column-count: 4;
    column-gap: 25px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .cg-grid {
        column-count: 3;
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .cg-grid {
        column-count: 2;
        column-gap: 15px;
    }
}

@media (max-width: 480px) {
    .cg-grid {
        column-count: 1;
    }
}

.cg-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease;
    background: var(--bg-secondary);
    cursor: pointer;
    width: 100%;
    margin-bottom: 25px;
    break-inside: avoid;
}

.cg-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.cg-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    background: #f0f0f0;
}

.cg-item:hover img {
    transform: scale(1.05);
}

.cg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cg-item:hover .cg-overlay {
    opacity: 1;
}

.cg-overlay-icon {
    color: white;
    font-size: 2em;
}

/* 图片弹窗样式 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2001;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-modal-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 8px;
}

/* 统计信息 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 6px 20px var(--card-shadow);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1em;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: white;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid white;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.footer {
    text-align: center;
    color: white;
    padding: 30px;
    margin-top: 50px;
    opacity: 0.8;
}

.filter-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.filter-btn:hover,
.filter-btn.active {
    background: white;
    color: var(--primary-color);
}

/* 介绍页样式 */
.intro-container {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.intro-content {
    text-align: center;
    color: white;
    max-width: 900px;
}

.intro-content h2 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.intro-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 50px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-card i {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

.intro-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-stats .stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.intro-stats .stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

.intro-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.intro-btn {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.intro-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.intro-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.intro-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .intro-content h2 {
        font-size: 2em;
    }

    .intro-subtitle {
        font-size: 1.1em;
    }

    .intro-stats {
        gap: 20px;
    }

    .intro-buttons {
        flex-direction: column;
    }

    .intro-btn {
        width: 100%;
        justify-content: center;
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* BGM播放器优化样式 */
.music-section-header {
    margin-bottom: 25px;
}

.music-filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.music-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    align-items: center;
    flex-wrap: wrap;
}

.music-control-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-control-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 98, 212, 0.3);
}

.music-stats {
    color: var(--text-secondary);
    font-size: 0.95em;
    font-weight: 600;
}

.music-grid-card.favorite {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(16, 98, 212, 0.2);
}

.music-card-favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2em;
}

.music-card-cover {
    position: relative;
}

.music-grid-card:hover .music-card-favorite-btn {
    opacity: 1;
}

.music-card-favorite-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.music-card-favorite-btn.active {
    background: var(--primary-color);
    color: white;
    opacity: 1;
}

/* 统计页面样式自适应主题 */
.detailed-stats-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--card-shadow);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.detailed-stats-card h2 {
    color: var(--text-primary);
}

.detailed-stats-card ul {
    list-style: none;
}

.detailed-stats-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.detailed-stats-card li span {
    color: var(--primary-color);
    font-weight: bold;
}

/* 功能介绍弹窗样式 */
.help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.help-modal.active {
    display: flex;
}

.help-modal-content {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    color: var(--text-primary);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.help-modal-content h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.help-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.help-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.help-sections {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.help-section {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.help-section:hover {
    box-shadow: 0 4px 12px var(--card-shadow);
    transform: translateX(5px);
}

.help-section h3 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.help-section ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-secondary);
}

.help-section li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.help-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.help-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-modal-content {
        padding: 25px;
        max-width: 95%;
    }

    .help-modal-content h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .help-sections {
        gap: 15px;
    }

    .help-section {
        padding: 15px;
    }

    .help-section h3 {
        font-size: 1.1em;
    }
}