.casino-wrapper {
  display: -ms-grid;
  display: grid;
  grid-gap: 40px;
}

.casino__image {
  position: relative;
  display: block;
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.casino__buttons {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.casino__button {
  transition: none;
}

.casino__button:hover,
.casino__button:active,
.casino__button:focus {
  background-color: #192442;
  border-color: #192442;
  color: #fff;
}

.casino__button--icon {
  width: 48px;
  height: 48px;
  padding: 5px;
}

.casino__modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -ms-grid;
  display: grid;
  place-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.casino__modal.is-open {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.casino__modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.9);
}

.casino__modal-inner {
  padding: 20px;
}

.casino__modal-image {
  position: relative;
  max-width: calc(100% - 136px);
  margin: 0 auto;
}

.casino__modal-image > img {
  width: 1400px;
}

.casino__hotspot {
  position: absolute;
}

.casino__hotspot-circle {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #BF1E2E;
  border: 3px solid #fff;
  border-radius: 50%;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.casino__hotspot-circle:hover,
.casino__hotspot-circle:active,
.casino__hotspot-circle:focus {
  background-color: #8C0000;
  border-color: #fff;
  cursor: pointer;
}

.casino__hotspot-circle--first {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
}

.casino__hotspot-popover {
  display: none;
  position: fixed;
  z-index: 2;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: calc(100% - 40px);
  padding: 20px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 16px;
  -webkit-box-shadow: 0px 0px 49.9931px rgba(152, 162, 179, 0.16), 0px 1.99972px 19.9972px rgba(152, 162, 179, 0.08);
  box-shadow: 0px 0px 49.9931px rgba(152, 162, 179, 0.16), 0px 1.99972px 19.9972px rgba(152, 162, 179, 0.08);
}

.casino__hotspot-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #5691ff;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.6;
}

.casino__hotspot-close:hover,
.casino__hotspot-close:active,
.casino__hotspot-close:focus {
  color: #223055;
}

.casino__hotspot.is-open .casino__hotspot-popover {
  display: block;
}

.casino__hotspot-image {
  height: 40px;
  margin-bottom: 15px;
}

.casino__hotspot-title {
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.casino__hotspot-description {
  margin-bottom: 10px;
  font-size: 14px;
}

.casino__hotspot-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.casino__hotspot-steps-nav {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-top: 20px;
  color: #192442;
  font-size: 14px;
}

.casino__hotspot-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-self: flex-end;
  gap: 10px;
}

.casino__hotspot-caption {
  position: relative;
  margin-top: 15px;
  color: #fff;
  text-align: center;
}

.casino__nav-button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  padding: 5px;
  transform: translateY(-50%);
  transition: none;
}

.casino__nav-button:hover,
.casino__nav-button:active,
.casino__nav-button:focus {
  background-color: #192442;
  border-color: #192442;
  color: #fff;
}

.casino__close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  padding: 5px;
  transition: none;
}

.casino__close-button:hover,
.casino__close-button:active,
.casino__close-button:focus {
  background-color: #192442;
  border-color: #192442;
  color: #fff;
}

.casino__nav-button--previous {
  left: 20px;
}

.casino__nav-button--next {
  right: 20px;
}

@media(min-width: 767px) {

  .interactive-graphic .saas-hero-8 .banner-content {
    max-width: 600px;
  }

  .interactive-graphic .saas-hero-8 {
    padding: 80px 0;
  }

  .casino-wrapper {
    grid-template-columns: 1fr 1fr;
    grid-gap: 80px;
  }

  .casino {
    position: relative;
    z-index: 3;
  }

  .casino__modal-inner {
    max-width: calc(100% - 300px);
    margin: 0 auto;
  }

  .casino__hotspot-popover {
    position: absolute;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width: none;
  }

  .casino__hotspot-popover--top {
    top: 45px;
    bottom: auto;
  }

  .casino__hotspot-popover--bottom {
    top: auto;
    bottom: 45px;
  }

  .casino__hotspot-popover:before {
    position: absolute;
    content: '';
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .casino__hotspot-popover--top:before {
    top: -10px;
    border-bottom: 10px solid rgba(255,255,255,0.9);
  }

  .casino__hotspot-popover--bottom:before {
    bottom: -10px;
    border-top: 10px solid rgba(255,255,255,0.9);
  }

}

.body-wrapper.modal-open header.header {
  z-index: 3 !important;
  transition: none;
}

