body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--tg-theme-bg-color, #000);
    color: var(--tg-theme-text-color, #fff);
    overflow: hidden;
    touch-action: none;
    font-family: Arial, sans-serif;
}

#game-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#score-display {
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
}

#controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    pointer-events: auto;
}

#controls button {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: var(--tg-theme-button-color, rgba(255, 255, 255, 0.2));
    color: var(--tg-theme-button-text-color, #fff);
    border: none;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    touch-action: manipulation;
}

#controls button:active {
    background-color: rgba(255, 255, 255, 0.4);
}
