/* Smiley's Adventure Game Container Styles */
.game-container {
    position: relative;
    width: 100%;
    height: 600px;
    border: 2px solid #667eea;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.game-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #231F20;
}

.gm4html5_div_class {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#canvas {
    border: 2px solid #667eea;
    border-radius: 5px;
}

/* Game Preview Styles */
.game-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: #231F20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.play-icon {
    font-size: 24px;
}

.play-text {
    font-size: 16px;
}

/* Loading State */
.loading-game {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #231F20;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.loading-game::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 