#catchGameCanvas > canvas {
    background: transparent;
    width: 100% !important;
    height: auto !important;
    display: block;
    touch-action: none; /* Prevent touch scrolling */
}

.catch-score-container,
.catch-elapsed-time-container {
    width: 30% !important;
    text-align: center;
    display: inline-block;
}

.catch-game-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: auto;
    text-align: center;
    font-family: sans-serif;
    overflow: hidden;
    border-radius: 30px;
    background-color: #a3bbbf;
    background-image: url(/frontend/themes/wrt/assets/img/game/catch/bg.svg);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.catch-game-container.not-registered {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.catch-score-time-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poster Gothic ATF', sans-serif !important;
    width: 100%;
}

.catch-score-time-container .catch-lives-container {
    position: absolute;
    left: 3%;
    top: 50%;
    width: 20%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}

.catch-score-time-container .catch-score-container-bg {
    background-image: url(/frontend/themes/wrt/assets/img/game/score-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    margin-left: 25%;
    width: 50%;
    padding: 5px 5px 10px 5px;
}

.pauseScreen {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2rem;
    border-radius: 8px;
}

.hide {
    display: none !important;
}

.game-over-content {
    text-align: center;
}

.catch-game-container .bg-overlay {
    background: rgba(0,0,0,0.66);
    background: linear-gradient(180deg,rgba(29, 29, 27, 0.66) 0%, rgba(29, 29, 27, 0.33) 100%);
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

#catchCountdownOverlay {
    position: absolute;
    font-size: 80px;
    color: white;
    top: 40%;
    width: 100%;
    text-align: center;
    z-index: 10;
    font-family: 'Poster Gothic ATF', sans-serif !important;
}

#catchGameStartScreen,
#catchGameOverScreen {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 10;
    background: rgba(0,0,0,0.66);
    padding: 20px;
    color: white;
    z-index: 10;
}

.catchLeaderboard {
    margin-top: 20px;
    font-size: 16px;
}

.catch-game-container .points {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-animation: pulse 0.5s linear;
    animation: pulse 0.5s linear;
    pointer-events: none;
    opacity: 0;
    animation-delay: 0.5s;
}

.catch-game-container .plus{
    color: green !important;
}

.catch-game-container .minus{
    color: red !important;
}

@media only screen and (max-width: 767px) {
    .catch-score-time-container {
        width: 90%;
    }
    .catch-score-time-container .catch-score-container-bg {
        background-size: 90%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.5, 1.5);
    }
    100% {
        transform: scale(1, 1);
    };
}
