* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

body {
    background-color: #0b0d17;
    color: #e0e0e0;
    line-height: 1.6;
}

/* ========== 导航栏 ========== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #11131f;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e2133;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #4da6ff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #7a7f9a;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: #4da6ff;
    border-bottom-color: #4da6ff;
}

/* ========== 首页 - 英雄区 ========== */
.hero {
    background: radial-gradient(ellipse at center, #142040 0%, #0b0d17 70%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #1e2133;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 12px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 17px;
    color: #8890a8;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 14px 56px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
}

.hero-btn:hover {
    background: linear-gradient(180deg, #4da6ff, #3b82f6);
    transform: translateY(-1px);
}

/* ========== 首页 - 功能介绍 ========== */
.features {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 10px;
    padding: 24px;
    transition: 0.3s;
}

.feature-item:hover {
    border-color: #4da6ff;
    box-shadow: 0 4px 20px rgba(77, 166, 255, 0.08);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.feature-item h3 {
    color: #e0e0e0;
    font-size: 17px;
    margin-bottom: 8px;
}

.feature-item p {
    color: #7a7f9a;
    font-size: 14px;
    line-height: 1.6;
}

/* ========== 首页 - 界面预览 ========== */
.preview {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.preview-card {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 12px;
    padding: 20px;
}

.preview-card img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #1e2133;
}

/* ========== 通用 ========== */
.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 35px;
    color: #4da6ff;
    font-weight: bold;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ========== 下载页 - 主要资源卡片 ========== */
.featured-card {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    transition: 0.3s;
}

.featured-card:hover {
    border-color: #4da6ff;
    box-shadow: 0 4px 24px rgba(77, 166, 255, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title-group h3 {
    font-size: 24px;
    color: #ffffff;
}

.version-badge {
    background: #1a2a40;
    color: #4da6ff;
    border: 1px solid #2a3a60;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.screenshot {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #252840;
    margin-bottom: 20px;
    display: block;
}

.card-desc {
    color: #8890a8;
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-tags span {
    background: #1a2040;
    color: #6baaff;
    border: 1px solid #253060;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
}

.featured-btn {
    display: inline-block;
    padding: 12px 48px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    transition: 0.2s;
}

.featured-btn:hover {
    background: linear-gradient(180deg, #4da6ff, #3b82f6);
}

/* ========== 下载页 - 次要资源 ========== */
.sub-resources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.mod-card {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 10px;
    padding: 20px;
    transition: 0.3s;
}

.mod-card:hover {
    border-color: #4da6ff;
    box-shadow: 0 4px 20px rgba(77, 166, 255, 0.08);
}

.mod-card h3 {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 17px;
}

.mod-card p {
    color: #7a7f9a;
    font-size: 14px;
    margin-bottom: 15px;
}

.download-btn {
    display: block;
    text-align: center;
    padding: 9px;
    background: #1a2a40;
    color: #4da6ff;
    text-decoration: none;
    border: 1px solid #2a3a60;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

.download-btn:hover {
    background: #243460;
    border-color: #4da6ff;
}

/* ========== 关于本站 - 免责声明 ========== */
.disclaimer-warn {
    background: #1a1010;
    border: 1px solid #4a2020;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

.disclaimer-warn p {
    color: #d4a0a0;
    font-size: 14px;
    line-height: 1.9;
}

.disclaimer-warn strong {
    color: #f87171;
}

.disclaimer-card {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 12px;
    padding: 35px;
    line-height: 2;
}

.disclaimer-card h3 {
    color: #4da6ff;
    font-size: 17px;
    margin: 24px 0 10px;
}

.disclaimer-card h3:first-child {
    margin-top: 0;
}

.disclaimer-card p {
    color: #8890a8;
    font-size: 14px;
}

.disclaimer-card ol {
    color: #8890a8;
    font-size: 14px;
    padding-left: 20px;
}

.disclaimer-card ol li {
    margin-bottom: 6px;
}

/* ========== 页面切换 ========== */
.page {
    display: block;
}

.page.hidden {
    display: none;
}

/* ========== 免责声明弹窗 ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: #141620;
    border: 1px solid #252840;
    border-radius: 14px;
    padding: 35px;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-size: 20px;
    color: #f59e0b;
    margin-bottom: 20px;
    text-align: center;
}

.modal-body p {
    color: #8890a8;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.modal-body strong {
    color: #e0e0e0;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.modal-btn-cancel {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
}

.modal-btn-cancel:hover {
    background: #2a3a50;
    color: #e0e0e0;
}

.modal-btn-confirm {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
}

.modal-btn-confirm:hover {
    background: linear-gradient(180deg, #4da6ff, #3b82f6);
}

/* ========== 页脚 ========== */
footer {
    background: #11131f;
    border-top: 1px solid #1e2133;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
    color: #555;
    font-size: 13px;
}
