#particles-js,
#progress-text {
  top: 0;
  left: 0;
  pointer-events: none
}

.moeda-topo,
.people-counter,
.xp-counter {
  right: 20px;
  top: 20px
}

body {
  background: url(assets/fundo.png);
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center
}

#xp-animation,
.progress {
  align-items: center;
  display: flex
}

.container {
  max-width: 700px;
  width: 100%;
  padding: 20px;
  text-align: center
}

.progress-top-container {
  position: absolute;
  top: 30px;
  left: 25%;
  width: 50%;
  z-index: 10
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 20px;
  border-radius: 10px;
  background: #333;
  overflow: hidden
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #00ffc3, #069dfb);
  justify-content: center;
  transition: width .4s;
  position: relative
}

#progress-text {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px
}

.buttons button {
  background: linear-gradient(to right, #0047ff, #00cfff);
  border: none;
  padding: 18px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  font-size: 16px
}

.buttons button:hover {
  opacity: .9
}

.buttons button.selected {
  background-color: #c2f970;
  color: #000
}

.final img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  margin: 20px 0
}

.back {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  z-index: 10
}

.people-counter {
  font-size: 14px;
  position: absolute;
  background: #00cfff;
  padding: 6px 12px;
  border-radius: 8px;
  color: #000;
  font-weight: 700
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0
}

#xp-animation,
.moeda-topo,
.xp-counter {
  position: absolute;
  background: gold;
  color: #000;
  font-weight: 700
}

.xp-counter {
  font-size: 18px;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 1000
}

#xp-animation {
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  border-radius: 12px;
  gap: 8px;
  font-size: 18px;
  opacity: 0;
  z-index: 99;
  transition: opacity .3s, transform .3s
}

#xp-animation img {
  height: 24px;
  width: 24px
}

#xp-animation.active {
  opacity: 1;
  transform: translate(-50%, -80%)
}

.moeda-topo {
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  z-index: 10
}

.moeda-topo img {
  height: 22px;
  width: 22px
}

.impact-screen {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px
}

.impact-screen.active {
  display: flex
}

.impact-screen img {
  max-width: 90%;
  border-radius: 10px;
  margin-bottom: 20px
}

.impact-screen .highlight {
  font-size: 22px;
  font-weight: 700;
  color: gold;
  margin-bottom: 10px;
  text-decoration: line-through
}

.impact-screen .free {
  font-size: 26px;
  font-weight: 700;
  color: #0fa
}

.impact-screen p {
  font-size: 20px
}

@media (max-width:480px) {
  .progress-top-container {
    top: 10px;
    width: 90%;
    left: 5%
  }

  .progress-bar {
    height: 12px
  }

  #progress-text {
    font-size: 11px;
    line-height: 12px
  }

  .moeda-topo {
    font-size: 13px;
    padding: 4px 8px;
    gap: 4px;
    top: 24px;
    right: 16px
  }

  .moeda-topo img {
    height: 18px;
    width: 18px
  }
}