.modal-event {
  --font-family: Wak, Noto Sans, Arial, sans-serif;;
  --color-title: #411A08;
  --color-text: #FDE310;
  --color-button: #FFE9D4;
  --background: #582D97;
  --background-shadow: #071B3F;
  --background-button-hover: rgba(0, 254, 38, 0.40);
  --shadow-button-hover: 0px -2px 2px 0px #07D926 inset, 2px 2px 4px 0px #03DC24 inset;
  --image-button-close: url(Button-close.png);
  --image-button-play: url(Button-background.png);
  --image-title-background: url(Lto.png);
}

.modal-event__title {
  background-image: var(--image-title-background);
  background-repeat: no-repeat;
  background-size: contain;
}

.modal-event__title span {
  font-family:var(--font-family);
  font-weight: 500;
  transform: translateY(2px);
}

@media screen and (min-width: 1240px) {
  .modal-event__title span {
    transform: translateY(4px);
  }
}

@media screen and (min-width: 1440px) {
  .modal-event__title span {
    font-size: 36px;
    line-height: 40px;
  }
}

.modal-event__btn--close:before {
  background-image: var(--image-button-close);
}

.modal-event__btn--play {
  padding: 6px;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.64);
  background: none;
}

@media screen and (min-width: 905px) {
  .modal-event__btn--play {
    padding: 10px;
    font-size: 28px;
    line-height: 34px;
  }
}

@media screen and (min-width: 1240px) {
  .modal-event__btn--play {
    padding: 14px;
    font-size: 36px;
    line-height: 28px;
  }
}

@media screen and (min-width: 1440px) {
  .modal-event__btn--play {
    padding: 16px;
  }
}

.modal-event__btn--play:before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url(../img/drawing/btn__play-border.png);
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 1;
  box-shadow: none;
  filter: none;
}

@media screen and (min-width: 1240px) {
  .modal-event__btn--play:before {

  }
}

@media screen and (min-width: 1440px) {
  .modal-event__btn--play:before {

  }
}

.modal-event__btn__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-image: url(../img/drawing/btn__play-background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
}

.modal-event__btn--play .modal-event__btn__wrapper:after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -200%;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  -webkit-box-shadow: 0 50px 40px -20px rgba(0, 0, 0, .5);
  box-shadow: 0 50px 40px -20px rgba(0, 0, 0, .5);
  -webkit-transition: .5s;
  transition: .5s;
}

.modal-event__btn--play:hover .modal-event__btn__wrapper:after,
.modal-event__btn--play:active .modal-event__btn__wrapper:after {
  top: -100%
}

.modal-event__btn--play:hover .modal-event__btn__wrapper:after {
  -webkit-box-shadow: 0 50px 40px 0 rgba(252, 255, 124, .5);
  box-shadow: 0 50px 40px 0 rgba(252, 255, 124, .5);
}

@media screen and (min-width: 905px) {
  .modal-event__btn--play:hover .modal-event__btn__wrapper:after {
    -webkit-box-shadow: 0 50px 40px -10px rgba(252, 255, 124, .5);
    box-shadow: 0 50px 40px -10px rgba(252, 255, 124, .5);
  }
}

@media screen and (min-width: 1240px) {
  .modal-event__btn--play:hover .modal-event__btn__wrapper:after {
    -webkit-box-shadow: 0 50px 40px -20px rgba(252, 255, 124, .5);
    box-shadow: 0 50px 40px -20px rgba(252, 255, 124, .5);
  }
}

.modal-event__btn--play:active .modal-event__btn__wrapper:after {
  -webkit-box-shadow: 0 50px 40px 0 rgba(0, 0, 0, .5);
  box-shadow: 0 50px 40px 0 rgba(0, 0, 0, .5);
}

@media screen and (min-width: 905px) {
  .modal-event__btn--play:active .modal-event__btn__wrapper:after {
    -webkit-box-shadow: 0 50px 40px -10px rgba(0, 0, 0, .5);
    box-shadow: 0 50px 40px -10px rgba(0, 0, 0, .5);
  }
}

@media screen and (min-width: 1240px) {
  .modal-event__btn--play:active .modal-event__btn__wrapper:after {
    -webkit-box-shadow: 0 50px 40px -20px rgba(0, 0, 0, .5);
    box-shadow: 0 50px 40px -20px rgba(0, 0, 0, .5);
  }
}

.modal-event__foot:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/halloween-2025/Web-4.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  pointer-events: none;
  border-radius: 40px 40px 0 0;
}

@media screen and (min-width: 600px) {
  .modal-event__foot:before {
    border-radius: 64px 0 0 0;
  }
}

@media screen and (min-width: 905px) {
  .modal-event__foot:before {
    border-radius: 100px 0 0 0;
  }
}
