/* 更新日志页面专用样式 */

.nav-links a.second {
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}
.nav-links a.second::after {
    width: 100%;
}

.footer {
    background-color: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px;
    position: relative;
    z-index: 10;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    max-width: 400px;
}

.footer-info .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-info .logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

.footer-info .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1446px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    margin-top: 0;
    height: 22px; /* 确保所有h4高度一致 */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.footer-column li {
    margin: 0;
    flex: 1;
    text-align: center;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: #00ccff;
    transform: translateX(4px);
}

/* 二维码悬停效果 */
.nav-links li {
    position: relative;
    display: inline-block;
}

.qrcode-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 204, 255, 0.2);
    z-index: 1000;
    border: 1px solid rgba(0, 204, 255, 0.4);
    padding: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0, 204, 255, 0.4);
}

.qrcode-popup span {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #fff;
    margin: 5px 0;
    font-weight: 500;
}

.contact-link:hover + .qrcode-popup,
.qrcode-popup:hover {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.qrcode-image {
    width: 180px;
    height: 180px;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-image:last-child {
    margin-bottom: 0;
}

/* 联系我们链接样式增强 */
.contact-link {
    position: relative;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: rgba(0, 204, 255, 0.1);
    transform: translateY(-2px);
}

.coming-soon-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links {
    margin-top: 2px;
}

.footer-bottom a:hover {
    color: #00ccff;
}

.footer-bottom .license {
    margin-top: 16px;
}

.footer-bottom .license a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-bottom .license a:hover {
    color: #00ccff;
}

/* 响应式 Footer 样式 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-bottom .social-links {
        gap: 15px;
    }
}

/* 日志容器样式增强 */
.log-container {
    position: relative;
    z-index: 2;
}

/* 分页按钮样式 */
.pagination-btn {
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.pagination-btn.active {
    box-shadow: 0 2px 8px rgba(0, 204, 255, 0.3);
}

/* 下拉菜单样式增强 */
#android-submenu {
    backdrop-filter: blur(10px);
}

#android-submenu .pagination-btn:hover {
    background: rgba(0, 204, 255, 0.1) !important;
    transform: translateX(5px);
}

/* 内容区域样式 */
.log-content {
    background-color: black;
    color: white;
}

.log-content-section {
    scroll-margin-top: 100px;
    transition: opacity 0.3s ease;
}

.log-content-section.active {
    opacity: 1;
}

/* 分页容器样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding-top: 20px;
    gap: 15px;
    position: relative;
}

/* 按钮容器样式 */
.btn-container {
    position: relative;
}

/* 主按钮样式 */
.main-tab-btn {
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

/* 子菜单按钮样式 */
.submenu-tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
}

/* 下拉子菜单样式 */
#android-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(22, 22, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 200px;
}

/* 日志内容容器初始状态 */
#ios-content,
#android-content {
    display: none;
}

/* 移除时间线样式 */
.timeline {
    padding-left: 0 !important;
}

.timeline::before {
    display: none !important;
}

/* 版本组样式已优化，移除默认样式 */

/* 版本组样式优化 */
.version-group {
    margin-bottom: 70px;
    position: relative;
}

.version-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ccff, transparent);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.version-group:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.7);
}

/* 版本项样式优化 */
.box-right-dd {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 16px;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.box-right-dd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ccff, #0066ff);
    transition: all 0.3s ease;
}

.box-right-dd:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.1);
    border-color: rgba(0, 204, 255, 0.2);
}

/* 移除冗余的悬停效果 */

/* 版本号样式增强 */
.box-right-dd strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-bottom: 16px;
}

/* 日期样式优化 */
.box-right-dd .update-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
    font-style: italic;
}

/* 特性列表样式增强 */
.feature-list {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ffffff;
    transition: all 0.2s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
    color: #ffffff;
}

/* 默认点颜色 */
.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1;
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

/* 下载链接样式增强 */
.box-right-dd a {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 24px;
    color: #00ccff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.box-right-dd a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 255, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.box-right-dd a:hover {
    background: rgba(0, 204, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
    border-color: rgba(0, 204, 255, 0.5);
}

.box-right-dd a:hover::before {
    left: 100%;
}

/* 停止下载样式优化 */
.stop-download,
.download-link {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(100, 100, 100, 0.1);
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 24px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    cursor: not-allowed;
}

/* 特殊标记样式增强 */
.bugfix {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0 3px;
}

.improvement {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0 3px;
}

.new-feature {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0 3px;
}

.notice {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0 3px;
}

.bugfix::after,
.improvement::after,
.new-feature::after,
.notice::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00ccff;
    opacity: 0;
    transition: all 0.5s ease;
}

.feature-list li:hover .bugfix::after,
.feature-list li:hover .improvement::after,
.feature-list li:hover .new-feature::after,
.feature-list li:hover .notice::after {
    width: 100%;
    opacity: 0.5;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box-right-dd {
    animation: fadeInUp 0.6s ease-out forwards;
}

.box-right-dd:nth-child(1) { animation-delay: 0.1s; }
.box-right-dd:nth-child(2) { animation-delay: 0.2s; }
.box-right-dd:nth-child(3) { animation-delay: 0.3s; }
.box-right-dd:nth-child(4) { animation-delay: 0.4s; }
.box-right-dd:nth-child(5) { animation-delay: 0.5s; }

/* 响应式优化 */
@media (max-width: 768px) {
    .version-group {
        margin-bottom: 50px;
    }
    
    .version-group::before {
        left: -30px;
        width: 12px;
        height: 12px;
    }
    
    .box-right-dd {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    .box-right-dd strong {
        font-size: 18px;
    }
    
    .feature-list li {
        padding-left: 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .version-group::before {
        left: -24px;
        width: 10px;
        height: 10px;
    }
    
    .box-right-dd {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .box-right-dd strong {
        font-size: 16px;
    }
    
    .feature-list li {
        padding-left: 18px;
        font-size: 13px;
    }
    
    .box-right-dd a,
    .stop-download,
    .download-link {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* 下载链接样式增强 */
.feature-list + a {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 24px;
    color: #00ccff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-list + a:hover {
    background: rgba(0, 204, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
    border-color: rgba(0, 204, 255, 0.5);
}

/* 停止下载样式 */
.stop-download {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(100, 100, 100, 0.1);
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 24px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    cursor: not-allowed;
}

/* 图片预览样式 */
.image-preview {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.image-preview.active {
    display: flex;
}

.image-preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.preview-image {
    max-width: 100%;
    max-height: 90vh;
    transform: scale(1.5);
    transition: transform 0.3s ease;
    object-fit: contain;
    border-radius: 8px;
}

.close-preview {
    position: absolute;
    top: -40px;
    right: -40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.close-preview:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* 二维码图片样式 */
.popup-qrcode {
    width: 180px;
    height: 180px;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-qrcode:hover {
    transform: scale(1.05);
}
