/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0f;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 200, 100, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo h1 {
    color: #00c864;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00c864;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00c864;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 200, 100, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00c864;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00c864 0%, #00a854 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 200, 100, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 100, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #00c864;
}

.btn-secondary:hover {
    background-color: rgba(0, 200, 100, 0.1);
    transform: translateY(-3px);
}

.btn-download {
    background: linear-gradient(135deg, #00c864 0%, #00a854 100%);
    color: #ffffff;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 100, 0.6);
}

/* 通用区域样式 */
.section {
    padding: 80px 0;
    background-color: #0a0a0f;
}

.section-dark {
    background-color: #0f0f17;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00c864 0%, #00a854 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* 游戏概述样式 */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.overview-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #b0b0b0;
}

.overview-text strong {
    color: #00c864;
}

.overview-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 100, 0.1);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 100, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-item i {
    font-size: 2.5rem;
    color: #00c864;
    margin-bottom: 1rem;
}

.card-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* 游戏下载样式 */
.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 100, 0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 100, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-icon {
    font-size: 4rem;
    color: #00c864;
    margin-bottom: 1.5rem;
}

.download-card h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.download-card p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.file-size {
    font-size: 0.9rem;
    color: #808080;
    margin-bottom: 1rem;
}

.download-notice {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    text-align: center;
}

.download-notice p {
    color: #ffc107;
    font-size: 0.95rem;
}

.download-notice i {
    margin-right: 0.5rem;
}

/* 故事背景样式 */
.story-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
}

/* 核心玩法样式 */
.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gameplay-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 100, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.gameplay-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 100, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gameplay-icon {
    font-size: 3rem;
    color: #00c864;
    margin-bottom: 1.5rem;
}

.gameplay-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.gameplay-card p {
    color: #b0b0b0;
    line-height: 1.7;
}

/* 游戏特色样式 */
.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #00c864;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 游戏截图样式 */
.screenshots-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.screenshots-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.screenshot-item {
    min-width: 100%;
    display: none;
}

.screenshot-item.active {
    display: block;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.screenshots-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background-color: rgba(0, 200, 100, 0.7);
}

.screenshots-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #00c864;
    transform: scale(1.2);
}

/* 用户评价样式 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 100, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 100, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.review-avatar {
    font-size: 2.5rem;
    color: #00c864;
}

.review-info h4 {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    color: #b0b0b0;
    line-height: 1.7;
    font-style: italic;
}

/* 页脚样式 */
.footer {
    background-color: #0a0a0f;
    border-top: 1px solid rgba(0, 200, 100, 0.1);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h2 {
    color: #00c864;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo p {
    color: #808080;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #00c864;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #808080;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.disclaimer {
    color: #ffc107 !important;
    font-size: 0.85rem !important;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 200, 100, 0.8);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #00c864;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
    }

    .gameplay-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-content {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .overview-card {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .screenshots-dots {
        bottom: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}