html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer,
header,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  transition: all 0.3s ease;
}

._hidden {
  display: none !important;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: underline;
  text-decoration-color: transparent;
  font-weight: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

._hidden {
  display: none !important;
}

._flex {
  display: flex !important;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

*,
html {
  scroll-behavior: smooth !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: gray #161616;
  -webkit-tap-highlight-color: transparent;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-thumb {
  background-color: gray;
  border-radius: 14px;
  border: 0 none #ffffff;
}

.grid-container {
  --padding-inline: 78px;
  --content-max-width: 1284px;
  --breakout-max-width: 1440px;
  --breakout-size: calc((var(--breakout-max-width) - var(--content-max-width)) / 2);
  display: grid;
  grid-template-columns: [full-width-start] minmax(var(--padding-inline), 1fr) [breakout-start] minmax(0, var(--breakout-size)) [content-start] min(var(--content-max-width), 100% - var(--padding-inline) * 2) [content-end] minmax(0, var(--breakout-size)) [breakout-end] minmax(var(--padding-inline), 1fr) [full-width-end];
  grid-template-rows: min-content auto min-content;
}

.grid-content {
  grid-column: content;
}

.grid-breakout {
  grid-column: breakout;
}

.grid-content-full {
  grid-column: full-width;
}

:root {
  --blur: 0px;
  --brightness: 1;
}

@-webkit-keyframes entry {
  0% {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(var(--blur, 4px)) brightness(var(--brightness, 0.5));
  }
}

@keyframes entry {
  0% {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(var(--blur, 4px)) brightness(var(--brightness, 0.5));
  }
}

@-webkit-keyframes entry2 {
  0% {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(4px) brightness(0.5);
  }
}

@keyframes entry2 {
  0% {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(4px) brightness(0.5);
  }
}

@-webkit-keyframes out {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(var(--blur, 4px)) brightness(var(--brightness, 0.5));
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }
}

@keyframes out {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(var(--blur, 4px)) brightness(var(--brightness, 0.5));
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }
}

@-webkit-keyframes out2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(4px) brightness(0.5);
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }
}

@keyframes out2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(4px) brightness(0.5);
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(0) brightness(1);
  }

  to {
    -webkit-transform: translateY(-120vh);
    transform: translateY(-120vh);
    opacity: 0;
  }
}

.modal {
  position: fixed;
  padding-top: 64px;
  bottom: 0;
  z-index: 1000;
  display: grid;
  min-height: 100dvh;
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  outline: 0;
  -webkit-transform: translateY(-120vh);
  transform: translateY(-120vh);
}

.modal._in {
  -webkit-animation: entry 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation: entry 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.modal._out {
  -webkit-animation: out 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation: out 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.modal--bottom {
  padding-top: 0;
}

.modal--bottom._in {
  -webkit-animation: entry2 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation: entry2 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.modal--bottom._out {
  -webkit-animation: out2 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation: out2 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.modal__close {
  display: none;
}

.modal__close--bottom {
  display: block;
  color: var(--Main, #0070AF);
  position: absolute;
  right: 30px;
  top: 30px;
  cursor: pointer;
}

.modal__close--bottom:hover {
  opacity: 0.8;
}

.modal__close--mainav {
  display: block;
}

.modal__container {
  background: var(--Gradient-Back, linear-gradient(136deg, #FFF 1.39%, #E0E0E0 98.61%));
  max-height: calc(100vh - 64px);
  overflow: auto;
}

.modal__container--bottom {
  max-width: 94vw;
  max-height: 80vh;
  height: fit-content;
  width: 100%;
  padding: 0;
  position: fixed;
  overscroll-behavior: contain;
  margin: auto;
  bottom: 40px;
  top: unset;
  left: 50%;
  transform: translate(-50%, 0);
}

.modal__container--center {
  max-width: 94vw;
  max-height: 80vh;
  height: fit-content;
  width: 100%;
  padding: 0;
  position: fixed;
  overscroll-behavior: contain;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal__container--top {
  max-width: 100vw;
  height: fit-content;
  width: 100%;
  padding: 0;
  position: fixed;
  overscroll-behavior: contain;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  transform: unset;
  min-height: 100vh;
}

.title {
  font-size: 3.5em;
  line-height: 1.3em;
  color: #ffffff;
  font-weight: 700;
}

.title--sub {
  font-size: 3em;
  line-height: unset;
  font-weight: 500;
}

.title--stat {
  font-size: 2.875em;
  font-weight: 400;
}

.title--slide {
  font-size: 2em;
}

.text {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: #FFF;
  text-shadow: 1px 1px 4px black;
}

.text--button {
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text--button-standard {
  color: #FAFAFA;
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.text--button-info {
  color: #FAFAFA;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.text--energy {
  color: #FAFAFA;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.text--coins {
  color: #FAFAFA;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.text--orange {
  color: #FDD1A1;
}

.text--purple {
  color: #8956F5;
}

.text--small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 6ch;
}

.text--max {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link {
  color: #255ce8;
  text-shadow: 0 0 1px #000000;
}

[data-coins-needed]::after {
  content: attr(data-coins-needed);
}

[data-coins-per-tap]::after {
  content: attr(data-coins-per-tap);
}

[data-current-profit]::after {
  content: attr(data-current-profit);
}

[data-current-profit-separate]::after {
  content: attr(data-current-profit-separate);
}

[data-id]::after {
  content: attr(data-id);
}

[data-energy]::after {
  content: attr(data-energy);
}

:root {
  --lvl: 0%;
  --lvl-half: calc(var(--lvl) / 2.1);
  --lvl-buffer: calc(var(--lvl) + 2%);
}

body {
  margin: 0;
  font-family: "Roboto", monospace;
  font-optical-sizing: auto;
  overflow: hidden;
}

canvas {
  display: block;
  position: absolute;
  z-index: -1;
}

.main {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  grid-template-areas: "header" "main" "footer";
  justify-items: center;
  width: 100%;
  align-items: center;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 550px;
  width: 100%;
  padding-inline: 12px;
  padding-block: 12px;
  grid-area: header;
}

.header__info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.header__wallet {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header__wallet-img {
  max-width: 24px;
  display: block;
  border-radius: 4px;
}

.header__logo-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header__logo-img {
  max-width: 24px;
  display: block;
  border-radius: 4px;
}

.nav {
  width: 100%;
  position: relative;
  z-index: 100;
}

.nav__list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
  justify-content: space-between;
}

.nav__item {
  width: 100%;
}

.button {
  width: 100%;
  border: 0;
  gap: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  cursor: pointer;
  background: transparent;
}

.button--gradient {
  background: linear-gradient(#24184A, #24184A) padding-box, linear-gradient(-120deg, #8956F5, #24184A) border-box;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 4px 8px;
}

.button--standard {
  gap: 4px;
}

.button--disabled {
  user-select: none;
}

.button__art {
  background: #D9D9D9;
  width: 28px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.button__art--orange {
  background: orange;
}

.button__img-coin {
  width: 16px;
  aspect-ratio: 1/1;
}

.button__info {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.button__kryptonite {
  width: 20px;
  overflow: visible;
}

.button__kryptonite path {
  fill: #bbdabb;
}

.lvl-svg {
  width: 100%;
}

.char {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.char__img {
  max-width: 350px;
  width: 100%;
  z-index: 2;
  position: absolute;
}

.footer {
  max-width: 550px;
  width: 100%;
  padding-inline: 12px;
  padding-block: 12px;
  grid-area: footer;
}

.footer__list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.coins {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coins__kryptonite {
  width: 46px;
  overflow: visible;
}

.coins__kryptonite path {
  fill: #bbdabb;
}

@keyframes collect {
  from {
    opacity: 1;
  }

  60% {
    opacity: 0.8;
  }

  to {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
  }
}

.generated-kryptonite {
  width: 30px;
  overflow: visible;
  transform-origin: center center;
  position: absolute;
  z-index: 100;
  user-select: none;
  filter: drop-shadow(2px 2px 2px black);
  left: -50px;
}

.generated-kryptonite--collect {
  animation: collect 1s ease-in;
}

@keyframes wiggle1 {
  0% {
    transform: rotate(0deg);
    scale: 1;
  }

  25% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(5deg);
    scale: 1.2;
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
    scale: 1;
  }
}

.wiggle1 {
  transform-origin: center center;
  animation: wiggle1 7s infinite linear;
}

@keyframes wiggle2 {
  0% {
    transform: rotate(0deg);
    scale: 1;
  }

  25% {
    transform: rotate(0deg);
    scale: 1.1;
  }

  50% {
    transform: rotate(5deg);
    scale: 0.95;
  }

  75% {
    transform: rotate(-5deg);
    scale: 1.3;
  }

  100% {
    transform: rotate(0deg);
    scale: 1;
  }
}

.wiggle2 {
  transform-origin: center center;
  animation: wiggle2 9s infinite linear;
  animation-delay: 1s;
}

@keyframes wiggle3 {
  0% {
    transform: rotate(0deg);
    scale: 1;
  }

  25% {
    transform: rotate(0deg);
    scale: 0.8;
  }

  50% {
    transform: rotate(5deg);
    scale: 0.95;
  }

  75% {
    transform: rotate(-5deg);
    scale: 1.2;
  }

  100% {
    transform: rotate(0deg);
    scale: 1;
  }
}

.wiggle3 {
  transform-origin: center center;
  animation: wiggle3 10s infinite linear;
}

@keyframes wiggle4 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.wiggle4 {
  transform-origin: center center;
  animation: wiggle4 7s infinite linear;
  animation-delay: 0.4s;
}

@keyframes wiggle5 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.wiggle5 {
  transform-origin: center center;
  animation: wiggle5 7s infinite linear;
}

.energy {
  position: absolute;
  bottom: 30px;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-content: center;
  grid-template-columns: auto auto;
}

.energy #Energy {
  width: 30px;
  overflow: visible;
  position: relative;
}

.energy #Energy .corner {
  fill: yellow;
  filter: drop-shadow(0px 0px 0px transparent);
}

.energy #Energy .lightning {
  fill: yellow;
  filter: drop-shadow(0px 0px 0px transparent);
}

@keyframes charge-left-corner {
  0% {
    scale: 1;
    filter: drop-shadow(0px 0px 0px transparent);
  }

  80% {
    scale: 1.03;
    filter: drop-shadow(1px 1px 6px yellow);
  }

  900% {
    scale: 0.95;
    filter: drop-shadow(0px 0px 0px transparent);
  }

  100% {
    scale: 1;
    filter: drop-shadow(0px 0px 0px transparent);
  }
}

@keyframes charge-right-corner {
  0% {
    scale: 1;
    filter: drop-shadow(0px 0px 0px transparent);
  }

  80% {
    scale: 1.03;
    filter: drop-shadow(1px 1px 6px yellow);
  }

  900% {
    scale: 0.95;
    filter: drop-shadow(0px 0px 0px transparent);
  }

  100% {
    scale: 1;
    filter: drop-shadow(0px 0px 0px transparent);
  }
}

@keyframes charge-lightning {
  0% {
    scale: 1;
  }

  25% {
    filter: drop-shadow(1px 1px 6px yellow);
    scale: 1.1;
  }

  100% {
    filter: drop-shadow(0px 0px 0px transparent);
    scale: 1;
  }
}

.charge-left-corner {
  transform-origin: bottom right;
  animation: charge-left-corner 1s infinite linear;
}

.charge-right-corner {
  transform-origin: top left;
  animation: charge-right-corner 1s infinite linear;
}

.charge-lightning {
  transform-origin: center center;
  animation: charge-lightning 1s infinite linear;
}

@media screen and (min-width: 350px) {
  .char {
    max-width: 300px;
  }
}

@media screen and (min-width: 768px) {
  :root {
    --blur: 4px;
    --brightness: 0.5;
  }

  .modal {
    padding-top: unset;
    justify-items: center;
    align-items: center;
  }

  .modal__close {
    display: block;
    color: var(--Main, #0070AF);
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
  }

  .modal__close:hover {
    opacity: 0.8;
  }

  .modal__close--mainav {
    display: none;
  }

  .modal__container {
    max-width: 80vw;
    max-height: 80vh;
    width: 100%;
    padding: 0;
    position: fixed;
    overscroll-behavior: contain;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .modal__container--large {
    max-width: 80vw;
    background: var(--White-Clean, #F5F5F5);
  }

  .modal__container--bottom {
    max-width: 94vw;
    max-height: 80vh;
    height: fit-content;
    width: 100%;
    padding: 0;
    position: fixed;
    overscroll-behavior: contain;
    margin: auto;
    bottom: 40px;
    top: unset;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .modal__container--center {
    max-width: 94vw;
    max-height: 80vh;
    height: fit-content;
    width: 100%;
    padding: 0;
    position: fixed;
    overscroll-behavior: contain;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .modal__container--top {
    max-width: 100vw;
    height: fit-content;
    width: 100%;
    padding: 0;
    position: fixed;
    overscroll-behavior: contain;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    transform: unset;
    min-height: unset;
  }
}

@media screen and (min-width: 1280px) {
  .modal__container {
    max-width: 40vw;
    background: var(--White, #FFF);
  }

  .modal__container--large {
    max-width: 80vw;
  }

  .modal__container--top {
    max-width: 100%;
  }
}

@media screen and (min-width: 1320px) {
  .modal__container--bottom {
    max-width: 1280px;
    width: 100%;
  }

  .modal__container--center {
    max-width: 740px;
  }
}

@media (orientation: landscape) {
  .main {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr auto;
  }

  .header {
    position: absolute;
    top: 0;
    z-index: 100;
    flex-direction: column-reverse;
  }

  .button--gradient {
    background: linear-gradient(rgba(36, 24, 74, 0.4392156863), rgba(36, 24, 74, 0.4705882353)) padding-box, linear-gradient(-120deg, rgba(137, 86, 245, 0.5019607843), rgba(36, 24, 74, 0.5411764706)) border-box;
  }

  .footer {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: unset;
    grid-area: unset;
    width: unset;
    padding: 0;
  }

  .footer__list {
    flex-direction: column;
  }

  .coins {
    z-index: 3;
    position: absolute;
    top: 64%;
  }
}