/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 暗色主题变量 */
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #00ffea;
    --border-color: #2a2a2a;
    --accent-color: #00ffea;
    --accent-hover: #00ccb8;
    --shadow-color: rgba(0, 255, 234, 0.2);
    --card-bg: rgba(26, 26, 26, 0.8);
    --glow-color: #00ffea;
}

/* 白色主题变量 */
.light-theme {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --text-primary: #121212;
    --text-secondary: #6c757d;
    --text-accent: #009688;
    --border-color: #dee2e6;
    --accent-color: #009688;
    --accent-hover: #00796b;
    --shadow-color: rgba(0, 150, 136, 0.2);
    --card-bg: rgba(255, 255, 255, 0.9);
    --glow-color: #009688;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* 科技感字体 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮基础样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    white-space: nowrap;
}

.secondary-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    white-space: nowrap;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.primary-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* 发光效果 */
.glow-text {
    color: var(--glow-color);
    text-shadow: 0 0 10px var(--shadow-color),
                 0 0 20px var(--shadow-color),
                 0 0 30px var(--shadow-color);
}

/* 网站标志样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-bg);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo链接样式 */
.logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    border-radius: 8px;
    padding: 5px;
}

.logo-link:hover {
    transform: translateY(-2px);
    background-color: rgba(var(--text-primary-rgb), 0.05);
}

.logo-link:active {
    transform: translateY(0);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    text-decoration: underline;
    cursor: pointer;
    transition: text-decoration 0.1s ease;
}

.site-name.no-underline {
    text-decoration: none;
}

/* 主标题样式 */
.main-title {
    font-size: 3.5rem;
    color: var(--accent-color, #4a90e2);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 
        0 0 10px rgba(74, 144, 226, 0.3),
        0 0 20px rgba(74, 144, 226, 0.2);
    background: linear-gradient(45deg, var(--accent-color, #4a90e2), #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.main-title:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 15px rgba(74, 144, 226, 0.4),
        0 0 30px rgba(74, 144, 226, 0.3);
}

/* 响应式标题样式 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}/* 主题切换容器 - 优化版 */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    width: 70px;
    height: 36px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* 主题切换按钮的背景渐变效果 */
.theme-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::after {
    opacity: 1;
}

/* 按钮交互效果优化 */
.theme-toggle:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
    border-color: var(--accent-color);
}

.theme-toggle:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* 图标样式优化 */
.theme-toggle i {
    font-size: 16px;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.theme-toggle .fa-moon {
    left: 6px;
    opacity: 1;
    transform: translateX(0);
}

.theme-toggle .fa-sun {
    right: 6px;
    opacity: 0;
    transform: translateX(20px);
    color: #f39c12; /* 太阳图标使用温暖的黄色，增强可识别性 */
}

/* 亮色主题下的图标状态 */
.light-theme .theme-toggle .fa-moon {
    opacity: 0;
    transform: translateX(-20px);
}

.light-theme .theme-toggle .fa-sun {
    opacity: 1;
    transform: translateX(0);
}

/* 滑块样式优化 */
.theme-toggle::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    left: 5px;
    top: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* 滑块在亮色主题下的位置 */
.light-theme .theme-toggle::before {
    left: calc(100% - 31px);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* 亮色主题下的按钮样式调整 */
.light-theme .theme-toggle {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-theme .theme-toggle:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-color: #f39c12;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .theme-toggle-container {
        top: 15px;
        right: 15px;
    }
    
    .theme-toggle {
        width: 64px;
        height: 32px;
    }
    
    .theme-toggle i {
        font-size: 14px;
        width: 20px;
        height: 20px;
    }
    
    .theme-toggle::before {
        width: 22px;
        height: 22px;
        top: 4px;
    }
    
    .light-theme .theme-toggle::before {
        left: calc(100% - 27px);
    }
}

@media (max-width: 480px) {
    .theme-toggle-container {
        top: 10px;
        right: 10px;
    }
    
    .theme-toggle {
        width: 60px;
        height: 30px;
    }
    
    .theme-toggle i {
        font-size: 13px;
    }
    
    .theme-toggle::before {
        width: 20px;
        height: 20px;
        top: 4px;
    }
    
    .light-theme .theme-toggle::before {
        left: calc(100% - 25px);
    }
}

/* 暗色主题变量已在:root中定义，这里添加深色主题过渡效果 */
.dark-theme {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 英雄区域 */
.hero-section {
    height: auto;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 8rem 0 3rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 100%;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 40px;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--shadow-color) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s infinite;
}

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

.featured-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 游戏特色 */
.features-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* 英雄角色 */
.characters-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    position: relative;
}

.characters-slider {
    position: relative;
    overflow: hidden;
}

.character-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
}

.character-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.character-image {
    flex: 0 0 450px;
    position: relative;
}

.character-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: cover;
}

.character-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.character-info {
    flex: 1;
}

.character-name {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.character-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.character-bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.character-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-label {
    flex: 0 0 80px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 4px;
    transition: width 1s ease;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.prev-btn,
.next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* 最新动态 */
.news-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-date {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    padding: 5px 10px;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
}

.news-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--accent-color);
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    display: inline-block;
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

.news-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--accent-hover);
}

.news-link:hover::after {
    transform: translateX(5px);
}

/* 下载区域 */
.download-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    position: relative;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.download-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-content {
    flex: 1;
}

.download-title {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--text-primary), var(--text-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px var(--shadow-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 25px;
}

.download-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 45px;
    max-width: 700px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 0;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 35px;
    border-radius: 15px;
    color: var(--bg-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    min-width: 200px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    color: var(--bg-primary);
}

.download-btn:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.ios-btn {
    background: linear-gradient(135deg, #000000, #333333);
}

.ios-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.ios-btn:hover::before {
    left: 100%;
}

.android-btn {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.android-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.android-btn:hover::before {
    left: 100%;
}

.windows-btn {
    background: linear-gradient(135deg, #0078d7, #004e8c);
}

.windows-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.windows-btn:hover::before {
    left: 100%;
}

.h5-btn {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}

.h5-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.h5-btn:hover::before {
    left: 100%;
}

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

.btn-label {
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.btn-platform {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.system-requirements {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.system-requirements h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.requirement-item {
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    padding: 20px;
}

.req-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.req-list {
    list-style: none;
}

.req-list li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.req-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.download-content {
    max-width: 800px;
    width: 100%;
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: cover;
}

.screenshot-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.screenshot-img:hover {
    transform: scale(1.02);
}

/* 订阅区域 */
.subscribe-section {
    padding: 100px 0;
    background-color: var(--bg-tertiary);
    text-align: center;
}

.subscribe-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.subscribe-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 15px;
}

.subscribe-input {
    flex: 1;
    padding: 15px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
}

.subscribe-input::placeholder {
    color: var(--text-secondary);
}

.subscribe-btn {
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* 页脚 */
.footer {
    background-color: var(--bg-secondary);
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-color);
}

.footer-intro {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-secondary);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--accent-color);
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* 联系信息区域 */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.contact-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 600px;
}

.contact-info p {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* 社交图标区域 */
.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

/* 社交链接基础样式 */
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
}

/* 悬停效果优化 */
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* QQ特定颜色 */
.social-link.qq:hover {
    color: #12B7F5;
    border-color: #12B7F5;
}

/* 微信特定颜色 */
.social-link.weixin:hover {
    color: #07C160;
    border-color: #07C160;
}

/* 邮箱特定颜色 */
.social-link.email:hover {
    color: #EA4335;
    border-color: #EA4335;
}

/* Instagram特定颜色 */
.social-link.instagram:hover {
    color: #C13584;
    border-color: #C13584;
}

/* 悬停提示样式 */
.social-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 提示箭头 */
.social-link[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

/* 显示悬停提示 */
.social-link[data-tooltip]:hover::after,
.social-link[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* 防止提示超出屏幕 */
@media (max-width: 768px) {
    .social-link[data-tooltip]::after {
        bottom: auto;
        top: 125%;
    }
    
    .social-link[data-tooltip]::before {
        bottom: auto;
        top: 110%;
        border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
    }
    
    .contact-info {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9375rem;
    }
    
    .footer-social {
        gap: 1rem;
    }
}

/* 移动端优化 */
@media (max-width: 480px) {
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contact-info p {
        font-size: 0.875rem;
    }
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* QQ图标特定颜色 */
.social-link.qq {
    color: #12B7F5;
}

/* 邮箱图标特定颜色 */
.social-link.email {
    color: #FF6B6B;
}

/* 微信图标特定颜色 */
.social-link .fa-weixin {
    color: #09BB07;
}

/* Instagram图标特定颜色 */
.social-link .fa-instagram {
    color: #C13584;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.icp-record {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-record:hover {
    color: var(--accent-color);
}

/* 返回顶部按钮 - 增强版，确保在生产环境中正常显示 */
.back-to-top {
    /* 基础定位和尺寸 */
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* 颜色和边框 - 使用回退颜色 */
    background-color: var(--accent-color, #009688);
    color: var(--bg-primary, #ffffff);
    border: 2px solid transparent;
    
    /* 鼠标和内容 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    
    /* 隐藏状态 - 使用更可靠的过渡 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    
    /* 提高z-index确保可见性 */
    z-index: 9999;
    
    /* 阴影效果 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    
    /* 防止文本选择 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    /* 确保在高对比度模式下也能显示 */
    outline: none;
}

/* 显示状态 */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 悬停效果 */
.back-to-top:hover {
    background-color: var(--accent-hover, #00796b);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    
    /* 增强可访问性 */
    border-color: var(--accent-color, #009688);
}

/* 点击效果 */
.back-to-top:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 键盘焦点样式，提升可访问性 */
.back-to-top:focus-visible {
    outline: 3px solid var(--accent-color, #009688);
    outline-offset: 3px;
}

/* 图标降级显示 - 确保在Font Awesome无法加载时仍能显示 */
.back-to-top .fallback-icon {
    position: absolute;
    display: block; /* 始终显示，让它作为后备方案 */
    font-size: 20px;
    line-height: 1;
}

/* 当Font Awesome图标可用时，隐藏降级图标 */
.back-to-top .fa-arrow-up {
    display: block;
    position: relative;
    z-index: 1; /* 确保Font Awesome图标在顶层 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .download-title {
        font-size: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .character-image {
        flex: 0 0 350px;
    }
    
    .download-image {
        flex: 0 0 400px;
    }
    
    .character-card {
        gap: 40px;
        padding: 40px;
    }
    
    .download-btn {
        min-width: 180px;
        padding: 16px 30px;
        gap: 15px;
    }
    
    .download-buttons {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .featured-image {
        max-width: 500px;
    }
    
    .character-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
    
    .character-image {
        flex: 0 0 300px;
    }
    
    .character-name::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .stat {
        justify-content: center;
    }
    
    .download-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .download-image {
        flex: 0 0 350px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .requirements-grid {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .download-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2.5rem;
    }
    
    .featured-image {
        max-width: 400px;
    }
    
    .character-image {
        flex: 0 0 250px;
    }
    
    .download-image {
        flex: 0 0 300px;
    }
    
    .download-section .container {
        gap: 40px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .download-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .download-btn {
        min-width: 160px;
        padding: 15px 25px;
        gap: 12px;
    }
    
    .btn-platform {
        font-size: 1.1rem;
    }
    
    .download-btn i {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .primary-btn,
    .secondary-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .featured-image {
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .character-card {
        padding: 30px 20px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .download-btn {
        min-width: 140px;
        padding: 12px 20px;
        gap: 10px;
    }
    
    .download-image img {
        max-width: 80%;
        height: auto;
    }
}