html, body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

button, input {
  font-family: 'Poppins', sans-serif;
}

.promo-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(7px);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}
.promo-bg.open {
  display: flex;
}

.promo-modal {
  position: relative;
  text-align: center;
  background: linear-gradient(120deg, #333333 -20%, rgba(0, 0, 0, 0.5) 132%);
  border-radius: 10px;
}
.promo-modal::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: url('../Images/promo/angle-border.png');
  background-size: 100% 100%;
}
.promo-modal::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: url('../Images/promo/angle-border.png');
  background-size: 100% 100%;
  transform: rotate(180deg);
}
[class*="is-mobile"] .promo-modal {
  width: 315px;
}
[class*="is-web"] .promo-modal {
  width: 441px;
}

.gift-icons > img {
  position: absolute;
}

.icon-top {
  width: 22px;
  transform: rotate(30deg);
}
[class*="is-mobile"] .icon-top {
  top: 34px;
  right: 10px;
}
[class*="is-web"] .icon-top {
  top: 20px;
  right: 34px;
}

.icon-bottom {
  left: 20px;
  bottom: 33px;
}
[class*="is-mobile"] .icon-bottom {
  left: 10px;
  bottom: 13px;
}
[class*="is-web"] .icon-bottom {
  left: 20px;
  bottom: 33px;
}

.modal-title {
  color: #22d08e;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}
[class*="is-mobile"] .modal-title {
  margin: 15px auto 30px;
}
[class*="is-web"] .modal-title {
  margin: 20px auto 30px;
}
.success-content .modal-title {
  text-shadow: 0px 0px 4px rgba(125, 255, 206, 0.3);
}

.modal-description {
  font-weight: 400;
  padding: 0 40px
}

[class*="is-mobile"] .modal-description {
  font-size: 12px;
  line-height: 18px;
}
[class*="is-web"] .modal-description {
  font-size: 14px;
  line-height: 21px;
}
.success-content .modal-description {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 33px;
}

.input-wr {
  position: relative;
}
[class*="is-mobile"] .input-wr {
  width: 295px;
  margin: 10px auto 30px;
}
[class*="is-web"] .input-wr {
  width: 400px;
  margin: 15px auto 30px;
}

.promocode-input {
  width: 100%;
  height: 30px;
  padding: 8px;
  outline: none;
  color: #fff;
  font-size: 13px;
  border-radius: 5px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.promocode-input.error {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(236, 13, 13, 0.15);
}

.error-message {
  margin: 0;
  color: #ff5454;
  font-size: 11px;
  line-height: 15px;
  margin: 15px 5px 0;
  text-align: center;
}

.claim-button {
  display: block;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  background: linear-gradient(180deg, #0e9d66 -12.5%, #00311f 120%);
  transition: opacity 120ms ease-in-out;
}
[class*="is-mobile"] .claim-button {
  width: 137px;
  height: 42px;
  font-size: 12px;
  margin: 0 auto 15px;
}
[class*="is-web"] .claim-button {
  width: 169px;
  height: 48px;
  font-size: 16px;
  margin: 0 auto 30px;
}
.claim-button.loading, .claim-button:disabled {
  pointer-events: none;
  opacity: 0.5;
}
.claim-button:hover {
  opacity: 0.7;
}
.claim-button .claim {
  display: block;
}
.claim-button .loading-spinner {
  display: none;
  margin: 0 auto;
  animation: rotate-spinner 1s ease-in-out infinite;
}
.claim-button.loading .claim {
  display: none;
}
.claim-button.loading .loading-spinner {
  display: block;
}

.close-button {
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  position: absolute;
  background: #000;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid #2a292a;
  cursor: pointer;
  transform: translate(50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.promo-opener {
  display: none;
  position: fixed;
  right: 0;
  z-index: 800;
  cursor: pointer;
  transform: translateX(3px);
  transition: transform 240ms ease-in-out;
}
.promo-opener.show {
  display: block;
}
[class*="is-mobile"] .promo-opener {
  top: initial;
  bottom: 14%;
  width: 32px;
}
[class*="is-web"] .promo-opener {
  top: 260px;
  width: 60px;
}
.promo-opener:hover {
  transform: translateX(0);
}

.success-content {
  display: none;
}
.success .success-content {
  display: block;
}
.success .promo-form {
  display: none;
}

@keyframes rotate-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}