:root {
    --bg-color: #f8faff;
    --text-color: #1a1a1a;
    --primary-color: #3b82f6;
    --secondary-color: #ffffff;
    --accent-color: #38bdf8;
    --border-radius: 16px;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.language-select {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, #f8faff 0%, #e8f1ff 100%);
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
}

/* Game Section */
.game-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Grid */
.features-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .game-section {
        padding: 1rem;
    }
}

/* 内容区域样式 */
.content-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

/* 游戏介绍样式 */
.highlight-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gameplay-steps {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8faff;
    border-radius: 12px;
}

.step-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.strategy-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8faff;
    border-radius: 10px;
}

.tip i {
    color: var(--primary-color);
}

/* 控制说明样式 */
.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8faff;
    border-radius: 12px;
}

.control-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.control-info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* FAQ样式 */
.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    background: #f8faff;
    border-radius: 12px;
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.last-updated {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-sections {
        padding: 1rem;
    }

    .card-section {
        padding: 1.5rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .controls-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .highlight-text {
        font-size: 1.1rem;
    }

    .step-content h3 {
        font-size: 1.15rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Video Container Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        margin: 1rem 0;
    }
}