/* Header Styles */
.header {
    background-color: #2c2c2c;  /* 改为深色背景 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #1e1e1e;  /* 添加底部边框 */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));  /* 添加图片阴影 */
    transition: transform 0.3s ease;  /* 添加悬停动画 */
}

.logo-image:hover {
    transform: scale(1.05);  /* 悬停时略微放大 */
}

.game-title {
    font-size: 2rem;
    font-weight: 800;  /* 更粗的字体 */
    color: #ffffff;  /* 白色文字 */
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, sans-serif;
    text-shadow: 
        2px 2px 0 #000,  /* 添加卡通风格的文字阴影 */
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
    letter-spacing: 0.5px;  /* 增加字间距 */
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-highlight {
    background-color: #ff6b6b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

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

    .logo-image {
        width: 45px;
        height: 45px;
    }

    .game-title {
        font-size: 1.5rem;
    }

    .nav {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 1rem;
    }
}

/* 添加动画关键帧 */
@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.logo-container:hover .logo-image {
    animation: logoFloat 1s ease-in-out infinite;  /* 添加悬停时的浮动动画 */
}

.hero {
    background-color: #2c2c2c;
    padding: 2rem;
    margin-top: 70px; /* 为固定的header留出空间 */
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero__image {
    flex: 0 0 60%;
}

.hero__image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.hero__info {
    flex: 0 0 40%;
    color: white;
}

.game-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.play-button {
    display: inline-block;
    background-color: #00b06f;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 2rem;
}

.game-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.2rem;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    color: #8f8f8f;
    font-size: 0.9rem;
}

.detail-value {
    color: white;
    font-size: 1rem;
}

.game-stats {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-content {
    color: white;
}

.stat-label {
    color: #8f8f8f;
    font-size: 0.9rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
}

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

    .hero__image,
    .hero__info {
        flex: 0 0 100%;
    }

    .game-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 添加到现有的 CSS 中 */
.counter {
    font-family: 'Digital-7', monospace; /* 数字显示屏风格的字体 */
    display: inline-block;
    transition: all 0.2s ease;
}

.counter.highlight {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    color: #00ff00;
}

/* YouTube Section Styles */
.youtube-section {
    background-color: #2c2c2c;
    padding: 4rem 2rem;
    color: white;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    text-shadow: 
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
    color: #ffffff;
}

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

.video-card {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

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

.video-title {
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
    color: white;
    background: #1e1e1e;
    margin: 0;
}

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

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

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

/* Features Section Styles */
.features {
    background-color: #2c2c2c;
    padding: 4rem 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.feature-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

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

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    flex: 0 0 60%;
    padding: 2rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00b06f;
}

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

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

    .feature-item {
        flex-direction: column;
    }

    .feature-image {
        flex: 0 0 200px;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1rem;
    }
}

/* SEO Content Section Styles */
.seo-content {
    background-color: #2c2c2c;
    padding: 4rem 2rem;
    color: #ffffff;
}

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

.main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 2px 2px 0 #000;
}

.content-block {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.content-block h2 {
    color: #00b06f;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-block h4 {
    color: #00b06f;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.content-block p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.content-block ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

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

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

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

    .main-title {
        font-size: 2rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .content-block h2 {
        font-size: 1.8rem;
    }

    .content-block h3 {
        font-size: 1.3rem;
    }

    .content-block h4 {
        font-size: 1.1rem;
    }
}