/* === 全局样式 === */
:root {
    --primary-color: #00c4cc;
    --primary-dark: #00a0a8;
    --secondary-color: #7d26cd;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #888888;
    --background-dark: #12151e;
    --background-card: #1a1e2c;
    --background-light: #242937;
    --border-color: #313654;
    --gradient-primary: linear-gradient(135deg, #00c4cc 0%, #7d26cd 100%);
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 20px rgba(0, 0, 0, 0.25);
    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Press Start 2P', monospace;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* === 头部样式 === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(18, 21, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 0;
}

.site-logo a {
    color: var(--primary-color);
    letter-spacing: 2px;
    display: block;
    padding: 5px 0;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 0;
    color: var(--text-light);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* === 通用部分样式 === */
.section-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* === 英雄区域 === */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: url('../img/bg.webp') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 21, 30, 0.8), rgba(18, 21, 30, 0.95));
    z-index: 1;
}

.hero-flex {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.hero-content {
    width: 100%;
}

.hero-header {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.version-highlight {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.2rem 0.8rem;
    margin-left: 0.5rem;
    border-radius: var(--radius-small);
    font-size: 1.8rem;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features-wrap {
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-item i {
    color: var(--primary-color);
}

.download-container {
    margin-top: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-soft);
    max-width: 280px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-content {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    width: 100%;
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.main-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.version-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.version-details {
    display: flex;
    align-items: center;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.version-details span {
    display: flex;
    align-items: center;
}

.version-details i {
    margin-right: 5px;
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-gray);
    margin: 0 10px;
}

/* === 游戏特色 === */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-showcase {
    position: relative;
    z-index: 2;
}

/* 主要特色区域 */
.feature-main {
    margin-bottom: 4rem;
}

.feature-hero {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    backdrop-filter: blur(10px);
}

.feature-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-hero-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.feature-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* 神经网络动画 */
.feature-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-animation {
    width: 300px;
    height: 300px;
    position: relative;
}

.neural-network {
    width: 100%;
    height: 100%;
    position: relative;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.node:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.node:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.3s; }
.node:nth-child(3) { top: 50%; left: 10%; animation-delay: 0.6s; }
.node:nth-child(4) { top: 50%; right: 10%; animation-delay: 0.9s; }
.node:nth-child(5) { bottom: 20%; left: 50%; animation-delay: 1.2s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: flow 3s ease-in-out infinite;
}

.connection:nth-child(6) { top: 25%; left: 25%; width: 50%; animation-delay: 0s; }
.connection:nth-child(7) { top: 55%; left: 15%; width: 70%; animation-delay: 1s; }
.connection:nth-child(8) { top: 55%; right: 15%; width: 70%; animation-delay: 1.5s; }
.connection:nth-child(9) { bottom: 25%; left: 35%; width: 30%; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 特色网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(var(--background-card-rgb), 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    border: 1px solid rgba(var(--border-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--background-card-rgb), 0.8) 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
    transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(var(--primary-color-rgb), 0.4);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

/* === 最新动态 === */
.news-section {
    padding: 5rem 0;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.news-item {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.news-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-small);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.update {
    background-color: #2e7d32;
    color: white;
}

.notice {
    background-color: #0277bd;
    color: white;
}

.bugfix {
    background-color: #d32f2f;
    color: white;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    flex-grow: 1;
}

/* === 精彩瞬间 === */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-showcase {
    position: relative;
    z-index: 2;
}

/* 主要展示区域 */
.gallery-hero {
    margin-bottom: 3rem;
    position: relative;
}

.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-slide {
    display: none;
    position: relative;
    height: 500px;
}

.hero-slide.active {
    display: block;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 3rem;
}

.slide-content {
    max-width: 600px;
    color: white;
}

.slide-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.slide-stats {
    display: flex;
    gap: 2rem;
}

.slide-stats .stat {
    text-align: center;
}

.slide-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.slide-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* 导航控制 */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 缩略图网格 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.gallery-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.item-inner {
    position: relative;
    width: 100%;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.item-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* === 用户点评 === */
.reviews-section {
    padding: 5rem 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.review-top {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.review-avatar i {
    font-size: 1.5rem;
    color: white;
}

.review-user {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.review-rating {
    color: #f9a825;
    font-size: 0.9rem;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* === 版本更新记录 === */
.version-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.version-card {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.version-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.version-tag-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-small);
    font-weight: 700;
    font-size: 0.9rem;
}

.version-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.version-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.version-content {
    padding: 1.5rem;
    flex: 1;
}

.version-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.update-list {
    display: grid;
    gap: 0.8rem;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.update-item i {
    margin-top: 3px;
}

.update-item.new i {
    color: #4caf50;
}

.update-item.fix i {
    color: #f44336;
}

.update-item.optimize i {
    color: #2196f3;
}

.version-action {
    padding: 0 1.5rem 1.5rem;
}

.version-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-small);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    width: 100%;
}

.version-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.version-btn i {
    color: var(--primary-color);
}

.version-btn:hover i {
    color: var(--text-light);
}

/* === 页脚 === */
.site-footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 100%);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(var(--border-color-rgb), 0.3);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.divider {
    color: var(--text-gray);
    opacity: 0.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo {
        min-width: auto;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center;
    }
}

/* 返回顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* === 动画效果 === */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-title, .hero-subtitle {
    animation: fadeIn 1s ease-out both;
}

.hero-desc {
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.hero-features {
    animation: fadeIn 1.4s ease-out 0.4s both;
}

.download-container {
    animation: fadeIn 1.6s ease-out 0.6s both;
}

.mobile-menu-toggle.active {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.staggered-animation > * {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.staggered-animation > *:nth-child(1) { animation-delay: 0.1s; }
.staggered-animation > *:nth-child(2) { animation-delay: 0.2s; }
.staggered-animation > *:nth-child(3) { animation-delay: 0.3s; }
.staggered-animation > *:nth-child(4) { animation-delay: 0.4s; }
.staggered-animation > *:nth-child(5) { animation-delay: 0.5s; }
.staggered-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* 定义悬停过渡效果 */
.hover-effect {
    transition: all var(--transition-medium);
}

.hover-effect:hover {
    transform: translateY(-5px);
}

/* 定义脉冲效果 */
.pulse-effect {
    animation: pulse 3s infinite;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-dark);
        padding: 2rem;
        flex-direction: column;
        transition: left var(--transition-medium);
    }
    
    .main-nav.show {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-small);
        background-color: var(--background-card);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }
    
    .review-card, 
    .news-item,
    .version-card {
        padding: 1.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-header {
        margin-bottom: 3rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .slide-overlay {
        padding: 2rem;
    }
    
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-stats {
        gap: 1.5rem;
    }
    
    .slider-controls {
        bottom: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
    
    .item-inner {
        height: 180px;
    }
    
    .item-overlay {
        padding: 0.8rem;
        opacity: 1; /* 默认显示覆盖层 */
        transform: translateY(0); /* 无需动画 */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent); /* 加深渐变 */
    }
    
    .gallery-item:hover .item-overlay {
        opacity: 1;
    }
    
    .item-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .item-info p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-info-compact {
        gap: 1rem;
    }
    
    .hero-features {
        gap: 0.7rem;
    }
    
    .feature-item {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .download-btn .btn-content {
        padding: 0.7rem 1.2rem;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        height: auto;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .feature-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .feature-hero-content h3 {
        font-size: 1.8rem;
    }
    
    .feature-stats {
        gap: 1.5rem;
    }
    
    .tech-animation {
        width: 250px;
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        padding: 4rem 0;
    }
    
    .features-header {
        margin-bottom: 3rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .feature-hero {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .feature-hero-content h3 {
        font-size: 1.6rem;
    }
    
    .feature-hero-content p {
        font-size: 1rem;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .tech-animation {
        width: 200px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .feature-tags {
        gap: 0.3rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* 游戏截图区域在超小屏幕上显示三列 */
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    /* 简化图片卡片内容，提高可用性 */
    .item-overlay {
        padding: 0.4rem;
    }
    
    .item-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .item-info p {
        display: none; /* 在超小屏幕上隐藏描述文本 */
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-header {
        margin-bottom: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-slide {
        height: 350px;
    }
    
    .slide-overlay {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .slide-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .slide-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .slider-controls {
        bottom: 1rem;
        padding: 0.6rem 1rem;
        gap: 0.8rem;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .item-inner {
        height: 150px;
    }
    
    .item-info h4 {
        font-size: 0.9rem;
    }
    
    .item-info p {
        font-size: 0.8rem;
    }
    
    .version-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .back-to-top-btn {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 新增的紧凑型英雄信息区样式 */
.hero-info-compact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-action {
    margin-top: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .version-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr); /* 中等屏幕显示3列 */
    }
}

@media (max-width: 576px) {
    .version-grid {
        grid-template-columns: 1fr;
    }
    
    .version-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
} 