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

body {
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior: none;
    font-family: Arial, sans-serif;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
}

.game-wrapper { text-align: center; }

h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 8px;
}

.score {
    font-size: 32px;
    color: #888;
    margin-bottom: 20px;
}

#gameCanvas {
    background: #111;
    border: 2px solid #333;
    display: block;
    margin: 0 auto;
}

.instructions {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.overlay h2 {
    font-size: 64px;
    margin-bottom: 20px;
    letter-spacing: 8px;
}

.overlay p { font-size: 24px; margin: 15px 0; }

.overlay button {
    margin-top: 30px;
    padding: 15px 50px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.overlay button:hover {
    background: #ddd;
    transform: scale(1.05);
}

.hidden { display: none !important; }
