
:root {
    --primary-color: #3498db;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --coin-color: #f1c40f;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
    touch-action: none;
}

#gameContainer {
    position: relative;
    width: 800px;
    height: 600px;
}

canvas {
    border: 3px solid #34495e;
    border-radius: 10px;
    background: linear-gradient(160deg, #ecf0f1 0%, #d0d3d4 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.button {
    padding: 15px 30px;
    font-size: 1.1em;
    background: var(--success-color);
    border: none;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #27ae60;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-controls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: none;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.mobile-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    user-select: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    touch-action: none;
}
    