/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #3498db;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding: 150px 0 80px;
    margin-top: 80px;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    flex: 1;
    max-width: 500px;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.banner h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-image {
    flex: 1;
    text-align: right;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 下载区域 */
.download-section {
    background-color: white;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.version-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 5px solid #3498db;
}

.version-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.platforms {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.platform {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    width: 300px;
}

.platform img {
    margin-bottom: 15px;
}

.platform h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.platform p {
    margin-bottom: 20px;
    color: #666;
}

.system-requirements {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.system-requirements h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.system-requirements ul {
    list-style-position: inside;
    color: #555;
}

.system-requirements li {
    margin-bottom: 8px;
    padding-left: 10px;
}

/* 游戏介绍 */
.intro-section {
    background-color: #f8f9fa;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    margin-bottom: 40px;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-image {
    text-align: center;
    margin: 40px 0;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-story {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    border-left: 5px solid #e74c3c;
}

.game-story h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.game-story p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 游戏特色 */
.features-section {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #3498db;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 游戏动态 */
.news-section {
    background-color: #f8f9fa;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #2ecc71;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
}

.news-date {
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.news-item p {
    color: #666;
    line-height: 1.6;
}

/* 游戏截图 */
.screenshots-section {
    background-color: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* 用户评价 */
.reviews-section {
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.review-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    font-weight: 600;
    color: #2c3e50;
}

.review-rating {
    color: #f39c12;
    font-size: 1.2rem;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.reviews-summary {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reviews-summary p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-info {
    max-width: 600px;
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.8;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-content {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .banner h1 {
        font-size: 2.8rem;
    }
    
    .banner h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 0;
        text-align: center;
    }
    
    .nav a {
        display: block;
        padding: 15px 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .features-grid,
    .screenshots-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .banner {
        padding: 120px 0 60px;
    }
    
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .banner h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}