/* Sitemap Page - Apple Style Design */

/* CSS Variables */
:root {
    --sitemap-bg: #f5f5f7;
    --sitemap-container-bg: #ffffff;
    --sitemap-text: #1d1d1f;
    --sitemap-text-secondary: #86868b;
    --sitemap-border: #d2d2d7;
    --sitemap-link: #0071e3;
    --sitemap-link-hover: #0077ed;
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --sitemap-bg: #000000;
        --sitemap-container-bg: #1c1c1e;
        --sitemap-text: #f5f5f7;
        --sitemap-text-secondary: #98989d;
        --sitemap-border: #38383a;
        --sitemap-link: #0a84ff;
        --sitemap-link-hover: #409cff;
    }
}

/* 通用字体样式 */
.sitemap-page-wrapper,
.sitemap-page-wrapper * {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sitemap-page-wrapper {
    min-height: 100vh;
    background: var(--sitemap-bg);
    padding: 80px 20px;
}

.sitemap-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 48px;
}

.sitemap-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--sitemap-text);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sitemap-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    color: var(--sitemap-text-secondary);
    margin: 0;
}

.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.sitemap-section {
    background: var(--sitemap-container-bg);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0, 0, 0, 0.05);
}

.sitemap-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sitemap-text);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sitemap-border);
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sitemap-link {
    font-size: 0.9375rem;
    color: var(--sitemap-link);
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.6;
}

.sitemap-link:hover {
    color: var(--sitemap-link-hover);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
    .sitemap-page-wrapper {
        padding: 40px 16px;
    }

    .sitemap-header {
        margin-bottom: 36px;
    }

    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sitemap-section {
        padding: 24px 20px;
    }
}

@media (max-width: 575.98px) {
    .sitemap-page-wrapper {
        padding: 32px 12px;
    }

    .sitemap-section {
        padding: 20px 16px;
    }
}

