*{
    font-family: "苹方", -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #f5f7fa;
    padding-top: 80px;
}
.home{
    max-width: 1400px; /* 增加最大宽度 */
    min-height:300px;
    display: block;
    margin:0 auto;
    padding: 0 15px;
    width: 100%; /* 确保容器占满可用宽度 */
}
.kui{
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #3e4449;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
a {
    text-decoration: none; /* 去除默认的下划线 */
    outline: none;	/* 去除旧版浏览器的点击后的外虚线框 */
    color: #20a53a;	/* 去除默认的颜色和点击后变化的颜色 */
}
.title{
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
    color: #6c757d;
}
.app{
    display: inline-block;
    width: 25%;
    margin-bottom: 10px;
}
.app-title{
    text-align: center;
    margin: 8px auto;
    color: black;
    font-size: 14px;
    font-weight: 500;
}
.app-img{
    width: 80%;
    max-width: 100px;
    border: 1px solid #FFFFFFFF;
    border-radius: 10px;
    clear: both;
    display: block;
    margin: auto;
}
.m-img{
    width: 95%;
    max-width: 330px;
    max-height: 330px
}
.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #45a049;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 12px;
}

.app-lists {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC端固定4列 */
    gap: 15px; /* 减小间距 */
    margin: 20px 0;
    width: 100%; /* 确保列表占满容器宽度 */
}

.app-item {
    height: auto;
    min-height: 90px;
    display: flex;
    padding: 12px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* 移除卡片悬停效果，只保留按钮交互 */
.app-item {
    cursor: default;
}

/* 显示下载按钮 */
.app-item .app-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.app-item .app-button:hover {
    background-color: #45a049;
}

/* 卡片内容样式 */
.app-item .pic {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #E4E3E3;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 6px;
}

.app-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.app-item .app-name-desc {
    flex: 1;
    margin: 0 6px;
    text-align: left;
    min-width: 0;
}

.app-item .app-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2c3e50; /* 深色标题，更清晰 */
}

/* 应用名称中下划线后面的部分显示为红色 */
.app-item .app-name .red-suffix {
    color: #f81900;
}

.app-item .app-desc {
    font-size: 13px;
    color: #e74c3c; /* 更鲜艳的红色，更清晰 */
    font-weight: bold;
    line-height: 1.2;
}

.title {
    text-align: center;
    color: red;
}

a:link {
    text-decoration: none;
}

.app-item .app-name .tip-icon {
    padding: 0px 2px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.15);
    font-size: 9px;
    color: #FFF;
    text-align: center;
    margin-left: 4px;
    margin-bottom: 4px;
}

.app-name {
    font-size: 20px;
    font-weight: bold;
}

/* 固定顶部栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 5px 0;
}

.header .kui {
    margin: 0 auto;
    padding: 5px 25px;
    width: 60%;
    background-color: #fff;
    box-shadow: none;
}

.header h1 {
    color: #000;
    margin: 0;
    font-size: 24px;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
}

/* 图片和文字布局 */
.image-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 10px 0; /* 减小上下边距 */
}

.image-container {
    text-align: center;
}

.image-container h3 {
    margin: 0 0 10px 0; /* 减小标题下方边距 */
}

.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0; /* 移除图片底部边距 */
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .app-lists {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .app-lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px; /* 减小移动端顶部padding */
    }
    
    .header .kui {
        width: 100%; /* 移动端标题栏全宽 */
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: 300px;
    }
    
    .image-section {
        margin: 5px 0; /* 移动端更小的边距 */
        gap: 15px; /* 移动端更小的间距 */
    }
    
    .image-container h3 {
        margin: 0 0 8px 0; /* 移动端更小的标题边距 */
    }
    
    .app-lists {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .app-item {
        min-height: 85px; /* 移动端更小的高度 */
        padding: 8px; /* 移动端更小的内边距 */
    }
    
    .app-item .pic {
        width: 40px; /* 移动端更小的图标 */
        height: 40px;
    }
}

/* 在移动端隐藏二维码 */
@media screen and (max-width: 768px) {
    .wechat-qrcode {
        display: none;
    }
}
/* 在PC端显示二维码 */
@media screen and (min-width: 769px) {
    .wechat-qrcode {
        display: block;
    }
}
/* 图片放大遮罩层 */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-overlay img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

/* 自定义弹窗样式 */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 85%;
    width: 340px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-message {
    margin-bottom: 30px;
}

.modal-message h3 {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.modal-message p {
    margin: 0;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.modal-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 14px 35px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    letter-spacing: 1px;
}

.modal-button:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.modal-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* 美化时间轴样式 */
.timeline-container {
    position: relative;
    margin: 25px 0;
    padding-left: 180px;
}

/* 时间轴主线 - 冷色调渐变 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2, #667eea, #f093fb);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(102, 126, 234, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(3px);
}

/* 时间标签美化 */
.timeline-date {
    position: absolute;
    left: -180px;
    top: 0;
    width: 130px;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    padding: 6px 16px 6px 0;
    background: linear-gradient(135deg, #f8faff, #edf2f7);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    background: linear-gradient(135deg, #fff, #f8faff);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    transform: scale(1.01);
}

/* 最新版本时间标签 */
.timeline-item:first-child .timeline-date {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-weight: 600;
    animation: techGlow 3s ease-in-out infinite alternate;
}

@keyframes techGlow {
    from {
        box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
    }
    to {
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.5);
    }
}

/* 时间轴圆点美化 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(102, 126, 234, 0.15);
}

.timeline-item:hover::before {
    transform: scale(1.2);
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 最新版本圆点 */
.timeline-item:first-child::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-color: #fff;
    animation: techPulse 3s ease-in-out infinite;
}

@keyframes techPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* 内容区域美化 */
.timeline-content {
    flex: 1;
    padding: 12px 20px;
    background: #fff;
    border-radius: 10px;
    border-left: 3px solid #f8faff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    margin-left: 20px;
}

.timeline-item:hover .timeline-content {
    border-left-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}

.timeline-item:first-child .timeline-content {
    border-left-color: #667eea;
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}

.timeline-content p {
    margin: 2px 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.4;
    position: relative;
    padding-left: 16px;
    transition: color 0.2s ease;
}

.timeline-content p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #764ba2;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s ease;
}

.timeline-content p:hover {
    color: #2d3748;
}

.timeline-content p:hover::before {
    color: #667eea;
    transform: translateX(2px);
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
        padding-left: 0;
        margin: 30px 0;
    }
    
    .timeline-container::before {
        left: 25px;
        width: 2px;
    }
    
    .timeline-item {
        padding-left: 50px;
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .timeline-item:hover {
        transform: none;
    }
    
    .timeline-date {
        position: static;
        width: auto;
        text-align: left;
        padding: 6px 12px;
        margin-bottom: 12px;
        font-size: 14px;
        border-radius: 15px;
        display: inline-block;
    }
    
    .timeline-item::before {
        left: 19px;
        top: 4px;
        width: 10px;
        height: 10px;
        border-width: 2px;
    }
    
    .timeline-content {
        padding: 16px 20px;
        margin-left: 0;
        border-radius: 10px;
    }
    
    .timeline-content p {
        font-size: 14px;
        padding-left: 16px;
    }
}

@media (max-width: 480px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-item::before {
        left: 16px;
        width: 8px;
        height: 8px;
    }
    
    .timeline-date {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .timeline-content {
        padding: 14px 16px;
    }
    
    .timeline-content p {
        font-size: 13px;
        padding-left: 14px;
    }
}