* {
  box-sizing: border-box;
}
.raffle_popup-overlay,
.raffle_popup-overlay.alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 8000;
}
.raffle_popup__modal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  min-height: 690px;
  width: 90%;
  max-height: 90%;
  padding: 40px;
  background: rgba(255, 255, 255, 1);
  overflow-y: auto;
}
.raffle_popup__wrapper-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 200px);
  grid-template-rows: repeat(2, 280px);
  grid-gap: 10px;
  justify-content: center;
}
.raffle_card {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.raffle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}
.raffle_card-img {
  width: 100%;
  padding: 20px;
}
.raffle_card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.raffle_card.flipped .raffle_card-inner {
    transform: rotateY(180deg);
}
.raffle_card-front,
.raffle_card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.raffle_card-front {
    background: rgba(248, 248, 248, 1);
    color: white;
}
.raffle_card-back {
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
  color: rgba(15, 15, 14, 1);
  transform: rotateY(180deg);
}
.raffle_card-back-descr {
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
}
.raffle_popup__text {
  width: 100%;
}
.raffle_popup__btns-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.raffle_popup__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
}
.raffle_popup__descr {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  vertical-align: middle;
  text-transform: uppercase;
  color: rgba(15, 15, 14, 0.6);
}
.raffle_close-btn,
.raffle_close-btn-alert {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  z-index: 99999;
}
.raffle_popup-overlay .btn-primary {
  width: 100%;
}
.raffle_popup-overlay .btn-wight {
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  text-transform: uppercase;
  padding: 12px 20px 6px;
  width: 100%;
  display: flex;
  align-items: center; 
  justify-content: center;
  margin-top: 10px;
  background: transparent;
  color: black;
  border: 1px solid #000;
}

.visible-none {
  display: none;
}
@media (max-width: 1224px) {
  .raffle_popup__modal {
    padding: 15px;
    gap: 20px;
  }
}
@media (max-width: 1024px) {
  .raffle_popup__modal {
    padding: 30px 20px;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
  }
  .raffle_popup__wrapper-cards {
    order: 2;
  }
  .raffle_popup__text {
    order: 1;
  }
}
@media (max-width: 740px) {
  .raffle_popup__wrapper-cards {
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: repeat(2, 240px);
  }
  .raffle_card {
    width: 160px;
    height: 220px;
  }
}
.bonus-basket {
  margin-top: 25px;
  display: flex;
  gap: 35px;
}

.raffle_popup__modal-close {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  width: 660px;
  max-width: 90%;
  min-height: 370px;
  background: rgba(255, 255, 255, 1);
}
.modal-close__title {
  text-transform: uppercase;
  width: 85%;
  text-align: left;
}
.modal-close__descr {
  text-align: left;
}
.modal-close__input-grup {
  display: flex;
  flex-direction: column;
  text-align: left;
}
@media (max-width: 740px) {
  .modal-close__title {
    width: 99%;
  }
}