/* Game Page Specific Styles */

#game-container {
    padding: 120px 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--sakura-pink);
    animation: fadeIn 0.8s ease-out;
}

.game-frame-container {
    width: 100%;
    height: 700px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 168, 186, 0.3);
    margin-bottom: 2rem;
    background: rgba(30, 30, 60, 0.6);
    position: relative;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.game-description {
    background: rgba(46, 34, 82, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--sakura-pink);
    animation: fadeInLeft 0.8s ease-out;
}

.game-description p {
    font-size: 1.1rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--sakura-pink);
    color: var(--midnight-blue);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
}

.back-button i {
    margin-right: 0.5rem;
}

.back-button:hover {
    background: var(--lantern-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 105, 0.3);
}

/* Loading Indicator */
.loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 168, 186, 0.3);
    border-radius: 50%;
    border-top-color: var(--sakura-pink);
    animation: spin 1s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .game-frame-container {
        height: 600px;
    }
}

@media (max-width: 768px) {
    #game-container {
        padding: 100px 1rem 3rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-frame-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.8rem;
    }
    
    .game-frame-container {
        height: 400px;
    }
    
    .game-description {
        padding: 1rem;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}