/* Normalize */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: normal;
}

html, button, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, hr, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, select, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
}

html {
  color: #FFF;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  color: #FFF;
  text-decoration: none;
}

/* Стилізація скроллбара у браузерах на базі WebKit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #ffd23f;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FFC700;
}

::-webkit-scrollbar-track {
  background: #9919D9;
  border-radius: 10px;
}

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

/* Main styles */

.body {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}


.header {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding-left: 13rem;
  padding-top: 1.4rem;
  padding-bottom: 0; /* 3.75rem; */
  padding-right: 2rem;
  background: linear-gradient(180deg, #360C57 0%, #B71DFF 100%);
  position: relative;
}

.header__logowrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;

}

.header__mobiletext {
  display: none;
  color: rgba(255, 255, 255, 0.30);
  font-size: 0.6rem;
  margin-bottom: 1.1rem;
}

.header__text {
  font-family: "Montserrat Alternates";
  font-size: 2.08rem;
  font-style: normal;
  font-weight: 500;
  z-index: 4;
}

.header__text-win {
  color: #FFC700;
  font-size: 3.33rem;
  font-weight: 900;
  z-index: 2;
}

.header__boxwrapper {
  display: flex;
  z-index: 3;
}

.header__box {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.85rem 3.67rem;
  border-radius: 0.41rem;
  border: 2px solid #FF008C;
  background: rgba(31, 31, 31, 0.20);
  backdrop-filter: blur(10px) brightness(100%);
  -webkit-backdrop-filter: blur(10px) brightness(100%);
  font-size: 1rem;
  z-index: 2;
  position: relative;
}

.header__box-button {
  position: absolute;
  border: 0;
  bottom: -2.25rem;
  right: 1.3rem;
  width: 4.5rem;
  height: 4.5rem;
  z-index: 3;
  transition: transform 0.3s ease;
}

.header__box-button:hover {
  transform: scale(1.1);
}

.header__box-strong {
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 2;
}

.header__box-win {
  color: #FFC700;
  font-weight: 900;
}

.header_box-woman {
  display: flex;
  width: 25rem;
  height: 25rem;
  flex-shrink: 2;
  z-index: 3;
  margin-top: -8rem;
}

.header__money-left {
  position: absolute;
  left: 0;
  bottom: -3rem;
  width: 19rem;
  height: 21.5rem;
}

.header__money-right {
  position: absolute;
  right: 0;
  top: 0.5rem;
  z-index: 1;
  width: 16.6rem;
  height: 28rem;
}

.header__money-right--mobile {
  display: none;
}

.logo {
  width: 9.16rem;
  height: 1.65rem;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.main__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.83rem;
  padding: 4.25rem 6.92rem;
  border-radius: 0.42rem;
  background: #9919D9;
  position: relative;
}

.main__block-header {
  color: #FFF;
  font-family: Roboto;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.main__block-header-win {
  color: #FFC700;
  text-align: center;
  font-family: Roboto;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.main__block-reg {
  color: #FFF;
  text-align: center;
  font-family: "Montserrat Alternates";
  font-size: 2.1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.5rem; /* 120% */
}

.main__image-left {
  position: absolute;
  top: 0;
  left: -40%;
  width: 20.3rem;
  height: 20.3rem;
  overflow: hidden;
}

.main__image-right {
  position: absolute;
  bottom: -8%;
  right: -24%;
  width: 11.64rem;
  height: 21.2rem;
  overflow: hidden;
}

/* Form styles */

.przm-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  margin-top: 1rem;
  font-size: 0.7rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.przm-input {
  border-radius: 0.20833rem;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.20);
  padding: 0.7rem 0.6rem;
  color: #FFF;
  outline: none;
}

.przm-input:hover {
  border: 1px solid #1EB505;
}

.przm-input::-webkit-outer-spin-button,
.przm-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.btn.btn-success.text-uppercase.btn-action.przm-btn-reg {
  padding: 0.7rem 1.3rem;
  width: 100%;
  color: #FFF;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3.5rem;
  margin-top: 1rem;
  background: #1EB505;
  border: 0;
  outline: 0;
  cursor: pointer;
}

input.btn.btn-success.text-uppercase.btn-action.przm-btn-reg:hover {
  background: #34BC1D;
}

.przm-input-holder::placeholder {
  color: #FFF;
  opacity: 0.5;
}

.przm-input-holder.error::placeholder {
  color: #AF0000;
  opacity: 1;
}

.przm-input-holder.error {
  border: 1px solid #AF0000 !important;
  animation: input_shake 0.3s 2;
}

@keyframes input_shake {
  0% {
    transform: translateX(0px);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0px);
  }
}

.footer {
  text-align: center;
  font-size: 0.75rem;
  padding: 2.8rem 0.6rem;
  background:#9919D9;
}


/* Popup styles  */

.custommodal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px) brightness(60%);
  -webkit-backdrop-filter: blur(10px) brightness(60%);
  z-index: 10;
}

.custommodal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.5rem;
  background: #B71DFF bottom / contain no-repeat url('https://cloud.devtome.top/domains/winwallet.in.ua/home/money-pack.png');
  /* background: linear-gradient(180deg, #360C57 0%, #B71DFF 100%); */
  min-width: 30rem;
  min-height: 30rem;
  /* max-width: 500px; */
  z-index: 10;
  text-align: center;
}

.custommodal__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 3rem;
}

.custommodal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* Media queries */

@media (max-width: 1770px) {
  .header_box-woman {
    margin-top: 0;
  }
}

@media (max-width: 1400px) {
  html {
    font-size: 22px;
  }

  .header {
    padding-left: 10rem;
  }

  .main__image-right {
    bottom: -10%;
    right: -15%;
    width: 10.47rem;
    height: 19rem;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 20px;
  }

  .header {
    padding-left: 5rem;
  }

  .header__box {
    padding: 1.85rem 2.5rem;
  }

  .header_box-woman {
    margin-top: 0;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 18px;
  }

  .header_box-woman {
    width: 20rem;
    height: 20rem;
  }

  .main__image-right {
    bottom: -8%;
    right: -10%;
    width: 8.73rem;
    height: 15.9rem;
  }
}

@media (max-width: 830px) {
  html {
    font-size: 16px;
  }

  .header__money-right {
    top: 5rem;
    width: 13.4rem;
    height: 19.6rem;
  }

  .header__box-button {
    display: none;
  }

  .header_box-woman {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25rem;
    height: 25rem;
    z-index: 3;
  }

  .header {
    padding-bottom: 23rem;
  }

  .main__block {
    padding: 4rem 4rem;
  }

  .main__image-left {
    width: 15rem;
    height: 15rem;
  }

  .main__image-right {
    bottom: -22%;
    right: 4%;
    transform: rotate(60deg);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

  .header {
    padding: 0.54rem 0.54rem 13rem;
    text-align: center;
    align-items: center;
  }

  .header__box {
    padding: 1.85rem 2.2rem; 
  }

  .header_box-woman {
    right: 0;
    width: 15rem;
    height: 15rem;
    overflow: hidden;
  }

  .header_mobiletext {
    display: block;
  }

  .header__money-left {
    display: none;
  }

  .header__money-right {
    position: absolute;
    left: 0;
    bottom: -2rem;
    top: auto;
    z-index: 1;
    width: 8.3rem;
    height: 14rem;
  }

  .header__money-right--mobile {
    display: block;
    position: absolute;
    right: 0;
    top: 24rem;
    width: 14.8rem;
    height: 13.3rem;
  }

  .main__block {
    padding: 3rem 1rem;
    width: 100%;
  }

  .main__image-left {
    top: -5%;
    left: -25%;
    width: 10rem;
    height: 10rem;
  }

  .main__image-right {
    bottom: -20%;
    right: 16%;
    width: 7.86rem;
    height: 14.31rem;
  }

  .custommodal__container {
    width: 100%;
    height: 100%;
  }
}