:root {
    --primary-brown: #2A1810;
    --accent-gold: #D4A969;
    --header-bg: rgba(42, 24, 16, 0.95);
}

.main-header {
    background-color: var(--header-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-gold);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.game-name {
    font-family: 'Arial', sans-serif; /* 建议使用游戏风格的特殊字体 */
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

.play-now-button {
    background-color: var(--accent-gold);
    color: var(--primary-brown);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.play-now-button:hover {
    background-color: #E5BA7A;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .game-name {
        font-size: 1.25rem;
    }
    
    .play-now-button {
        padding: 0.5rem 1rem;
    }
}

.hero {
    background-color: var(--primary-brown);
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(42, 24, 16, 0.9), rgba(42, 24, 16, 0.7));
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #E5BA7A;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

.button {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: #D4A969;
    color: var(--primary-brown);
}

.button-primary:hover {
    background-color: #E5BA7A;
    transform: translateY(-2px);
}

.button-secondary {
    background-color: transparent;
    border: 2px solid #D4A969;
    color: #D4A969;
}

.button-secondary:hover {
    background-color: rgba(212, 169, 105, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

    .hero-container {
        grid-template-columns: 1fr;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
    }
}

.video-section {
    background-color: var(--primary-brown);
    padding: 4rem 2rem;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-section h2 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* 添加视频容器的悬停效果 */
.video-wrapper:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

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

    .video-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr; /* 手机端单列显示 */
        gap: 1.5rem;
    }
}

.features {
    padding: 4rem 2rem;
    background-color: var(--primary-brown);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-content h3 {
    color: var(--accent-gold);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-item {
        grid-template-columns: 1fr;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
}

.game-info {
    padding: 4rem 2rem;
    background-color: var(--primary-brown);
    color: #fff;
}

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

.game-info h2 {
    color: var(--accent-gold);
    font-size: 2.25rem;
    margin: 2.5rem 0 1.5rem;
}

.game-info h3 {
    color: var(--accent-gold);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.game-info h4 {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.game-info p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-info ul, 
.game-info ol {
    margin: 1rem 0 1.5rem 2rem;
}

.game-info li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
}

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

    .game-info h2 {
        font-size: 1.75rem;
    }

    .game-info h3 {
        font-size: 1.5rem;
    }

    .game-info h4 {
        font-size: 1.25rem;
    }
}