* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    font-size: 14px;
}

/* 顶部导航栏 - 非固定 */
.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e9ecef;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #495057;
}

/* 欢迎区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #495057;
    font-weight: 600;
}

/* Unity游戏区域 */
.game-section {
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.unity-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #6c757d;
    font-size: 14px;
}

.unity-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 游戏介绍 */
.about-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.feature-card h3 {
    color: #495057;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

/* 开发日志 - 简洁风格 */
.devlog-section {
    background: white;
    border-top: 1px solid #e9ecef;
}

.devlog-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.devlog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.devlog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
}

.devlog-content {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}

.devlog-content ol {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.devlog-content li {
    margin-bottom: 0.5rem;
}

/* 联系方式 */
.contact-section {
    background: #495057;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    text-align: center;
    padding: 1rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.contact-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .unity-placeholder {
        height: 300px;
    }

    .container {
        padding: 0 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}


