.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    position: fixed;
    max-width: 500px;
}

#mainContent {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    height: 100%;   
}

#alvoContainer {
    flex: 1;
    width: 100%;
    overflow: hidden;   
    position: relative;
}

#alvoContainer object {
    width: 90%;
    height: 90%;
    object-fit: contain; 
    vertical-align: middle;
    text-align: center;
    margin: 1rem;
}

#footerInfo {
    height: 100px;
    width: 100%;
    background-color: #d6691c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.left-info {
    z-index: 1;
}

.center-info {
    z-index: 2; 
}

.joystick-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.joystick-base {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #444 30%, #222 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 10px #000;
    touch-action: none;
}

.joystick-stick {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #888 30%, #555 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease;
}

#dardo {
    height: 80px;
    width: 20px;
}

#target-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    scale: 0.9;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    scale: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.3s ease-out forwards;
}

.carlos {
  position: absolute; 
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%; 
  display: none;
  align-items: center;
  justify-content: center;
}

#telaParabens {
  max-width: 500px;
  position: fixed;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.parabens-content {
  background: #d6691c;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  max-width: 90%;
  font-family: 'Poppins', sans-serif;
  animation: fadeInUp 0.8s ease;
}

.mainText {
  font-size: 46px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.middleText {
  font-size: large;
}

.titleText {
  font-weight: bold;
  font-size: x-large;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

.instrucoes {
  margin-top: 2rem;
  font-size: small;
}


@media (max-width: 480px) {
  .mainText {
    font-size: 36px;
  }

  .titleText {
    font-size: large;
  }

  .middleText {
    font-size: medium;
  }

  .instrucoes {
    font-size: x-small;
  }
}
