/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #CD853F;
    --accent-color: #DAA520;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-color: #eee;
    --text-muted: #aaa;
}

body {
    font-family: 'Noto Serif SC', serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    padding-top: 60px;
}

.hero-content {
    z-index: 2;
    padding: 2rem;
}

.pixel-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 4px 4px 0px #000;
    animation: pulse 2s infinite;
}

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

.english-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Noto Serif SC', serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.3);
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    color: #000;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 3px 3px 0px #000;
}

/* 游戏背景 */
.about {
    padding: 6rem 0;
    background: var(--light-bg);
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-item {
    flex: 1;
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    margin-top: 1rem;
}

.timeline-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.timeline-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon {
    font-size: 3rem;
    animation: rotate 3s infinite linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.map-note {
    text-align: center;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

/* 游戏特色 */
.features {
    padding: 6rem 0;
    background: var(--dark-bg);
}

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

.feature-card {
    background: rgba(139, 69, 19, 0.15);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 游戏截图 */
.gallery {
    padding: 6rem 0;
    background: var(--light-bg);
}

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

.gallery-item {
    aspect-ratio: 16/9;
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-img {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-align: center;
}

/* 预约关注 */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-form input {
    padding: 1rem 1.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.2);
    color: var(--text-color);
    font-size: 1rem;
    min-width: 300px;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.8rem 1.5rem;
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-color);
    color: #000;
}

/* 页脚 */
.footer {
    padding: 2rem 0;
    background: #0a0a1a;
    text-align: center;
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pixel-title {
        font-size: 1.8rem;
    }

    .english-title {
        font-size: 1.3rem;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-center {
        padding: 1rem 0;
    }

    .contact-form input {
        min-width: 100%;
    }
}
