/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f8d49a 0%, #f5c779 50%, #f2b94e 90%);
    background-attachment: fixed;
    color: #333;
    padding-top: 70px;
    overflow-x: hidden;
}

/* 核心修改：标题字体改为正常无衬线字体，去掉特殊字体 */
h1, h2, h3 {
    font-family: 'Noto Sans SC', sans-serif; /* 替换为和正文一致的正常字体 */
    color: #e67e22;
    font-weight: 700; /* 加粗突出标题，无需特殊字体也能区分 */
}

/* 顶部导航栏 */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    gap: 2px;
    padding: 0 4px;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu li a {
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.nav-menu li a i {
    font-size: 13px;
}

.nav-menu li a:hover,
.nav-menu li a:active {
    background: rgba(240, 240, 240, 0.8);
    color: #e67e22;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu li a:hover::after {
    width: 80%;
}

/* 毛玻璃卡片容器 */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 20px 15px;
    margin: 20px auto;
    max-width: 1200px;
    width: 92%;
}

/* APP信息区 */
.app-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
    object-fit: cover;
    content: url("https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/1190d5a61eef4a23b0436d699cb5c510.png~tplv-a9rns2rl98-image.png?rcl=20251208184452B33EFEB74655AFF4FDD4&rk3s=8e244e95&rrcfp=dafada99&x-expires=2081414693&x-signature=1ADQCelALmPtNW%2FhRa9uqe5dAKU%3D");
}

.app-desc {
    flex: 1;
    min-width: 280px;
}

/* 调整APP名称字体大小，确保突出且正常 */
.app-desc h1 {
    font-size: 34px; /* 适当加大字号，替代特殊字体的视觉突出效果 */
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px; /* 轻微加字距，更美观 */
}

.app-desc p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
    text-align: justify;
    padding: 0 5px;
}

/* 下载按钮组 */
.download-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 10px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 126, 34, 0.3);
}

.download-btn i {
    font-size: 20px;
}

/* 截图展示区 */
.app-screenshots h2 {
    font-size: 30px; /* 调整标题字号，保持层次 */
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.screenshots-wrap {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 8px 0 15px;
    scrollbar-width: thin;
    scrollbar-color: #f39c12 rgba(255, 255, 255, 0.3);
    -webkit-overflow-scrolling: touch;
}

.screenshots-wrap::-webkit-scrollbar {
    height: 6px;
}

.screenshots-wrap::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 3px;
}

.screenshot-item {
    width: 280px;
    height: 500px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    transition: scale 0.3s ease;
}

.screenshot-item:hover {
    scale: 1.03;
}

/* 评论区 */
.comments-section h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 5px;
}

.comment-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(230, 126, 34, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #f39c12;
    object-fit: cover;
}

.comment-user-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.comment-user {
    font-weight: 700;
    font-size: 15px;
    color: #e67e22;
}

.comment-rating {
    color: #ffd700;
    font-size: 14px;
    margin-left: 10px;
}

.comment-time {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    margin-left: 10px;
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    padding-left: 57px;
}

/* 响应式适配 */
@media (max-width: 375px) {
    .nav-menu li a {
        font-size: 11px;
        padding: 5px 6px;
        gap: 2px;
    }
    .nav-menu li a i {
        font-size: 12px;
    }
    .app-icon {
        width: 120px;
        height: 120px;
    }
    .app-desc h1 {
        font-size: 30px; /* 小屏调整标题字号 */
    }
    .app-screenshots h2,
    .comments-section h2 {
        font-size: 26px;
    }
    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .screenshot-item {
        width: 250px;
        height: 450px;
    }
    .comment-content {
        padding-left: 47px;
        font-size: 14px;
    }
    .comment-time {
        margin-top: 0;
        margin-left: 5px;
    }
}

@media (min-width: 414px) {
    .nav-menu li a {
        font-size: 13px;
        padding: 6px 9px;
        gap: 4px;
    }
    .nav-menu li a i {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-nav {
        height: 65px;
    }
    .nav-menu li a {
        font-size: 15px;
        padding: 7px 11px;
        gap: 5px;
    }
    .nav-menu li a i {
        font-size: 15px;
    }
    .app-icon {
        width: 160px;
        height: 160px;
    }
    .app-desc h1 {
        font-size: 36px;
    }
    .app-screenshots h2,
    .comments-section h2 {
        font-size: 32px;
    }
}