.terms {
  width: 100%;
  height: 100%;
  background: rgba(26, 20, 16, 0.88);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.terms__wrapper {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 24px;
}
.terms__wrapper .tc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d4af37;
  padding: 12px 28px;
  margin: 5px;
  background: transparent;
  border: 2px solid #d4af37;
  border-radius: 50px;
  text-align: center;
  font-family: var(--MSIBodyFont);
  font-size: 16px;
  width: auto;
  font-weight: 700;
  margin-top: 16px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.terms__wrapper .tc__btn:hover {
  cursor: pointer;
  text-decoration: none;
  background: #d4af37;
  color: #1a1410;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
}
.terms__wrapper .apply__cta-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.terms__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}
.terms__heading {
  font-family: var(--MSIBodyFont);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(90deg, rgb(88, 69, 62) 0%, rgb(45, 35, 33) 100%);
  margin-bottom: 0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: sticky;
  padding: 16px 48px 16px 24px;
  top: 0;
  color: #d4af37;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  z-index: 2;
}
.terms__area {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #3a2f2a 0%, #2d2321 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  width: 90%;
  max-width: 1280px;
  margin: auto;
  height: auto;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.terms__area::-webkit-scrollbar {
  width: 6px;
  background-color: #2d2321;
}
.terms__area::-webkit-scrollbar-thumb {
  background-color: rgba(212, 175, 55, 0.45);
  border-radius: 3px;
}
.terms__area::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.2);
}
.terms__area li {
  margin-bottom: 15px;
}
.terms__area ul {
  list-style: disc;
  margin: 12px 0 12px 1.2em;
}
.terms__area ul li {
  list-style: decimal;
  margin: 8px 0;
}
.terms__area ul li ul li{
  list-style: disc;
  margin: 8px 0;
}
.terms__area ul ul {
  list-style: circle;
  margin: 8px 0 8px 1.2em;
}
.terms__area ol {
  list-style: decimal;
  margin: 12px 0 12px 1.2em;
}
.terms__area ol li {
  list-style: decimal;
  margin: 8px 0;
}
.terms__content {
  text-align: left;
  font-family: var(--MSIBodyFont);
  font-size: clamp(13px, 3.2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  padding: 20px 25px 25px;
}
@media (min-width: 996px) {
  .terms__content {
    padding: 30px 50px 40px;
  }
}
.terms__title {
  margin: 24px 0 12px;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: #d4af37;
}
.terms__title span {
  text-decoration: none;
}
.terms__area-line {
  width: 100%;
  height: 1px;
  margin: 10px auto 40px auto;
  position: relative;
  background: rgba(212, 175, 55, 0.25);
  z-index: 5;
}
.terms__area-subtitle {
  font-size: var(--title-lg);
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
  color: #d4af37;
}
.terms__dashLi li {
  list-style: disc !important;
  margin: 20px 0 10px 18px;
}
.terms__numLi li {
  list-style: lower-alpha !important;
  margin: 20px 0 10px 18px;
}
.terms a {
  color: #d4af37;
  text-decoration: underline;
}
.terms a:hover {
  cursor: pointer;
  color: #f9a825;
}
.terms p {
  line-height: 1.5;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
}
.terms p span {
  text-decoration: underline;
}
.terms strong,
.terms b {
  color: #fff;
}

.popup-close {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: absolute;
  top: 16px;
  right: 16px;
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  border-radius: 100%;
  background: transparent;
  border: solid 2px #d4af37;
}
.popup-close::after, .popup-close::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  height: 2px;
  width: 10px;
  border-radius: 30px;
  background: #d4af37;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.popup-close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media (min-width: 996px) {
  .popup-close {
    width: 36px;
    height: 36px;
    top: 36px;
    right: 36px;
    border-width: 2px;
  }
  .popup-close::after, .popup-close::before {
    top: 14px;
    left: 6px;
    height: 2px;
    width: 20px;
  }
}
.popup-close:hover {
  -webkit-transform: translate(50%, -50%) rotate(180deg);
  transform: translate(50%, -50%) rotate(180deg);
  background: #d4af37;
  text-decoration: none;
  border-color: #d4af37;
}
.popup-close:hover::after, .popup-close:hover::before {
  background: #1a1410;
}