#game-container {
    /* left: 20%; */
    position: relative;
    width: 100%;
    /* max-width: 90vw; */
    height: 100%;
    /* max-height: 90vh; */
    border-radius: 20px;
    overflow: hidden;
}

.game-title {
    position: absolute;
    top: 2.5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 3;
}

/* Styles for the corner icons */
.corner-icon {
    position: absolute;
    top: 2.5%;
    width: 7.5vh;
    height: auto;
    z-index: 3;
}

.corner-icon.left {
    left: 3%;
}

.corner-icon.right {
    right: 3%;
    /* Removed the mirror effect */
    /* transform: scaleX(-1); */
}

canvas {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.prize-label {
    position: absolute;
    font-size: 2.5vh;
    font-weight: bold;
    color: var(--purple-color);
    z-index: 3;
    text-align: center;
    width: auto;
    white-space: nowrap;
    transform: rotate(-90deg);
    transform-origin: center left;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

#restart-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5vh 3vh;
    font-size: 3vh;
    font-weight: bold;
    color: #fff;
    background-color: #702AD0;
    border: none;
    border-radius: 1vh;
    cursor: pointer;
    z-index: 1000;
    display: none;
    pointer-events: auto;
}

@keyframes blink-colors {
    0%, 49%   { color: #702AD0; }   /* Purple until 49% */
    50%, 100% { color: #FAA908; }   /* Orange from 50% to 100% */
}

.blinking-text {
    animation: blink-colors 1s infinite;
}

/* Blinking effect applied to the winning prize label */
.blinking-prize-label {
    animation: blink-colors 0.5s steps(1, start) infinite;
}

/* Define a rotation animation */
@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Class to apply the rotation animation */
.rotating-icon {
    animation: rotate-icon 2s linear infinite;
}

/* Styles for the prize input container */
#prize-input-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    font-family: 'Rubik', sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

#prize-input-container h1 {
    font-size: 1vh;
    margin-bottom: 2vh;
    color: var(--purple-color);
}

#prize-input-container .prize-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 1vh;
}

#prize-input-container label {
    font-size: 1.5vh;
    width: 10vh;
    text-align: right;
    margin-right: 1vh;
    color: var(--purple-color);
}

#prize-input-container input {
    width: 20vh;
    font-size: 1vh;
    padding: 0.5vh;
    box-sizing: border-box;
}

#prize-input-container button {
    margin-top: 3vh;
    padding: 1.5vh 3vh;
    font-size: 1vh;
    font-weight: bold;
    color: #fff;
    background-color: #702AD0;
    border: none;
    border-radius: 1vh;
    cursor: pointer;
}

/* Update the game container styles */
#game-container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    height: 90vh;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    z-index: 100;
}

/* Update corner icon styles */
.corner-icon {
    position: absolute;
    top: 2.5%;
    width: 7.5vh;
    height: auto;
    z-index: 3;
}

/* Update mobile styles */
@media (max-width: 768px) {
    #game-container {
        max-width: 95vw;
        max-height: 95vh;
        margin: auto;
        border-radius: 12px;
    }

    .corner-icon {
        width: 4vh;
        top: 2%;
    }

    .corner-icon.left {
        left: 4%;
    }

    .corner-icon.right {
        right: 4%;
    }
}
