/* Game Page Specific Styles */

.back-link {
    display: inline-block;
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}

.game-section {
    padding: 40px 20px;
    background: var(--color-background);
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    border: 3px solid var(--color-border);
}

.game-iframe {
    width: 100%;
    min-height: 600px;
    height: 80vh;
    border-radius: 8px;
    border: 2px solid var(--color-border);
}

/* How to Play Section */
.how-to-play-section {
    padding: 80px 20px;
    background: var(--color-white);
}

.how-to-play-content {
    max-width: 900px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.how-to-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: var(--color-background);
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.how-to-step:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.15);
    border-color: var(--color-accent);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-white);
}

.step-content h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Game Features Section */
.game-features-section {
    padding: 80px 20px;
    background: var(--color-background-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.2);
    border-color: var(--color-accent);
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for Game Pages */
@media (max-width: 768px) {
    .game-iframe {
        min-height: 500px;
        height: 70vh;
    }
    
    .game-wrapper {
        padding: 15px;
    }
    
    .how-to-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    
    .how-to-step:hover {
        transform: translateY(-5px);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .back-link {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .game-section {
        padding: 30px 15px;
    }
    
    .how-to-play-section,
    .game-features-section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .game-iframe {
        min-height: 400px;
        height: 60vh;
    }
    
    .game-wrapper {
        padding: 10px;
    }
    
    .how-to-step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
}

