#game-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.btn-frame {
    opacity: 0;
    width: 37px;
}

.card-container {
    position: relative;
    width: 70%;
    aspect-ratio: 423 / 582;
    z-index: 1;
}

#card-3d {
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
}

#card-fx-shadow {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    mix-blend-mode: multiply;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 4;
}

#card-fx-glare {
    background: radial-gradient(circle 150px, rgba(255, 0, 150, 0.7), rgba(0, 255, 0, 0));
    mix-blend-mode: color-burn;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 6;
}

#card-fx-grain {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-blend-mode: color-dodge;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, black 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, black 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    pointer-events: none;
}

#generated-image {
    z-index: 1;
}

#btn-card-upload {
    position: absolute;
    width: 100%;
    height: 70%;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#asset-upload {
    width: 28%;
    opacity: 0;
}

#wait-animation {
    position: absolute;
    width: 100%;
    height: 70%;
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wait-animation img {
    width: 28%;
    height: auto;
}

#btn-stats {
    position: absolute;
    width: 100%;
    height: 16%;
    top: 75%;
    left: 0;
    cursor: pointer;
}

#move-user-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}

#canvas-hidden {
    z-index: 1;
    width: 100%;
}

#container-icon-move {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70%;
}

.icon-move {
    width: 23%;
    aspect-ratio: 1;
    display: none;
}

#touch-controller {
    position: absolute;
    z-index: 3;
    touch-action: none;
    width: 100%;
    height: 70%;
    top: 0;
    left: 0;
    pointer-events: auto;
}