/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 字体和基础样式 */
@font-face {
    font-family: 'GameFont';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
}

:root {
    --primary-color: #ff5e62;
    --secondary-color: #ff9966;
    --accent-color: #6a11cb;
    --text-color: #ffffff;
    --dark-bg: #121212;
    --light-bg: #1e1e1e;
    --card-bg: rgba(30, 30, 30, 0.8);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glow: 0 0 10px rgba(255, 94, 98, 0.7), 0 0 20px rgba(255, 153, 102, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 加载遮罩层 */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#loading-overlay p {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* 背景动画 */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 94, 98, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 60%, rgba(255, 153, 102, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(106, 17, 203, 0.1) 0%, transparent 30%);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-family: 'Orbitron', 'Microsoft YaHei', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--glow);
    letter-spacing: 2px;
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(106, 17, 203, 0.2) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.glitch-text {
    font-family: 'Orbitron', 'Microsoft YaHei', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: var(--glow);
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 94, 98, 0.75), -0.05em -0.025em 0 rgba(255, 153, 102, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 94, 98, 0.75), -0.05em -0.025em 0 rgba(255, 153, 102, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 94, 98, 0.75), 0.025em 0.025em 0 rgba(255, 153, 102, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 94, 98, 0.75), 0.025em 0.025em 0 rgba(255, 153, 102, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 94, 98, 0.75), 0.05em 0 0 rgba(255, 153, 102, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 94, 98, 0.75), 0.05em 0 0 rgba(255, 153, 102, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 94, 98, 0.75), -0.025em -0.025em 0 rgba(255, 153, 102, 0.75);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: var(--glow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::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.5s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(255, 94, 98, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* 通用部分样式 */
.section {
    padding: 100px 0;
    position: relative;
}

.section.dark {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
}

/* 关于部分样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 游戏统计信息 */
.game-stats {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-screenshot {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.game-screenshot:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(255, 94, 98, 0.4);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-animation {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 94, 98, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 94, 98, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 98, 0);
    }
}

/* 特性部分样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* 下载部分样式 */
.download-area {
    margin-bottom: 50px;
}

.download-info {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.download-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.download-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.download-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#version-info {
    color: var(--secondary-color);
    font-weight: 600;
}

#downloads-info {
    margin-bottom: 25px;
}

.download-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
}

.download-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 94, 98, 0.4);
}

.system-requirements {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.system-requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.system-requirements ul {
    list-style-type: none;
}

.system-requirements li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.system-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 更新日志部分样式 */
.changelog {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-bg);
}

.changelog::-webkit-scrollbar {
    width: 8px;
}

.changelog::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-radius: 10px;
}

.changelog::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.version {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.version:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.version h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
}

.version ul {
    list-style-type: none;
}

.version li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.version li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    padding: 60px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-family: 'Orbitron', 'Microsoft YaHei', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--secondary-color);
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links ul {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .social-icon {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover, .social-icon:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient);
    color: var(--text-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .glitch-text {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .game-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .glitch-text {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 15px;
    }
} 
