* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* 导航栏样式 */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* 下载游戏导航链接特殊样式 */
nav ul li a[href*="play.google.com"] {
    background: linear-gradient(135deg, #2a0845 0%, #6441A5 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 8, 69, 0.3);
}

nav ul li a[href*="play.google.com"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 8, 69, 0.4);
    background: linear-gradient(135deg, #3a0a5a 0%, #7451b5 100%);
}

/* 主要内容样式 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #2a0845 0%, #6441A5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: white;
    color: #0066ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* 特性卡片样式 */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 6rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background: linear-gradient(135deg, #2a0845 0%, #6441A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h4 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

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

    .hero h1 {
        font-size: 2rem;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 愿景部分样式 */
.vision {
    background-color: #f8f9fa;
    padding: 6rem 1rem;
    text-align: center;
    padding-top: 6rem;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision h2 {
    color: #2a0845;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.vision p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .vision h2 {
        font-size: 2rem;
    }

    .vision p {
        font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* 为各个section添加padding-top，防止固定导航栏遮挡内容 */
section {
    scroll-margin-top: 80px; /* 根据导航栏高度调整 */
}