:root {
    --primary-dark: #1a1a1a;
    --accent-green: #2c3b2d;
    --text-color: #ffffff;
    --hover-green: #3d524f;
}

/* Header样式 */
.main-header {
    background: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(44, 59, 45, 0.3);
}

.nav-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-img {
    height: 40px;
    width: auto;
}

.game-title {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-now-btn {
    background-color: var(--accent-green);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.play-now-btn:hover {
    background-color: var(--hover-green);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .game-title {
        display: none; /* 在很小的屏幕上只显示logo */
    }
}
/* Hero部分样式 */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('1.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 80px; /* 为fixed header留出空间 */
    color: var(--text-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(26, 26, 26, 0.8),
        rgba(44, 59, 45, 0.9)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    background-color: var(--accent-green);
    color: var(--text-color);
    padding: 1rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.cta-button:hover {
    background-color: var(--hover-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.price-tag {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
}
/* 视频区域样式 */
.video-section {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    color: var(--text-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-wrapper {
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.video-title {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr; /* 手机端改为单列 */
        gap: 3rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .video-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .video-title {
        font-size: 1rem;
    }
}

.features {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    color: var(--text-color);
}

.feature-row {
    margin-bottom: 4rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.feature-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.feature-content {
    padding: 1rem;
}

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

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

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

.seo-content {
    padding: 4rem 0;
    background: var(--primary-dark);
    color: var(--text-color);
}

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

.seo-content article {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
}

.seo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-green);
}

.seo-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--accent-green);
}

.seo-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.seo-content h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.seo-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.seo-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .seo-content h1 {
        font-size: 2rem;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
    }
    
    .seo-content h3 {
        font-size: 1.3rem;
    }
    
    .seo-content article {
        padding: 1.5rem;
    }
}