@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    font-family: 'Inter', sans-serif;
    color: white;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
    -webkit-tap-highlight-color: transparent;
}

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

canvas {
    display: block;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/sticky-20bca.appspot.com/o/sgm-asset%2Fb2f82b2f-971a-4322-9af8-589114500870%2F84b209dd-dea2-48de-8c70-29d2c36a4096.png?alt=media&token=9e08c054-b07c-4247-b093-e085d5ac9c0a');
    background-size: cover;
    background-position: center;
    touch-action: none;
    image-rendering: pixelated;
}

#player-img, #opponent-img {
    position: absolute;
    pointer-events: none;
    will-change: left, top;
    image-rendering: pixelated;
}

#opponent-img {
    transform: rotate(180deg);
}

#score {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}