@font-face {
  font-family: 'Gilroy'; /* Имя шрифта, которым будете пользоваться */
  src: url('./Gilroy/Gilroy-Regular.woff2') format('woff2'); /* Подключение woff2 */
  font-weight: 400; /* Толщина шрифта */
  font-style: normal; /* Стиль шрифта */
}
@font-face {
  font-family: 'Gilroy'; /* Имя шрифта, которым будете пользоваться */
  src: url('./Gilroy/Gilroy-Bold.woff2') format('woff2'); /* Подключение woff2 */
  font-weight: 700; /* Толщина шрифта */
  font-style: normal; /* Стиль шрифта */
}
@font-face {
  font-family: 'Gilroy'; /* Имя шрифта, которым будете пользоваться */
  src: url('./Gilroy/Gilroy-Heavy.woff2') format('woff2'); /* Подключение woff2 */
  font-weight: 900; /* Толщина шрифта */
  font-style: normal; /* Стиль шрифта */
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: "Gilroy", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #828282;
  background-color: #000;
  height: 100%;
}
.wrapper {
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  display: flex;
  justify-content: center;
}
.update-page {
  padding: 15px 0 96px 0;
  text-align: center;
}
.logo{
  width: 116px;
  @media (min-width: 768px) {
    width: 228px;
  }
}
.alert {
  display: flex; /* Меняем на flex, так как нужно для анимации */
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: #01B15C;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%); /* Начальное положение - скрыт сверху */
  opacity: 0; /* Невидимость изначально */
  transition: transform 0.5s ease, opacity 0.5s ease; /* Плавные переходы */
  padding: 8px;
  width: 288px;
  height: 57px;
  z-index: 9999; /* Убедитесь, что оно поверх остальных элементов */

  @media (min-width: 768px) {
    padding: 8px 16px;
    gap: 8px;
    width: 432px;
    top: 104px;
  }
}

.alert.show {
  transform: translate(-50%, 0); /* Становится видимым - выезжает вниз */
  opacity: 1; /* Делается полностью видимым */
}

.alert__img{
  width: 20px;
  height: 20px;
  margin: 6px;
  @media (min-width: 768px) {
    width: 24px;
    height: 24px;
    margin: 0;
  }
}
.alert__text{
  width: 236px;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  @media (min-width: 768px) {
    font-size: 16px;
    line-height: 24px;
    width: 368px;
  }
}
.video{
  max-width: 100vw;
}
.description {
  position: relative;
}
.description__image {
  position: absolute;
  z-index: 0;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 676px;
  height: 316px;
}
.description__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title {
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  font-weight: 700;
  @media (min-width: 768px) {
    font-size: 20px;
    line-height: 24px;
    margin: 0 auto;
    width: 80%;
  }
  @media (min-width: 1440px) {
    width: auto;
  }
}
.main__text{
  margin: 8px 0;
  font-size: 12px;
  line-height: 16px;
  width: 300px;
  @media (min-width: 768px) {
    margin: 12px 0;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }
}
.timer__wrapper{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  border-radius: 8px;
  width: 125px;
  padding: 8px;
  border: 1px solid #242424;
  background: linear-gradient(180deg, #272727 0%, #151515 28.53%, #000000 98.5%);
}
.timer__element{
  width: 31px;
  text-align: center;
}
.timer__element-top{
  color: #767676;
  font-size: 12px;
  line-height: 18px ;
}
.timer__element-bottom{
  margin-top: 4px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: linear-gradient(180deg, #3B4658 0%, #151515 52%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 31px;
  color: #ffffff;
  font-size: 18px;
  line-height: 27;
  font-weight: 700;
}
.bottom__wrapper{
  margin: 0 15px;
  border-radius: 16px;
  border: 1px solid #242424;
  margin-top: 8px;
  padding: 8px;
  overflow: hidden;
  @media (min-width: 768px) {
    max-width: 80%;
    margin: 16px auto 0 auto;
  }
  @media (min-width: 1440px) {
    display: flex;
    padding: 16px;
    align-items: center;
    max-width: 100%;
    width: 1062px;
  }
}
.bonus__wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  @media (min-width: 1440px) {
    margin-bottom: 0;
  }
}
.bonus__image-wrapper {
  position: relative;
  margin-right: 16px;
}
.bonus__blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.bonus__blur:nth-of-type(1) {
  z-index: 0;
  width: 66px;
  height: 62px;
}
.bonus__blur:nth-of-type(2) {
  z-index: 1;
  width: 82px;
  height: 80px;
}
.bonus__blur:nth-of-type(3) {
  z-index: 2;
  width: 114px;
  height: 80px;
}
.bonus__image{
  position: relative;
  z-index: 3;
  width: 40px;
  height: 40px;
}
.bonus__text{
  text-align: left;
  color: #767676;
  font-size: 12px;
  line-height: 16px;
  @media (min-width: 1440px) {
    width: 500px;
  }
}
.email__wrapper{
  z-index: 1;
  @media (min-width: 1440px) {
    align-items: center;
    display: flex;
    width: 100%;
    gap: 16px;
  }
}
.email__input{
  width: 100%;
  text-align: center;
  color: #767676;
  background: none;
  font-size: 14px;
  line-height: 21px;
  border: 1px solid #333333;
  padding: 12px 0;
  border-radius: 4px;
  @media (min-width: 1440px) {
    width: 221px;
  }
}
.email__input:focus{
  outline: none;
  border-color: #fcc200;
}
.email__btn{
  background-color: #5c5c5c;
  border: none;
  width: 100%;
  padding: 10px 0;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  border-radius: 12px;
  @media (min-width: 1440px) {
    margin-top: 0;
    height: 47px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  &:hover{
    background-color: #33333380;
  }
}
.error-wrapper{
  display: none;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #E84C4C;
  line-height: 18px;
  margin-bottom: 4px;
  @media (min-width: 1440px) {
    position: absolute;
  }
}
.footer{
  border-top: 1px solid #242424;
  color: white;
  background-color: #050508;
  width: 100%;
  height: 64px;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 4;
}
.footer__link{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
}
.footer__image {
  width: 65px;
  height: 65px;
}
.overlay{
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 9;
  background-color: rgba(5, 5, 8, 0.9);
  top: 0;
  left: 0;
}
.input-error{
border: 1px solid #E84C4C;
}
.modal{
  display: none;
  background-color: #050508;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  padding: 8px 16px;
  @media (min-width: 768px) {
    width: 736px;
    height: 650px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    border: 1px solid #242424;
  }
}
.modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.modal__header-left{
  display: flex;
  align-items: center;
}
.modal__header-img{
  width: 48px;
  height: 48px;
  margin-right: 8px;
}
.modal__header-text{
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}
.modal__header-close{
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 42px;
  background:#333;
}
.modal-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #242424;
  background:rgba(51, 51, 51, 0.70);
}
.modal-btn__left{
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-btn__title{
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 4px;
}
.modal-btn__text{
  color: #A1A1A1;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
}
.modal-btn__arrow{
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 42px;
  background: #333;
  width: 32px;
  height: 32px;
}
