* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #87CEEB 0%, #E0F6FF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

#game-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    padding: 20px;
    max-width: 1200px;
}

#ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

h1 {
    color: #d32f2f;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

#info {
    display: flex;
    gap: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

button:active {
    transform: translateY(0);
}

#next-btn {
    background: #2196F3;
}

#next-btn:hover {
    background: #0b7dda;
}

#gameCanvas {
    border: 3px solid #333;
    border-radius: 10px;
    display: block;
    background: linear-gradient(to bottom, #87CEEB 0%, #DEB887 80%, #8B7355 100%);
    cursor: grab;
}

#gameCanvas:active {
    cursor: grabbing;
}

#instructions {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

#instructions p {
    margin: 5px 0;
    color: #856404;
    font-weight: 500;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }
    
    #info {
        font-size: 1em;
    }
    
    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}
