/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
    --primary-color: #46beff;
    --bg-dark: #080c18;
    --bg-card: rgba(255,255,255,0.035);
}

body {
    color: #e0f7ff;
    line-height: 1.7;
    background: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    padding-top: calc(80px + var(--safe-top));
    padding-bottom: calc(80px + var(--safe-bottom));
}

/* 骨架屏 */
.skeleton {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0c1022;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    transition: opacity 0.5s ease;
}
.skeleton-item {
    width: 90%;
    height: 120px;
    background: linear-gradient(90deg, #121a33, #1a2442, #121a33);
    background-size: 200% 100%;
    animation: skeleton 1.2s infinite linear;
    border-radius: 12px;
}
@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 滚动渐显动画 */
.fade-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 动态光效 */
.light-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(70, 190, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(30, 100, 255, 0.08) 0%, transparent 40%);
    animation: lightMove 16s linear infinite alternate;
    z-index: -1;
    opacity: 0.8;
}
@keyframes lightMove {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-20px,-20px) scale(1.05); }
    100% { transform: translate(20px,20px) scale(1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(70, 190, 255, 0.3);
}

.section-title p {
    font-size: 16px;
    color: #72aaff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(70, 190, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 999;
    padding-top: var(--safe-top);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    display: block;
    width: 180px;
    height: 60px;
    object-fit: contain;
}

.nav-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    color: #c0e0ff;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* ========== PC端顶部下载按钮（修复完成） ========== */
.pc-download-btn {
    background: linear-gradient(90deg, #2563eb, #46beff);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pc-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 190, 255, 0.3);
}

/* ===================== 新版：营销数据感 平台优势 ===================== */
.about-data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.data-card {
    background: rgba(70, 190, 255, 0.05);
    border: 1px solid rgba(70, 190, 255, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.data-card:hover {
    transform: translateY(-5px);
    background: rgba(70, 190, 255, 0.1);
}

.data-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.data-text {
    font-size: 16px;
    color: #e0f7ff;
    margin-bottom: 15px;
}

.data-icon {
    font-size: 26px;
    color: var(--primary-color);
    opacity: 0.7;
}

.about-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #a8c8ff;
    line-height: 1.8;
}

/* ===================== 核心特色 ===================== */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.advantage-item {
    background: var(--bg-card);
    border: 1px solid rgba(70, 190, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.advantage-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    background: rgba(70, 190, 255, 0.08);
    box-shadow: 0 6px 20px rgba(70, 190, 255, 0.15);
}
.advantage-item img {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.advantage-item h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}
.advantage-item p {
    font-size: 15px;
    color: #90b8ff;
}

/* ===================== 用户评价 ===================== */
.evaluate-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.evaluate-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 390px;
    border: 1px solid rgba(70, 190, 255, 0.15);
    transition: all 0.3s ease;
}
.evaluate-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(70, 190, 255, 0.2);
}
.evaluate-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.evaluate-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8,12,24,0.9), rgba(8,12,24,0.35));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px 24px;
    color: #fff;
    text-align: center;
}
.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 2px solid rgba(70, 190, 255, 0.4);
}
.user-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #fff;
}
.star {
    color: #ffd046;
    font-size: 14px;
    margin-bottom: 12px;
}
.evaluate-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(220,240,255,0.9);
}

/* ===================== 游戏资源 ===================== */
.resource-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.resource-item {
    background: var(--bg-card);
    border: 1px solid rgba(70, 190, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.resource-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(70, 190, 255, 0.15);
}
.resource-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.resource-info {
    padding: 30px;
}
.resource-info h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
}
.resource-info p {
    font-size: 15px;
    color: #90b8ff;
    margin-bottom: 25px;
}
.resource-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(90deg, #2563eb, #46beff);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 190, 255, 0.3);
}
.resource-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 190, 255, 0.4);
}

/* 底部悬浮下载 */
.mobile-float-download {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(70, 190, 255, 0.15);
    padding: 12px 16px calc(12px + var(--safe-bottom));
    z-index: 998;
    display: none;
}
.float-download-btn {
    display: block;
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(90deg, #2563eb, #46beff);
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(70, 190, 255, 0.3);
}
.float-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(70, 190, 255, 0.4);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(70, 190, 255, 0.1);
    text-align: center;
    padding: 40px 0;
}
.footer p {
    font-size: 14px;
    color: #6088bb;
}

/* -------------------------- 响应式 -------------------------- */
@media (max-width: 1100px) {
    .evaluate-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-data-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-list { grid-template-columns: repeat(2, 1fr); }
    .resource-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        display: none;
        border-bottom: 1px solid rgba(70, 190, 255, 0.15);
        align-items: flex-start;
    }
    .nav-menu.active { display: flex; }
    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
    }
    /* 手机端隐藏PC顶部下载按钮 */
    .pc-download-btn { display: none; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .mobile-float-download { display: block; }
    body { padding-bottom: calc(80px + var(--safe-bottom)); }
    .resource-img { height: 280px; }
}

@media (max-width: 480px) {
    .about-data-grid,
    .advantage-list,
    .evaluate-list,
    .resource-list { grid-template-columns: 1fr; }
    .data-number { font-size: 36px; }
    .evaluate-item { height: 360px; }
}