*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background: #0e0e10;
  color: white;
}

#root {
  height: 100dvh;
  padding: 0 8px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

#version {
  font-size: 10px;
}

.header {
  max-height: 100vh;
  height: 100%;
  align-items: flex-start;
  flex: 1;
}

#user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 4px;
}

.page {
  flex-basis: 100%;
}

.display-none {
  display: none !important;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.align-center {
  align-items: center;
}

.gap-8 {
  gap: 8px;
}

.coin-img {
  width: 280px;
  border-radius: 50%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  transition: 0.1s;
}

.coin-scale {
  animation: scale 1s;
}

@keyframes scale {
  from {
    scale: 1;
  }
  to {
    scale: 1.1;
  }
}

.number {
  position: absolute;
  font-size: 2em;
  pointer-events: none;
  animation: fade 1s forwards;
}

@keyframes fade {
  from {
    opacity: 1;
    margin-top: 0px;
  }
  to {
    opacity: 0;
    margin-top: -250px;
  }
}

.progressbars {
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
}

.progressbar {
  width: 100%;
  height: 16px;
  border-radius: 4px;
  position: relative;
  background: white;
}

.progressbar__progress {
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: red;
  position: absolute;
  top: 0;
  left: 0;
}

.progressbar__text {
  color: black;
  text-wrap: nowrap;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
}

.footer {
  width: 100%;
  align-self: flex-end;
}

.footer__button {
  max-width: 100%;
  width: 100%;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
}

#footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  border-radius: 24px;
}

.navigation-btn {
  cursor: pointer;
  width: 100%;
  text-wrap: nowrap;
  font-size: 14px;
  font-weight: bold;
  padding: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 20px;
  transition: color 0.45s ease-out, background 0.45s ease-out;
}

.navigation-btn--active {
  background: gray;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 20px;
}
