/* Header styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to right, #32CD32, #9932CC);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 移除之前的导航链接样式 */
.nav-links {
    display: none;
}

/* Game section styles */
.game-section {
    margin-top: 60px;
    padding: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #000;
}

.game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-placeholder {
    text-align: center;
    color: white;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.game-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.game-logo:hover {
    transform: scale(1.05);
}

.play-button {
    background: #5ba95b;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(91, 169, 91, 0.3);
}

.play-button:hover {
    background: #4a904a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 169, 91, 0.4);
}

.play-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(91, 169, 91, 0.3);
}

.game-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.fullscreen-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-section {
        height: calc(100vh - 50px);
        margin-top: 50px;
    }

    .game-logo {
        width: 150px;
    }

    .play-button {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
    }
}

/* Hero section styles */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #5ba95b, #9932CC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

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

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #5ba95b;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(91, 169, 91, 0.3);
}

.cta-button.primary:hover {
    background: #4a904a;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid #5ba95b;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

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

    .cta-button {
        width: 100%;
    }
}

/* Features section styles */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #1a1a1a, #2a2a2a);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #5ba95b, #9932CC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

.feature-image {
    overflow: hidden;
    border-radius: 12px;
}

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

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

.feature-content {
    padding: 1rem;
}

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

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #9932CC;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .feature-card {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        height: 200px;
    }
}

/* Common section styles */
.about-section,
.how-to-section,
.why-play-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #5ba95b, #9932CC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* About section styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: #5ba95b;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.about-text h4 {
    color: #9932CC;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

/* How to play section styles */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

/* Benefits grid styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* FAQ section styles */
.faq-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
}

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

.faq-group {
    margin-bottom: 3rem;
}

.faq-group h3 {
    color: #5ba95b;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(91, 169, 91, 0.3);
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.faq-item h4 {
    color: #9932CC;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }

    .faq-group h3 {
        font-size: 1.5rem;
    }

    .faq-item h4 {
        font-size: 1.2rem;
    }
}

/* Game and Videos section styles */
.game-section {
    margin-top: 60px;
    padding: 0 0 4rem 0;
    background: #000;
}

/* Existing game container styles... */

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

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .video-wrapper {
        margin-bottom: 1rem;
    }

    .video-wrapper:last-child {
        margin-bottom: 0;
    }
}

/* 移动端游戏提示样式 */
.mobile-game-prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-game-prompt.show {
    opacity: 1;
}

.prompt-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.mobile-game-prompt.show .prompt-content {
    transform: translateY(0);
}

.prompt-content h3 {
    color: #5ba95b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.prompt-content p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.prompt-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.prompt-content li {
    padding: 0.5rem 0;
    color: #e0e0e0;
}

.start-game-btn {
    background: #5ba95b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.start-game-btn:hover {
    background: #4a904a;
    transform: translateY(-2px);
}

/* 更新游戏区域响应式样式 */
@media (max-width: 768px) {
    .game-section {
        height: auto;
        min-height: calc(100vh - 50px);
    }

    .game-placeholder {
        padding: 2rem 1rem;
    }

    .game-logo {
        width: 120px;
        height: 120px;
    }

    .play-button {
        width: 100%;
        padding: 1rem;
        font-size: 1.2rem;
    }
}