/* Train Cleanup Game Styles */
.game-container {
    background: transparent !important;
    padding: 0 !important;
}

#gameCanvas {
    border: 4px solid #5D4037;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.touch-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.touch-btn {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 16px;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.touch-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.touch-btn.btn-left {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    color: white;
}

.touch-btn.btn-up {
    background: linear-gradient(135deg, #43A047, #2E7D32);
    color: white;
}

.touch-btn.btn-right {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    color: white;
}

.control-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border: 2px solid #999;
    border-radius: 8px;
    font-size: 24px;
    box-shadow: 0 4px 0 #888, 0 6px 10px rgba(0,0,0,0.2);
    margin: 0 5px;
}
