/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-darker);
    overflow-x: hidden;
}

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

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.nav-brand i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== 主横幅 ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-download {
    background: var(--gradient-2);
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* ===== 特性区域 ===== */
.features {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== 下载区域 ===== */
.download {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.download-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    position: relative;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.download-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.version {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.download-info {
    text-align: center;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.download-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ===== 文档区域 ===== */
.docs {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent-color);
}

.doc-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.doc-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.doc-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.doc-link:hover {
    color: var(--primary-color);
}

/* ===== 关于区域 ===== */
.about {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.about-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    padding: 3rem 20px 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.footer-bottom i {
    color: #ef4444;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .download-container,
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== 版本徽章 ===== */
.version-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.3s backwards;
}

/* ===== Hero 统计信息 ===== */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--primary-color);
}

.stat-item span {
    transition: var(--transition);
}

/* 加载状态的微动画 */
#latest-version,
#github-stars,
#last-update,
#about-github-stars {
    display: inline-block;
    min-width: 80px;
}

/* 数据加载时的淡入效果 */
.data-loaded {
    animation: dataFadeIn 0.5s ease;
}

@keyframes dataFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== 作者信息 ===== */
.author-info {
    margin-top: 1.5rem;
    color: var(--text-muted);
    animation: fadeInUp 1s ease 0.8s backwards;
}

.author-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.author-info a:hover {
    color: var(--secondary-color);
}

/* ===== 截图展示区域 ===== */
.screenshots {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.screenshot-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.screenshot-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-item.active {
    opacity: 1;
    z-index: 1;
}

.screenshot-item img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    object-fit: contain;
}

.screenshot-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
    max-width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.screenshot-caption h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshot-caption p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(99, 102, 241, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.slider-dots::before {
    content: '';
}

/* 动态生成点 */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ===== 更新日志 ===== */
.changelog {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.changelog-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.changelog-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.changelog-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.latest-badge {
    font-size: 0.8rem;
    background: var(--gradient-1);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-weight: 600;
}

.update-date {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.changelog-list {
    margin-bottom: 2rem;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-item:last-child {
    border-bottom: none;
}

.change-type {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.change-type.new {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.change-type.improve {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-color);
}

.change-type.fix {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.changelog-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.changelog-previous {
    margin-top: 2rem;
}

.changelog-previous details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.changelog-previous summary {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-previous summary::-webkit-details-marker {
    display: none;
}

.changelog-previous summary::before {
    content: '▶';
    transition: var(--transition);
}

.changelog-previous details[open] summary::before {
    transform: rotate(90deg);
}

.previous-versions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.version-item {
    margin-bottom: 1.5rem;
}

.version-item:last-child {
    margin-bottom: 0;
}

.version-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.version-item ul {
    list-style: none;
    padding-left: 0;
}

.version-item li {
    color: var(--text-muted);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.version-item li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
}

/* ===== 更新日志加载状态 ===== */
.changelog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 300px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.changelog-loading p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.changelog-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.changelog-error i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.changelog-error h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.changelog-error p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.retry-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== 更新日志页脚 ===== */
.changelog-footer {
    text-align: center;
    margin-top: 2rem;
}

.view-all-releases {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-releases:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== GitHub Markdown Body 样式覆盖 ===== */
/* 使用 github-markdown-css 作为基础，添加自定义覆盖 */

.markdown-body {
    background: transparent !important;
    color: var(--text-secondary) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.8 !important;
    padding: 0 !important;
}

/* 标题样式 */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(99, 102, 241, 0.3) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
}

.markdown-body h1 {
    font-size: 2rem !important;
}

.markdown-body h2 {
    font-size: 1.5rem !important;
}

.markdown-body h3 {
    font-size: 1.3rem !important;
}

.markdown-body h4 {
    font-size: 1.1rem !important;
    color: var(--accent-color) !important;
}

/* 段落和文本 */
.markdown-body p {
    color: var(--text-secondary) !important;
    margin-bottom: 1rem !important;
}

/* 链接 */
.markdown-body a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
}

.markdown-body a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* 列表 */
.markdown-body ul,
.markdown-body ol {
    padding-left: 2rem !important;
    margin-bottom: 1rem !important;
}

.markdown-body li {
    color: var(--text-secondary) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.8 !important;
}

.markdown-body li::marker {
    color: var(--primary-color) !important;
}

/* 代码块 */
.markdown-body code {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--accent-color) !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 0.9em !important;
}

.markdown-body pre {
    background: var(--bg-darker) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    margin: 1rem 0 !important;
}

.markdown-body pre code {
    background: transparent !important;
    padding: 0 !important;
    color: var(--text-secondary) !important;
}

/* 引用块 */
.markdown-body blockquote {
    border-left-color: var(--primary-color) !important;
    color: var(--text-muted) !important;
    padding-left: 1rem !important;
    margin: 1rem 0 !important;
}

/* 表格 */
.markdown-body table {
    border-color: rgba(99, 102, 241, 0.2) !important;
    background: transparent !important;
}

.markdown-body table th {
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--text-primary) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
}

.markdown-body table td {
    border-color: rgba(99, 102, 241, 0.2) !important;
    color: var(--text-secondary) !important;
}

.markdown-body table tr:nth-child(2n) {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* 水平分割线 */
.markdown-body hr {
    border-color: rgba(99, 102, 241, 0.3) !important;
    background: rgba(99, 102, 241, 0.3) !important;
    margin: 2rem 0 !important;
}

/* 强调文本 */
.markdown-body strong,
.markdown-body b {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.markdown-body em,
.markdown-body i {
    color: var(--accent-color) !important;
}

/* 删除线 */
.markdown-body del {
    color: var(--text-muted) !important;
}

/* 图片 */
.markdown-body img {
    border-radius: 8px !important;
    max-width: 100% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* 任务列表 */
.markdown-body .task-list-item {
    list-style-type: none !important;
}

.markdown-body .task-list-item input[type="checkbox"] {
    margin-right: 0.5rem !important;
}

/* 无更新说明样式 */
.no-changelog {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* ===== Release 日期样式 ===== */
.release-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.version-item .release-date {
    margin-top: 0.3rem;
}

/* ===== FAQ 常见问题样式 ===== */
.faq {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    padding-left: 48px;
}

.faq-item a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-item a:hover {
    color: var(--secondary);
}

/* 页脚关键词样式 */
.footer-keywords {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* ===== 响应式 - 截图和更新日志 ===== */
@media (max-width: 968px) {
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .screenshot-container {
        height: 400px;
    }

    .screenshot-item img {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .changelog-content {
        padding: 2rem 1.5rem;
    }

    .changelog-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .screenshot-container {
        height: 300px;
    }

    .screenshot-item img {
        max-height: 250px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .changelog-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}