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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    touch-action: none;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

h1 {
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.score {
    display: flex;
    gap: 40px;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

canvas {
    border: 3px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    touch-action: none;
    max-width: 100%;
    height: auto;
}

.controls {
    color: white;
    text-align: center;
    font-size: 0.9em;
    opacity: 0.8;
}

.controls p {
    margin: 5px 0;
}

@media (max-width: 850px) {
    .game-container {
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    .score {
        font-size: 1.2em;
        gap: 20px;
    }

    canvas {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    .score {
        font-size: 1em;
    }

    .controls {
        font-size: 0.8em;
    }
}
