/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #7E22CE;
    --secondary: #2563EB;
    --accent: #EC4899;
    --dark: #0F172A;
    --darker: #030712;
    --light: #F8FAFC;
    --gray: #94A3B8;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}

/* 通用组件 */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(126, 34, 206, 0.3);
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo h1 {
    font-size: 24px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span {
    font-size: 14px;
    color: var(--gray);
}
.nav-menu {
    display: flex;
    gap: 28px;
}
.nav-link {
    color: var(--light);
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}
.nav-link:hover {
    color: var(--accent);
}

/* 英雄区 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(3,7,18,0.8), rgba(3,7,18,0.9)), url('hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}
.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* 内容区域 */
.intro-content, .story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
}
.intro-content p, .story-content p {
    margin-bottom: 20px;
}

/* 下载区域 */
.download-section {
    background: rgba(37, 99, 235, 0.05);
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.download-btn {
    width: 220px;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.download-btn:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236,72,153,0.15);
}
.download-btn span {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}
.download-btn small {
    color: var(--gray);
    font-size: 14px;
}

/* 特色 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
}
.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}
.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light);
}
.feature-item p {
    color: var(--gray);
}

/* 攻略 */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
}
.guide-item {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--accent);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.guide-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--light);
}
.guide-item p {
    color: var(--gray);
}

/* 截图 */
.screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.screenshot-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* 评价 */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.review-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 16px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.username {
    font-weight: 600;
    font-size: 17px;
}
.stars {
    color: #FBBF24;
    font-size: 16px;
}
.review-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* 页脚 */
.footer {
    padding: 30px 0;
    text-align: center;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer p {
    color: var(--gray);
    font-size: 15px;
}

/* 自适应 */
@media (max-width: 992px) {
    .screenshots {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 42px;
    }
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-title {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    .screenshots {
        grid-template-columns: 1fr;
    }
    .reviews {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .hero {
        height: auto;
        padding: 150px 0 80px;
    }
    .section {
        padding: 60px 0;
    }
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}