/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 科技蓝 */
    --primary-blue: #007BFF;
    --primary-blue-dark: #0056b3;
    --primary-blue-light: #4da6ff;
    --primary-blue-lighter: #e6f3ff;
    
    /* 辅助色 - 亮黄色 */
    --accent-yellow: #FFFF00;
    --accent-yellow-dark: #e6e600;
    --accent-yellow-light: #ffff4d;
    
    /* 中性色 */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-light: #e9ecef;
    --border-dark: #dee2e6;
    
    /* 阴影 */
    --shadow-light: 0 2px 10px rgba(0, 123, 255, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 123, 255, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 123, 255, 0.2);
    
    /* 动画时间 */
    --transition-fast: 0.2s;
    --transition-medium: 0.3s;
    --transition-slow: 0.5s;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, var(--accent-yellow-light), var(--accent-yellow));
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* 首页英雄区域 */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-blue-lighter) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-bubbles {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.hero-bubble:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-bubble i {
    color: var(--primary-blue);
    font-size: 16px;
}

.hero-visual {
    position: relative;
}

.comparison-slider {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before {
    background: transparent;
    z-index: 1;
}

.comparison-after {
    background: transparent;
    width: 50%;
    z-index: 2;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.comparison-before .comparison-label {
    right: 20px;
}

.comparison-after .comparison-label {
    right: 20px;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--accent-yellow);
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.comparison-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.comparison-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.before-image {
    background-image: url('before.jpg');
}

.after-image {
    background-image: url('after.jpg');
}

.comparison-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 功能特色区域 */
.features-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}



.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}



.feature-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue-lighter), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--primary-blue);
    transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-yellow));
    color: white;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.feature-card:hover .feature-details {
    max-height: 200px;
}

.feature-details ul {
    list-style: none;
    text-align: left;
}

.feature-details li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.feature-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* 游戏适配区域 */
.games-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.games-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-dark);
    background: transparent;
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-lighter), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.game-card:hover::before {
    opacity: 1;
}

.game-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.game-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

.game-status {
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.updated {
    background: #d4edda;
    color: #155724;
}

.status-badge.updating {
    background: #fff3cd;
    color: #856404;
}

/* 用户评价区域 */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.review-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-blue);
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.reviewer-rating {
    color: var(--accent-yellow);
}

.review-date {
    font-size: 14px;
    color: var(--text-light);
}

.review-content {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}





/* 下载区域 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.download-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-item i {
    color: var(--accent-yellow);
    font-size: 18px;
}



.download-action {
    text-align: center;
}

.download-logo {
    width: clamp(80px, 28vw, 200px);
    height: auto;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

@media (min-width: 1024px) {
    .download-action .download-logo {
        width: 200px !important;
        height: 200px !important;
        max-width: none;
    }
}

.download-info-text {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.download-info-text p {
    margin-bottom: 5px;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-image {
    width: 40px;
    height: 40px;
    filter: none;
    object-fit: contain;
}

.footer-description {
    color: #999;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: none;
    padding-top: 0;
}

/* 个性化推荐侧边栏（已移除） */
.recommendation-sidebar { display: none !important; }
.sidebar-header, .recommendation-item, .recommendation-icon, .recommendation-info { display: none !important; }

/* 动画定义 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left var(--transition-medium);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .recommendation-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
} 

/* 全局平滑滚动，避免跳转闪烁 */
html {
	scroll-behavior: smooth;
}

/* 避免锚点跳转被固定导航遮挡 */
:target {
	scroll-margin-top: 80px;
} 