/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 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-family: 'Oswald', sans-serif;
    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-color: #e74c3c;
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    background-color: #e74c3c;
    color: white;
}

.btn-download {
    background-color: #27ae60;
    color: white;
}

.btn-download:hover {
    background-color: #219653;
}

.btn-alternative {
    background-color: #3498db;
    color: white;
}

.btn-alternative:hover {
    background-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2px;
}

.logo span {
    font-size: 0.9rem;
    color: #e74c3c;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-menu a i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e74c3c;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: white;
}

/* 英雄区域样式 */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #e74c3c;
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #bdc3c7;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 下载区域样式 */
.download-section {
    background-color: white;
}

.download-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.download-info {
    flex: 1;
}

.version-info {
    margin-bottom: 30px;
}

.version {
    color: #e74c3c;
    font-size: 1.8rem;
    font-weight: 700;
}

.release-date {
    color: #7f8c8d;
    font-size: 1rem;
}

.platforms h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.platform-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.platform-icon i {
    font-size: 2rem;
    color: #3498db;
}

.platform-icon span {
    font-size: 0.9rem;
}

.download-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.download-box {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-box h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.download-box p {
    margin-bottom: 20px;
    color: #7f8c8d;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.download-notes p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #e74c3c;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 游戏介绍样式 */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    margin: 25px 0 15px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.detail h4 i {
    color: #e74c3c;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 游戏特色样式 */
.features-section {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 游戏动态样式 */
.news-section {
    background-color: #f8f9fa;
}

.news-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.news-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    background-color: #2c3e50;
    color: white;
    border-radius: 5px;
    padding: 10px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
}

.news-date .month {
    font-size: 1rem;
    margin-bottom: 5px;
}

.news-details h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.news-details p {
    margin-bottom: 15px;
    color: #555;
}

.news-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    text-decoration: underline;
}

.news-archive {
    text-align: center;
}

/* 游戏截图样式 */
.screenshots-section {
    background-color: white;
}

.screenshots-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #e74c3c #f1f1f1;
}

.screenshots-container::-webkit-scrollbar {
    height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

.screenshot {
    position: relative;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.03);
}

.screenshot img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshots-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.screenshots-controls button {
    background-color: #2c3e50;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.screenshots-controls button:hover {
    background-color: #e74c3c;
}

/* 用户评价样式 */
.reviews-section {
    background-color: #f8f9fa;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    gap: 15px;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.rating {
    color: #f1c40f;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.review-content p {
    color: #555;
    line-height: 1.7;
}

.review-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-form h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #ddd;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.stars i.active,
.stars i:hover {
    color: #f1c40f;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h4,
.footer-legal h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-legal p {
    margin-bottom: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 30px;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-content {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .rating-input {
        flex-direction: column;
        align-items: flex-start;
    }
}