* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 图标样式 - 按要求更新路径 */
.icon {
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* LOGO图标（保持原路径） */
.icon-logo {
    width: 80px;
    height: 80px; /* 确保方形尺寸 */
}

/* 安卓图标（新路径） */
.icon-android {
    width: 28px;
    height: 28px;
    background-image: url('../static/android.png');
}

/* IOS图标（新路径） */
.icon-ios {
    width: 28px;
    height: 28px;
    background-image: url('../static/ios.png');
}

/* 网页图标（新路径） */
.icon-web {
    width: 28px;
    height: 28px;
    background-image: url('../static/google.png');
}

/* QQ图标（新路径） */
.icon-qq {
    width: 32px;
    height: 32px;
    background-image: url('../static/QQ.png');
}

/* 提示框下载图标（保持原路径） */
.icon-download {
    width: 48px;
    height: 48px;
    background-image: url('../static/logo.png');
}

/* 顶部公告栏 */
.notice-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fe454a;
    color: white;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(254, 69, 74, 0.3);
}

.notice-bar span {
    color: #fff3cd;
    font-weight: 600;
    text-decoration: underline;
}

/* 头部区域 */
.header {
    margin-top: 50px;
    text-align: center;
    padding: 20px 16px 30px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.logo-container {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px; /* 方形容器 */
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(254, 69, 74, 0.3);
    overflow: hidden;
}

.app-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    /* SEO优化：标题关键词突出 */
    letter-spacing: 0.5px;
}

/* app-desc优化：简洁大方版 */
.app-desc {
    font-size: 15px;
    color: #666;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.app-desc .highlight {
    color: #fe454a;
    font-weight: 600;
}

/* 下载按钮区域 */
.download-section {
    padding: 0 16px 30px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.download-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 桌面端按钮横向排列 */
@media (min-width: 768px) {
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .download-btn {
        flex: 1;
        max-width: 220px;
    }
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px;
    background-color: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.download-btn.android,
.download-btn.ios,
.download-btn.web {
    border-color: #fe454a;
    background-color: rgba(254, 69, 74, 0.05);
    color: #fe454a;
}

/* QQ群区域 - 简洁优化版 */
.qq-group {
    background-color: white;
    padding: 20px 16px;
    margin: 0 16px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: all 0.3s ease;
}

.qq-group:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.qq-group-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qq-icon-container {
    width: 48px;
    height: 48px;
    background-color: rgba(254, 69, 74, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qq-info {
    flex: 1;
}

.qq-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.qq-number {
    font-size: 15px;
    color: #fe454a;
    font-weight: 600;
}

.qq-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #fe454a;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.qq-link:hover {
    background-color: #e03c40;
    transform: translateY(-2px);
}

/* 移动端QQ群布局优化 */
@media (max-width: 480px) {
    .qq-group-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .qq-info {
        width: 100%;
    }
    
    .qq-link {
        width: 100%;
        padding: 10px;
        margin-top: 8px;
    }
}

/* 安装教程区域 */
.tutorial-section {
    background-color: white;
    padding: 30px 16px;
    margin: 0 16px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.tutorial-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tutorial-title::before {
    content: "";
    width: 4px;
    height: 24px;
    background-color: #fe454a;
    border-radius: 2px;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: #fe454a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.step-desc {
    font-size: 14px;
    color: #666;
}

/* 更新日志模块 */
.changelog-section {
    background-color: white;
    padding: 30px 16px;
    margin: 0 16px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.changelog-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.changelog-title::before {
    content: "";
    width: 4px;
    height: 24px;
    background-color: #fe454a;
    border-radius: 2px;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.changelog-item {
    padding: 20px;
    background-color: rgba(254, 69, 74, 0.03);
    border-radius: 12px;
    border-left: 3px solid #fe454a;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.version {
    font-size: 18px;
    font-weight: bold;
    color: #fe454a;
}

.update-date {
    font-size: 14px;
    color: #888;
    padding: 4px 8px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.update-content {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.update-content li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center; /* 关键修改：垂直居中对齐 */
    gap: 8px;
    line-height: 1.6; /* 优化行高，确保多行文本也对齐 */
}

.update-content li::before {
    content: "•";
    color: #fe454a;
    font-weight: bold;
    margin-top: 0; /* 移除顶部边距，通过align-items居中 */
    font-size: 16px; /* 微调小点大小，提升视觉对齐效果 */
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #999;
    padding: 30px 16px 20px;
    font-size: 13px;
    text-align: center;
    opacity: 1;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fe454a;
}

.copyright {
    margin-top: 20px;
    line-height: 1.8;
}

/* 自定义提示框 - 确认按钮无图标 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 350px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-icon-container {
    text-align: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 12px;
}

.modal-content {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.modal-btn.cancel {
    background-color: #f5f5f5;
    color: #666;
}

.modal-btn.cancel:hover {
    background-color: #e9e9e9;
}

.modal-btn.confirm {
    background-color: #fe454a;
    color: white;
}

.modal-btn.confirm:hover {
    background-color: #e03c40;
}

/* 滚动进度条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #fe454a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e03c40;
}

/* SEO优化：响应式字体适配 */
@media (max-width: 480px) {
    .app-name {
        font-size: 24px;
    }
    
    .app-desc {
        font-size: 14px;
    }
    .tutorial-title,
    .changelog-title {
        font-size: 20px;
    }
    
    .version {
        font-size: 16px;
    }
}