.popup {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: none;
  }
  
  .popup::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    opacity: .8;
  }
  
  .popup__inner {
    position: relative;
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
    height: auto;
    background: #fff;
    color: #222;
    padding: 25px;
  }
  
  .popup__close {
    position: -webkit-sticky;
    position: sticky;
    z-index: 10;
    top: 0;
    left: 100%;
  }
  
  .popup__close:hover::before {
    background: -webkit-gradient(linear, left top, right top, from(#283c9d), to(#5c76c4));
    background: linear-gradient(90deg, #283c9d, #5c76c4);
  }
  
  .popup__close::before {
    font-family: "msi-icons" !important;
    content: "\ea02";
    color: #fff;
    font-size: 20px;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: linear-gradient(45deg, #283c9d, #5c76c4);
    cursor: pointer;
  }
  
  @media (min-width: 996px) {
    .popup__close::before {
      width: 50px;
      height: 50px;
      font-size: 30px;
    }
  }
  
  .popup__header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: url("../images/kv-bg.jpg") center right no-repeat ;
    background-size: cover;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    color: #222;
    font-weight: bold;
  }
  
  @media (min-width: 996px) {
    .popup__header {
      font-size: 30px;
    }
  }
  
  .popup__body {
    height: 85vh;
    overflow-y: auto;
    padding: 0 25px;
  }
  
  .popup__body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  .popup__body::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  .popup__body::-webkit-scrollbar-thumb {
    background: -webkit-gradient(linear, left top, left bottom, from(#737576), color-stop(#bdbfc3), to(#96999c));
    background: linear-gradient(to bottom, #737576, #bdbfc3, #96999c);
    border-radius: 10px;
  }
  
  @media (min-width: 996px) {
    .popup__body {
      padding: 50px;
    }
  }
.terms {
  font-size: 17px;
  line-height: 1.8;
  font-weight: normal;
}

.terms-btn {
  position: relative;
  z-index: 5;
  text-align: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.terms-btn button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #283c9d, #5c76c4);
  font-size: 20px;
  border: 2px solid #fed102;
  border-radius: 50px;
  color: #fed102;
  -webkit-transition: .5s all ease-in-out;
  transition: .5s all ease-in-out;
}

.terms-btn button:hover {
  -webkit-transform: scale(1.05) translateY(3px);
          transform: scale(1.05) translateY(3px);
}

.terms-title {
  font-weight: bold;
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
  display: inline-block;
  border: #283c9d 1px solid;
  padding: 5px 10px;
  background: linear-gradient(45deg, #283c9d, #5c76c4);
  background-clip: text;
  color: transparent;
}

.terms-title:first-child {
  margin-top: 0;
}

.terms ul {
  margin-left: 20px;
}

.terms ul li {
  list-style: disc;
  padding: 5px 0;
}

.terms ol {
  margin-left: 25px;
}

.terms ol li {
  list-style: lower-roman;
}

.terms h3 {
  font-size: 17px;
  padding-top: 10px;
}

.terms h4 {
  padding: 15px 0;
}

.terms a {
  color: #283c9d;
  text-decoration: underline;
}

.terms a:hover {
  text-decoration: none;
}