* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; scroll-padding-top: 10px; }

body {
    background: #f7f9fb;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #1d1d1f;
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    position: relative;
    overflow-x: hidden;
}

@keyframes bg-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* 固定顶部导航栏 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(247, 249, 251, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 48px;
    gap: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #374151;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover {
    color: #0F2829;
}

.nav-link.active {
    color: #0F2829;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    right: 0;
    top: 12px;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Hero 区 */
.hero {
    margin-top: 0;
    margin-bottom: 0;
    height: calc(100dvh - 80px);
    padding: 0;
    display: block;
}

/* 首屏统计条 */
.hero-stats { width: min(1200px, 100%); max-width: 1200px; margin: 0 auto; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255,255,255,0.45); border-radius: 16px; box-shadow: 0 10px 30px rgba(15,98,254,0.08); padding: 14px 20px; backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.hero-stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item { border-left: 0; }
.stat-value { font-size: clamp(1.4rem, 2vw + 0.8rem, 2.4rem); font-weight: 800; color: #0F2829; letter-spacing: -0.25px; opacity: 0; animation: statIn .5s ease forwards; }
.stat-item:nth-child(2) .stat-value { animation-delay: .06s; }
.stat-item:nth-child(3) .stat-value { animation-delay: .12s; }
@keyframes statIn { to { opacity: 1; transform: none; } }
.stat-item:hover .stat-value { transform: scale(1.05); }
.stat-label { margin-top: 2px; font-size: .85rem; letter-spacing: normal; text-transform: none; color: #6b7280; }


.hero-surface {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    isolation: isolate;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 由统计条自身 margin-top:auto 控制贴底 */
    height: calc(100dvh - 80px);
    padding: 20vh 0 10vh;
}
.hero-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(200px at 20% 20%, rgba(0, 123, 255, 0.10), transparent 55%),
        radial-gradient(240px at 80% 25%, rgba(0, 40, 80, 0.10), transparent 60%);
    z-index: -1;
}

.hero-grid { grid-row: 1; justify-self: center; }
.hero-stats { margin-top: auto; }

.hero-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
}

.hero-logo-wrapper {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.hero-logo-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.hero-title-text {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(to right, #0066cc, #4da6ff, #0066cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.hero-text p {
    margin-top: 10px;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

.inline-btn {
    display: inline-flex;
    margin-left: 12px;
    vertical-align: middle;
}

.inline-btn i {
    font-size: 0.9em;
}

.inline-btn span {
    font-size: 0.9em;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 首屏左右两列布局 */
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.hero-left { display: flex; flex-direction: column; gap: 12px; align-self: start; }
.hero-left .hero-actions { justify-content: flex-start; }
.hero-right { flex-direction: column; align-items: flex-end; gap: 12px; align-self: start; justify-self: end; margin-top: -30px; }

/* 购买渠道卡片 */
.purchase-card { 
    position: relative;
    overflow: hidden; 
    background: #ffffff; 
    border: 1px solid #edf2f9; 
    border-radius: 16px; 
    box-shadow: 0 6px 16px rgba(15,98,254,0.06); 
    padding: 10px 18px;
}
.purchase-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #0f62fe, #3385ff, #4da6ff); }
.purchase-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #0f2829; margin-bottom: 12px; }
.purchase-title i { color: #0f62fe; }
.purchase-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.purchase-actions.stack { flex-direction: column; }
.purchase-actions.stack .btn-cta { width: 100%; justify-content: center; }
.purchase-actions .btn-cta { padding: 12px 16px; }
.purchase-note { margin-top: 8px; color: #556; font-size: 0.9rem; }

/* 使用提示卡片 */
.notice-card { margin-top: 10px; }
.notice-date { margin-top: 3px; font-size: 0.8rem; color: #666; }

/* 文档作为轻量链接按钮 */
.btn-cta.link {
    background: transparent;
    border: none;
    color: #0f62fe;
    padding: 0;
    box-shadow: none;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    gap: 6px;
}
.btn-cta.link i { color: #0f62fe; font-size: 1em; }
.btn-cta.link:hover { text-decoration: underline; transform: none; box-shadow: none; }

/* 响应式：两列改为单列 + 首屏改为自然流（平板/大屏手机）*/
@media (max-width: 1024px) {
  .hero { height: auto !important; }
  .hero-surface { display: block !important; height: auto !important; padding: 12px 16px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 16px; padding: 0 !important; margin-bottom: 12px; }
  .hero-stats { margin-top: 12px !important; width: 100% !important; max-width: none !important; }
  .hero-header { justify-content: center; flex-direction: column; text-align: center; }
  .hero-logo-wrapper { margin: 0 auto; }
  .hero-right { margin-top: 0px; order: 2; justify-self: auto;  }
}

/* Mobile hero hotfix */
@media (max-width: 900px) {
  .hero { height: auto !important; }
  .hero .hero-surface { display: block !important; height: auto !important; padding: 0 16px !important; }
  .hero .hero-grid { grid-template-columns: 1fr !important; gap: 16px !important; padding: 0 !important; margin-bottom: 12px !important; }
  .hero .hero-stats { margin-top: 12px !important; width: 100% !important; max-width: none !important; }
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta.primary {
    background: linear-gradient(120deg, #0f62fe, #3385ff);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.22);
}

.btn-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 98, 254, 0.28);
}

.btn-cta.ghost {
    background: #ffffff;
    color: #0f62fe;
    border: 1px solid #d8e5ff;
}

.btn-cta.ghost:hover {
    background: #f5f8ff;
    transform: translateY(-2px);
}

.btn-cta.small {
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 6px;
    border: 1px solid #d8e5ff;
    border-radius: 6px;
    white-space: nowrap;
    background: #ffffff;
    color: #0f62fe;
}

.btn-cta.small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 页面分区切换 */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.download-section {
    display: none;
}

#home.page-section.active + .download-section {
    display: block;
}

/* 移动端不显示下载块 */
@media (max-width: 640px) {
    #home.page-section.active + .download-section {
        display: none;
    }

   .btn-cta.link { width: auto !important; padding: 0 !important; justify-content: flex-start; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mascot-logo {
    height: 60px;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    background: #f8fbff;
}

.card-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 102, 204, 0.08);
}

.card-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    color: #0066cc;
}

.card-title-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.menu-links {
    display: grid;
    gap: 12px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 10px;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.menu-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    color: #0066cc;
}

.menu-link:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateX(5px);
    border-left: 3px solid #0066cc;
    color: #0066cc;
}

.menu-link.new {
    position: relative;
    overflow: hidden;
}

.menu-link.new::after {
    content: 'NEW';
    position: absolute;
    top: -10px;
    right: -25px;
    background: #0066cc;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 25px;
    transform: rotate(45deg);
}

.group-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 102, 204, 0.08);
}

.group-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #0066cc;
    display: flex;
    align-items: center;
}

.group-title i {
    margin-right: 10px;
}

.group-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.group-item::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: #0066cc;
}

.supported-servers-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.supported-servers-tip .help-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: #0066cc;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.supported-servers-tip .help-badge:hover {
    background: rgba(0, 102, 204, 0.15);
    transform: translateY(-1px);
}

.footer {
    text-align: center;
    padding: 30px 20px;
    color: #aaa;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 102, 204, 0.08);
    margin-top: 20px;
}

.heart {
    color: #ff3b30;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.2);
    }

    10% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    20% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 400px) {
    body {
        padding-top: 70px;
    }

    .hero { height: auto !important; }
    .hero-surface { display: block !important; height: auto !important; padding: 0 16px !important; }
    .hero-grid { grid-template-columns: 1fr !important; gap: 16px; padding: 0 !important; margin-bottom: 12px; }
    .hero-stats { margin-top: 12px !important; width: 100% !important; max-width: none !important; }

    .main-nav {
        padding: 0 16px;
    }

    .nav-content {
        height: 48px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 251, 242, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 24px;
        text-align: left;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero { height: auto !important; margin-top: 0; margin-bottom: 0; padding: 0; }

    .hero-surface { display: block !important; height: auto !important; padding: 12px 16px !important; }

    .hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-actions {
        margin-top: 0px;
        width: 100%;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-grid {
        padding: 0;
    }


    .content {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }
}

/* 弹窗样式 */
.accelerator-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.feature-card {
    background: rgba(0, 40, 80, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 60, 120, 0.4);
}

.feature-card i {
    font-size: 2.5rem;
    color: #4da6ff;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    color: #bbb;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #0066cc, #4da6ff);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(to right, #0055aa, #3d95ee);
}

.btn-download i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.usage-tips {
    background: rgba(0, 60, 120, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.usage-tips h3 {
    color: #4da6ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.usage-tips h3 i {
    margin-right: 10px;
}

.usage-tips ol {
    padding-left: 25px;
}

.usage-tips li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.warning-note {
    background: rgba(200, 50, 50, 0.2);
    border-left: 4px solid #ff3333;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #666;
    font-size: 0.9rem;
}

/* 渠道链接样式 */
.channel-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.channel-link a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 8px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.channel-link a i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.channel-link a:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateX(3px);
    border-left: 3px solid #0066cc;
}

.error-message {
    background: #fff2f2;
    border-left: 4px solid #ff3b30;
    padding: 1rem;
    border-radius: 8px;
    color: #d70015;
    margin: 1rem 0;
}

.tip-card {
    background: rgba(0, 102, 204, 0.05);
    border-left: 4px solid #0066cc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tip-card-title {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.tip-card-content {
    color: #1d1d1f;
    font-size: 0.9rem;
    line-height: 1.5;
}

.button-container {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.modal {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0, 102, 204, 0.25);
    border: 1px solid rgba(0, 102, 204, 0.12);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
}

.modal-body {
    padding: 18px 20px 8px 20px;
}

.modal-body .tip-card {
    margin-bottom: 12px;
}

.modal-actions {
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.modal-image {
    width: 100%;
    max-width: 500px;
    max-height: 360px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 204, 0.08);
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-text {
    color: #1d1d1f;
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* CDK 引导层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 蓝奏网盘弹窗 */
.lanzou-frame {
    width: 100%;
    height: 75vh;
    border: 0;
    background: #fff;
}

/* Download section styles */
.download-countdown {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin: 10px 0;
    display: inline-block;
    min-width: 80px;
    animation: pulse 1s ease-in-out;
}

.countdown-text {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

.download-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.download-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    border-top-color: #0066cc;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.download-complete-icon {
    font-size: 3.5rem;
    color: #34c759;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease-out;
}

.download-grid {
    max-width: 980px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.download-section {
    padding: 40px 0;
}

.download-card {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 102, 204, .08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-card-title {
    font-weight: 800;
    color: #0f2829;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-card-title i {
    color: #0f62fe;
}

.download-desc {
    color: #556;
    font-size: .95rem;
}

.download-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 10px 14px;
    font-size: .95rem;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 更新历史样式 */
.changelog-nav { position: sticky; top: 8px; z-index: 5; background: #fff; border: 1px solid #e6eef7; border-radius: 10px; padding: 8px; margin: 8px 0 12px; box-shadow: 0 2px 10px rgba(0,102,204,0.05); }
.changelog-nav-inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.changelog-nav-inner::-webkit-scrollbar { height: 6px; }
.changelog-nav-inner::-webkit-scrollbar-thumb { background: rgba(15,98,254,0.2); border-radius: 99px; }
.ch-nav-link { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 999px; background: #f7fbff; border: 1px solid #e6eef7; color: #0f2829; text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; transition: all .15s ease; }
.ch-nav-link:hover { background: #eef6ff; border-color: #d6e8ff; color: #0f62fe; box-shadow: 0 4px 10px rgba(15,98,254,.08);} 
.ch-nav-link.active { background: #e7f0ff; border-color: #cfe1ff; color: #0f62fe; box-shadow: inset 0 0 0 1px rgba(15,98,254,.15); }

/* 版本卡片锚点偏移，避免被固定导航遮挡 */
.version-card { scroll-margin-top: 12px; }
@media (max-width: 1024px) { .version-card { scroll-margin-top: 96px; } }

.changelog-body {
    padding: 16px 18px 20px;
    color: #0f2829;
    display: grid; grid-template-columns: 220px 1fr; 
    gap: 16px;
}

.changelog-body a {
    color: #0f62fe;
}

.changelog-body li {
    margin: 6px 0;
}

.changelog-sidebar { 
    position: sticky; 
    top: 96px; 
    align-self: start;
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 14px;
}

.changelog-timeline {
    position: relative;
    padding-left: 22px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0f62fe, #4da6ff);
    opacity: .2;
}

.sidebar-card { background: transparent; border: 0; border-radius: 12px; padding: 10px 8px; }
.sidebar-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #0f2829; margin-bottom: 10px; }
.sidebar-title i { color: #0f62fe; }
.nav-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.nav-menu li a { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 8px; padding: 0 14px; border-radius: 999px; background: #f7fbff; border: 1px solid #e6eef7; color: #0f2829; text-decoration: none; font-weight: 700; font-size: .93rem; transition: all .15s ease; }
.nav-menu li a:hover { background: #eef6ff; border-color: #d6e8ff; color: #0f62fe; box-shadow: 0 4px 10px rgba(15,98,254,.08); }
.nav-menu li a.active { background: #e7f0ff; border-color: #cfe1ff; color: #0f62fe; box-shadow: inset 0 0 0 1px rgba(15,98,254,.15); }
.nav-menu .version-date { color: #6b7280; font-weight: 500; font-size: .78rem; }

.version-card {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 14px;
    padding: 18px;
    margin: 0px 0 20px 0;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.08);
}

.version-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6eef7;
    flex-wrap: wrap;
}

.version-number {
    font-weight: 800;
    color: #0f62fe;
}

.version-date {
    font-size: .9rem;
    color: #556;
    background: #f7fbff;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e6eef7;
}

.version-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .8rem;
    margin-left: 8px;
    color: #fff;
    background: #0f62fe;
}

.tag-minor {
    background: #0f62fe;
}

.tag-major {
    background: #ff3b30;
}

.tag-patch {
    background: #34c759;
}

.section-title {
    font-weight: 700;
    color: #0f2829;
    margin: 12px 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.changelog-list {
    list-style: none;
    padding-left: 0;
}

.changelog-item {
    position: relative;
    padding: 6px 0 6px 18px;
    color: #1d1d1f;
}

.changelog-item::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: 6px;
    color: #0f62fe;
}

.changelog-list .important {
    background: rgba(255, 59, 48, .06);
    border-left: 3px solid #ff3b30;
    padding-left: 14px;
    border-radius: 6px;
}


/* 等级计算器样式 */
.calc-wrapper {
    padding: 16px 18px 20px;
    background: #fff;
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 12px;
}

.form-item label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #0f2829;
}

.quick-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 360px;
    padding: 5px 0;
}

.quick-select .btn-cta.small {
    flex: 1;
    justify-content: center;
}

.form-item input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6eef7;
    border-radius: 10px;
    background: #f7fbff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-item input:focus {
    border-color: #0f62fe;
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12);
    background: #fff;
}

.hint {
    color: #556;
    font-size: 0.9rem;
    margin-top: 6px;
}

.calc-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-self: end;
    align-self: center;
}

.calc-result {
    margin-top: 14px;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.result-item {
    background: #f7fbff;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    padding: 12px;
}

.result-label {
    color: #556;
    font-size: 0.9rem;
}

.result-value {
    color: #0f2829;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 4px;
}

.result-table-wrapper {
    overflow: auto;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    background: #fff;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.result-table thead th {
    background: #f7fbff;
    border-bottom: 1px solid #e6eef7;
    padding: 10px;
    color: #0f2829;
    text-align: left;
}

.result-table tbody td {
    border-top: 1px solid #f0f4fa;
    padding: 10px;
    color: #1d1d1f;
}

.result-table tbody tr:nth-child(even) {
    background: #fafcff;
}