/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #94a3b8;
    --dark-gray: #334155;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--darker);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 已修正为文字Logo */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    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: var(--light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line-1 {
    display: block;
    background: linear-gradient(90deg, var(--light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .line-2 {
    display: block;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 通用区域样式 */
.section {
    padding: 100px 0;
    background-color: var(--darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
}

/* 游戏概述样式 */
.overview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.image-shape {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 15px;
    z-index: 1;
}

.overview-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.overview-text p {
    margin-bottom: 1.25rem;
    color: var(--gray);
    line-height: 1.7;
}

.overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tag {
    padding: 0.5rem 1rem;
    background-color: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
}

/* 游戏下载样式 */
.download-section {
    background-color: var(--dark);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pc-card .platform-icon {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
}

.android-card .platform-icon {
    background: linear-gradient(135deg, #3ddc84, #4285f4);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.system-req {
    list-style: none;
    margin-bottom: 1.5rem;
}

.system-req li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.system-req i {
    color: var(--secondary);
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.btn-download {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.download-warning {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 25px;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.warning-text h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.warning-text p {
    color: var(--gray);
    line-height: 1.6;
}

/* 故事背景样式 */
.story-section {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
}

.story-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 50px;
    position: relative;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(124, 58, 237, 0.1);
    line-height: 1;
}

.story-content p {
    margin-bottom: 1.25rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: justify;
}

/* 核心玩法样式 */
.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gameplay-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    padding: 35px;
    transition: all 0.3s ease;
    text-align: center;
}

.gameplay-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.gameplay-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.gameplay-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* 游戏特色样式 */
.features-section {
    background-color: var(--dark);
}

.features-container {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.2);
    line-height: 1;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.feature-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* 游戏截图样式 */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 用户评价样式 - 已修正为网格布局 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.5);
    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: var(--primary);
}

.review-info h4 {
    color: var(--light);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.stars {
    color: var(--accent);
    font-size: 0.9rem;
}

.review-text {
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

/* 页脚样式 - 已修正为文字Logo */
.footer {
    background-color: var(--dark);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--dark-gray);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--light);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-column h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 0.75rem;
}

.link-column a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.link-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-bottom p {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.age-rating {
    color: var(--accent) !important;
    font-weight: 500;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(2, 6, 23, 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-wrapper {
        grid-template-columns: 1fr;
    }

    .gameplay-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        padding: 30px;
    }

    .gameplay-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-gallery {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 1rem;
    }

    .download-warning {
        flex-direction: column;
        text-align: center;
    }
}