/* ============================================= */
/* 网站地图页面特定样式 */
/* ============================================= */

.sitemap-content {
    padding: 2rem 0;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.sitemap-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid var(--correct-color);
    padding-bottom: 0.5rem;
}

.sitemap-content h3 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--text-color);
    font-weight: 600;
    padding-left: 0.5rem;
    border-left: 4px solid var(--present-color);
}

.sitemap-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.05rem;
}

/* 网站地图特定样式 */
.sitemap-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.sitemap-section {
    background: var(--modal-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.sitemap-section:hover {
    border-color: var(--correct-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sitemap-section h3 {
    font-size: 1.3rem;
    margin: 0 0 1.2rem 0;
    color: var(--correct-color);
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.sitemap-section ul {
    margin-left: 1rem;
}

.sitemap-section li {
    margin-bottom: 0.6rem;
}

.sitemap-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.sitemap-section a:hover {
    color: var(--correct-color);
    text-decoration: underline;
}

/* 返回游戏按钮 */
.back-to-game {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-to-game .btn {
    width: auto;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--correct-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-to-game .btn:hover {
    background: #4a7c46;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(83, 141, 78, 0.3);
}

/* ============================================= */
/* 响应式设计 - 网站地图页面 */
/* ============================================= */

@media (max-width: 768px) {
    .sitemap-content {
        padding: 1rem 0;
    }

    .sitemap-content h2 {
        font-size: 1.6rem;
    }

    .sitemap-content h3 {
        font-size: 1.2rem;
    }

    .sitemap-section {
        padding: 1.5rem;
    }

    .sitemap-content ul {
        margin-left: 1.2rem;
    }
}

@media (max-width: 480px) {
    .sitemap-content h2 {
        font-size: 1.4rem;
    }

    .sitemap-content h3 {
        font-size: 1.1rem;
    }

    .sitemap-section {
        padding: 1rem;
    }

    .back-to-game .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 亮色模式适配 */
body.light-mode .sitemap-section {
    background: #ffffff;
    border-color: #e1e5e9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .sitemap-section:hover {
    border-color: var(--correct-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .sitemap-content h3 {
    color: var(--text-color);
}