 @import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap");
#app.gotcha .container .ui-layer .title-container .title h2, #app.gotcha .container .game-layer .machine-container .title {
  text-shadow: 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white), 0px 0px 2px var(--stroke-color, white);
  filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, 0.2));
}

*, *::before, *::after {
  box-sizing: border-box;
  font-family: inherit;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  height: 100%;
  color: white;
  font-family: "M PLUS Rounded 1c", "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
html body {
  background-image: url('/img/bg.png');
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: 100% 100%;
  font-size: 1.6rem;
  overflow: hidden;
  height: 100%;
  position: relative;
  user-select: none;
}

.dim {
  transition: 0.5s linear;
}
.dim[data-animate] {
  filter: brightness(0.6) saturate(0.8);
}

.confetti {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  perspective: 100vmin;
}
.confetti span {
  --size: 5;
  display: block;
  position: absolute;
  width: calc(var(--size) * 1px);
  height: calc(var(--size) * 1px);
  background-color: blue;
  animation: rotate linear calc(var(--rs) * 1s) infinite both;
}

#app.gotcha {
  width: 100%;
  height: 100%;
  position: relative;
}
#app.gotcha .container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
#app.gotcha .container .game-layer {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#app.gotcha .container .game-layer .machine-container {
  position: relative;
  white-space: nowrap;
}
#app.gotcha .container .game-layer .machine-container .machine {
  position: relative;
  z-index: 1;
  max-height: 80vh;
  pointer-events: none;
}
#app.gotcha .container .game-layer .machine-container .backboard {
  z-index: 0;
  width: 15vh;
  height: 13vh;
  top: 65%;
  left: 48%;
  background-color: #e288bb;
  position: absolute;
}
#app.gotcha .container .game-layer .machine-container .title {
  --stroke-color: #ad8bd6;
  position: absolute;
  display: block;
  top: 10%;
  width: 100%;
  text-align: center;
  font-size: 5vh;
  z-index: 3;
}
#app.gotcha .container .game-layer .machine-container .title span {
  animation: blink 0.8s linear both infinite;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(1) {
  animation-delay: 0.12s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(2) {
  animation-delay: 0.24s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(3) {
  animation-delay: 0.36s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(4) {
  animation-delay: 0.48s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(5) {
  animation-delay: 0.6s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(6) {
  animation-delay: 0.72s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(7) {
  animation-delay: 0.84s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(8) {
  animation-delay: 0.96s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(9) {
  animation-delay: 1.08s;
}
#app.gotcha .container .game-layer .machine-container .title span:nth-child(10) {
  animation-delay: 1.2s;
}
#app.gotcha .container .game-layer .machine-container .price {
  z-index: 3;
  position: absolute;
  color: #fb91c9;
  font-size: 2.5vh;
  top: 80%;
  left: 15%;
}
#app.gotcha .container .game-layer .machine-container .handle {
  z-index: 3;
  position: absolute;
  height: 3.9vh;
  left: 9%;
  top: 78.5%;
}
#app.gotcha .container .game-layer .machine-container .balls {
  position: absolute;
  top: 28%;
  left: 2%;
  width: 96%;
  height: 34.5%;
}
#app.gotcha .container .game-layer .machine-container .pointer {
  position: absolute;
  height: 15vh;
  top: 85%;
  left: 15%;
  z-index: 5;
  pointer-events: none;
}
#app.gotcha .container .game-layer .machine-container .pointer img {
  height: 100%;
  display: block;
  transform: rotate(-30deg);
  transform-origin: 0% 0%;
  animation: click 1s ease-in-out infinite both;
}
#app.gotcha .container .ui-layer {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
#app.gotcha .container .ui-layer .title-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
#app.gotcha .container .ui-layer .title-container .title h2 {
  --stroke-color: #f06e5b;
  text-align: center;
  font-size: 5vh;
}
#app.gotcha .container .ui-layer .prize-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
#app.gotcha .container .ui-layer .prize-container .prize-ball-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
#app.gotcha .container .ui-layer .prize-container .prize-reward-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#app.gotcha .container .ui-layer .prize-container .prize-reward-container > * {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#app.gotcha .container .ui-layer .prize-container .prize-reward-container .prize img {
  height: 50vh;
}
#app.gotcha .container .ui-layer .prize-container .prize-reward-container .shine img {
  height: 100vh;
  animation: spin linear 5s infinite forwards;
}
#app.gotcha .container .ball {
  --size: 8vh;
  --outline: #4c3fc2;
  --color1: #2facff;
  --color2: #ff8ff6;
  width: var(--size);
  height: var(--size);
  border-radius: 100%;
  background-color: var(--color1);
  border: solid 0.8vh var(--outline);
  position: absolute;
  overflow: hidden;
}
#app.gotcha .container .ball::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  height: 200%;
  width: 200%;
  background-color: var(--color2);
  border-radius: 100%;
  border: inherit;
  transform: translate(-25%, -5%);
}
#app.gotcha .wiggle {
  animation: wiggle 2s ease-in-out infinite both;
}

@keyframes blink {
  0% {
    color: #ffc7e5;
  }
  20% {
    color: #fcff33;
  }
  100% {
    color: #ffc7e5;
  }
}
@keyframes wiggle {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}
@keyframes click {
  0% {
    transform: rotate(-30deg) translateY(0vh);
  }
  80% {
    transform: rotate(-30deg) translateY(5vh);
  }
  100% {
    transform: rotate(-30deg) translateY(0vh);
  }
}
@keyframes spin {
  to {
    transform: rotate(0turn);
  }
  from {
    transform: rotate(1turn);
  }
}
@keyframes rotate {
  from {
    transform: rotate3d(var(--rx), var(--ry), var(--rz), 0turn);
  }
  to {
    transform: rotate3d(var(--rx), var(--ry), var(--rz), 1turn);
  }
}
#welcome-wrapper {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  backdrop-filter: blur(4px);
  z-index: 9999999;
}

#welcome {
  width: 500px;
  max-width: 90%;
  padding: 40px 30px;
  background: linear-gradient(to bottom right, #1a1a1a, #2c2c2c);
  border: 4px solid #ff4444;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), inset 0 0 10px rgba(255, 0, 0, 0.5);
  text-align: center;
  color: #fff;
  font-family: 'Press Start 2P', cursive, sans-serif;
}

.arcade-title {
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffdd00;
  margin-bottom: 10px;
  text-shadow: 2px 2px #000;
}

.subtext {
  font-size: 18px;
  color: #ffffff;
  margin: 5px 0;
  font-weight: bold;
}

.subtext-small {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 0;
  outline: none;
  background: #000;
  color: #0f0;
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 0 5px #0f0, inset 0 0 5px #0f0;
  margin-bottom: 20px;
  text-align: center;
}

.game-button {
  background: linear-gradient(145deg, #ff0000, #cc0000);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-family: 'Press Start 2P', cursive;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: 0 5px 0 #990000;
  transition: all 0.2s ease-in-out;
}

.game-button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #990000;
}

.game-button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #990000;
}

.error-text {
  color: red;
  margin-top: 15px;
  display: block;
  font-size: 14px;
}