/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.version {
    background-color: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.platforms {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.platforms span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f1f5f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 下载区域 */
.download-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.download-card p {
    color: #666;
    margin-bottom: 10px;
}

.file-size {
    font-weight: bold;
    color: #e74c3c;
}

.download-btn {
    margin-top: 20px;
    width: 100%;
}

.download-notice {
    margin-top: 40px;
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    color: #1565c0;
}

.download-notice i {
    margin-right: 8px;
}

/* 游戏介绍 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.game-story {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.game-story h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-story p {
    margin-bottom: 15px;
}

/* 游戏特色 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #9b59b6;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 游戏动态 */
.news-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.update-highlight {
    flex: 2;
    min-width: 300px;
}

.update-highlight h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.update-details {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.update-details ul {
    list-style: none;
}

.update-details li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-details i {
    color: #3498db;
    width: 20px;
}

.update-details strong {
    color: #e74c3c;
}

.update-date {
    color: #7f8c8d;
    font-style: italic;
}

.version-history {
    flex: 1;
    min-width: 250px;
}

.version-history h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.version-history ul {
    list-style: none;
}

.version-history li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-tag {
    background-color: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

.version-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 游戏截图 */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
    display: block;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-note {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-style: italic;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.reviewer i {
    font-size: 1.5rem;
    color: #3498db;
}

.review-rating {
    color: #f39c12;
}

.review-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p {
    margin-bottom: 8px;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .news-content {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .download-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}