@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Caudex:wght@700&display=swap");

body {
  width: 100%;
  height: auto;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  word-wrap: break-word;
}

.content {
  background: url("../img/bg.png") no-repeat center / cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.content > * {
  position: relative;
  z-index: 1;
}

.content:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47px;
  right: 0;
  background: url("../img/bg-layer.png") no-repeat center / cover;
}

.header {
  padding: 2.9vh 3.5vw 0;
}

.logo img {
  display: block;
  max-height: 10vh;
  margin-left: auto;
}

.main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: row;
  padding: 75px 8.45vw 75px;
  align-items: flex-start;
  justify-content: space-between;
}

.main__img {
  display: block;
  position: absolute;
  right: 11vw;
  bottom: 0;
  max-width: 30%;
}

.cryptex__wrap {
  background: url("../img/cryptex-bg.png") no-repeat top center / cover;
  width: clamp(600px, 48.3vw, 927px);
  /* margin-left: auto; */
  padding: clamp(30px, 2.5vw, 46px) clamp(35px, 2.6vw, 50px)
    clamp(46px, 4vw, 65px);
  position: relative;
  z-index: 1;
}

.cryptex__wrap.hide {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.cryptex__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-height: clamp(330px, 27.5vw, 528px);
  overflow: hidden;
}

.cryptex__col {
  width: clamp(71px, 5.834vw, 112px);
}

.cryptex__col li {
  height: clamp(71px, 5.834vw, 112px);
}

.cryptex__col li + li {
  margin-top: clamp(-8px, -0.4vw, -4px);
}

.cryptex__col li img {
  display: block;
}

.cryptex__col.animate {
  -webkit-animation: col 0.8s cubic-bezier(0.13, 0.55, 0.24, 1) forwards;
  -moz-animation: col 0.8s cubic-bezier(0.13, 0.55, 0.24, 1) forwards;
  -ms-animation: col 0.8s cubic-bezier(0.13, 0.55, 0.24, 1) forwards;
  -o-animation: col 0.8s cubic-bezier(0.13, 0.55, 0.24, 1) forwards;
  animation: col 0.8s cubic-bezier(0.13, 0.55, 0.24, 1) forwards;
}

.cryptex__col:nth-child(2).animate {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -ms-animation-delay: 0.2s;
  -o-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.cryptex__col:nth-child(3).animate {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  -ms-animation-delay: 0.4s;
  -o-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.cryptex__col:nth-child(4).animate {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  -ms-animation-delay: 0.6s;
  -o-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.cryptex__col:nth-child(5).animate {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  -ms-animation-delay: 0.8s;
  -o-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.cryptex__col:last-child.animate {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  -ms-animation-delay: 1s;
  -o-animation-delay: 1s;
  animation-delay: 1s;
}

.cryptex__button {
  display: block;
  background: linear-gradient(180deg, #2cbf81 0%, #098f57 100%);
  border-radius: clamp(8px, 0.8vw, 16px);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0px 2px 2px #05172d40;
  text-transform: uppercase;
  width: clamp(345px, 28.23vw, 549px);
  height: clamp(56px, 4.8vw, 92px);
  margin: clamp(38px, 1.5vw, 31px) auto 0;
  animation: btn 1s linear infinite alternate;
}

.cryptex__button:hover {
  transform: scale(1.05);
}

.footer {
  background: rgba(13, 17, 23, 1);
  padding: 20px;
}

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: flex-start;
  gap: 20px;
}

.footer__list img {
  display: block;
  max-height: 50px;
  object-fit: contain;
  object-position: center;
}

.popup {
    position: fixed; /* замість absolute */
    top: 0;
    left: 0;
    width: 100%;
    height:100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10vw 8vh;
    background: transparent;
    transform: scale(0);
    transition: all 0.5s;
    overflow-y: auto; /* якщо контент довгий */
}

.popup.active {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(13, 17, 23, 0.9) 0%,
    rgba(13, 17, 23, 0.9) 100%
  );
  backdrop-filter: blur(15px);
}

.popup__content {
  background: url(../img/popup.png) no-repeat center / cover;
  margin-left: auto;
  width: 100%;
  height: 100%;
max-width: 368px;
    max-height: 561px;
  margin-right: auto;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-items: center;
}
.popup__content .logo-popup {
  width: 115px;
  height: 115px;
    margin: -87px auto 30px auto;
}
.popup__title {
  font-weight: 800;
  font-size: clamp(30px, 2.1vw, 40px);
}

.popip__deposit {
  font-size: clamp(82px, 5.65vw, 100px);
  margin-top: -9px;
}
.popup__title {
  font-family: "Caudex", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  line-height: 105%;
  letter-spacing: -0.04em; /* -4% */
  text-align: center;
  text-transform: uppercase;
  color: #f3b90d;
  text-shadow:
    0px 1.24px 1.72px rgba(0, 0, 0, 0.16),
    0px 3.42px 4.77px rgba(0, 0, 0, 0.23),
    0px 8.23px 11.48px rgba(0, 0, 0, 0.31),
    0px 27.31px 38.07px rgba(0, 0, 0, 0.47),
    0px 1.23px 1.23px rgba(255, 255, 255, 1),
    -2.46px -2.46px 2.46px rgba(255, 136, 1, 0.25);
}
.popup__info{
      font-family: "Caudex", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: -0.04em; /* -4% */
  text-align: center;
  text-transform: uppercase;
color: rgba(255, 255, 255, 1);
  margin-top:40px;
  text-shadow:
    0px 1.24px 1.72px rgba(0, 0, 0, 0.16),
    0px 3.42px 4.77px rgba(0, 0, 0, 0.23),
    0px 8.23px 11.48px rgba(0, 0, 0, 0.31),
    0px 27.31px 38.07px rgba(0, 0, 0, 0.47),
    0px 1.23px 1.23px rgba(255, 255, 255, 1),
    -2.46px -2.46px 2.46px rgba(255, 136, 1, 0.25);

}
.popip__deposit,
.popup__upto, 
.popup__bonus{
          font-family: "Caudex", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 35px;
  line-height: 105%;
  letter-spacing: -0.04em; /* -4% */
  text-align: center;
  text-transform: uppercase;
  color: #f3b90d;
    max-width: 277px;

  /* ——— Тіні, що імітують box-shadow ——— */
  text-shadow:
    0px 1.24px 1.72px rgba(0, 0, 0, 0.16),
    0px 3.42px 4.77px rgba(0, 0, 0, 0.23),
    0px 8.23px 11.48px rgba(0, 0, 0, 0.31),
    0px 27.31px 38.07px rgba(0, 0, 0, 0.47),
    0px 1.23px 1.23px rgba(255, 255, 255, 1),
    -2.46px -2.46px 2.46px rgba(255, 136, 1, 0.25);
}
.popip__deposit{
    margin-top:40px;
}

.popup__button {
  display: inline-block;
background: linear-gradient(180deg, #2CBF81 0%, #098F57 100%);
    font-size: 18px;
    line-height: 100%;
    font-weight:700;
  border-radius: 5px;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0px 2px 2px #05172d40;
  width: 186px;
  height: 43px;
  margin: 40px auto 0;
  animation: btn 1s linear infinite alternate;
}

.popup__button:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

@-webkit-keyframes col {
  100% {
    -webkit-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    transform: translateY(clamp(-1775px, -92.5vw, -1138px));
  }
}

@-moz-keyframes col {
  100% {
    -moz-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    transform: translateY(clamp(-1775px, -92.5vw, -1138px));
  }
}

@-o-keyframes col {
  100% {
    -o-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    transform: translateY(clamp(-1775px, -92.5vw, -1138px));
  }
}

@keyframes col {
  100% {
    -webkit-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    -moz-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    -ms-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    -o-transform: translateY(clamp(-1775px, -92.5vw, -1138px));
    transform: translateY(clamp(-1775px, -92.5vw, -1138px));
  }
}

@-webkit-keyframes btn {
  0% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 0px #239535;
  }

  100% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 10px #239535;
  }
}

@-moz-keyframes btn {
  0% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 0px #239535;
  }

  100% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 10px #239535;
  }
}

@-o-keyframes btn {
  0% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 0px #239535;
  }

  100% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 10px #239535;
  }
}

@keyframes btn {
  0% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 0px #239535;
  }

  100% {
    box-shadow: 0px 7.49px 29.97px 0px #acffab inset,
      0px 0px 35.03px 10px #239535;
  }
}

.main {
  position: relative;
  overflow: visible;
}

/* два фони в одному before */
.main::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 59%;
  background: url(../img/money.png) no-repeat right bottom,
    url(../img/fon.png) no-repeat center bottom;
  background-size: contain, cover;
  pointer-events: none;
  z-index: 1;
}

.main::after {
  content: "";
  position: absolute;
  bottom: -46px;
  right: 66px;
  width: 316px;
  height: 316px;
  background: url(../img/star.png) no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.popup__close::before,
.popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: 0.3s;
}

.popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup__close:hover::before,
.popup__close:hover::after {
  background: #f5b400;
}
.main-container__link, .main-container__additional {
    margin-bottom: 2vh;
    display: block;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.3);
    font-family: "Poppins", sans-serif;
    font-size: 1vh;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.03em;
    text-align: left;
}
.main-container__link {
    font-size: 1.3vh;
    text-decoration: underline;
    margin-top: 40px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}