:root {
  --popup-bg: #272727;
  --popup-white: #ffffff;
  --popup-muted: #b7b7b7;
  --popup-border: rgba(255, 255, 255, 0.06);
  --popup-glass: rgba(255, 255, 255, 0.04);
  --popup-accent: #ffa901;
}

.n-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(57, 8, 2, 0.3);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    margin: auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
}
.n-popup.popup_open{
  opacity: 1;
  visibility: visible;
}

.n-popup__inner{
  margin: 20px;
  width: 677px;
  border: 1px solid var(--popup-border);
  border-radius: 30px;
  padding: 40px;
  background: var(--popup-bg);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px);

}

.n-popup__cross {
  position: absolute;
  top: -17px;
  right: -12px;
  width: 51px;
  height: 51px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.n-popup__close {
  display: block;
  width: 100%;
  height: 100%;
}

.n-popup__form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.n-form__header {
  text-align: center;
  color: var(--popup-white);
}

.n-form__title {
  margin: 0 0 18px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}

.n-form__subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.n-form__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.n-form__fieldset {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.n-form__label {
  margin: 0;
  color: var(--popup-white);
  font-size: 18px;
  line-height: 1.4;
}

.n-form__row {
  display: flex;
  gap: 14px;
}

.n-input {
  width: 100%;
  min-height: 67px;
  border: 1px solid var(--popup-border);
  border-radius: 20px;
  background: var(--popup-glass);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(7px);
  padding: 19px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.n-input--half {
  width: 297px;
}

.n-input--textarea {
  min-height: 133px;
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 20px;
}

.n-input__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.85;
}

.n-input__control {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--popup-white);
  font-size: 18px;
  line-height: 1.4;
  font-family: inherit;
}

.n-input__control::placeholder {
  color: var(--popup-muted);
}

.n-input__control--textarea {
  min-height: 94px;
  resize: none;
}

.n-form__agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.n-checkbox__input {
  display: none;
}

.n-checkbox__text {
  position: relative;
  padding-left: 34px;
  color: var(--popup-white);
  font-size: 18px;
  line-height: 1.4;
  cursor: pointer;
}

.n-checkbox__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--popup-accent);
  border-radius: 4px;
  box-sizing: border-box;
}

.n-checkbox__text::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='24' height='24' rx='6.5' fill='%23FFA901'/%3E%3Cpath d='M7 12.2L10.2 15.5L17.2 8.8' fill='none' stroke='%23161E25' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.n-checkbox__input:checked + .n-checkbox__text::after {
  opacity: 1;
}

.n-checkbox__link {
  color: var(--popup-accent);
}

.n-form__button {
  align-self: center;
}

.n-button {
  min-height: 58px;
  border: 3px solid var(--popup-white);
  border-radius: 30px;
  background: #000;
  color: var(--popup-white);
  padding: 16px 40px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.n-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.n-form__status {
  margin: 0;
  min-height: 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: var(--popup-muted);
}

.n-form__status--success {
  color: #8bd06d;
}

.n-form__status--error {
  color: #ff7b7b;
}

.n-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.n-cta__primary {
  min-height: 69px;
  border: 0;
  border-radius: 35px;
  background: linear-gradient(90deg, #eeb139 0%, #ffa901 100%);
  cursor: pointer;
  padding: 13px 24px 12px;
}

.n-cta__primary-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.n-cta__gift {
  flex-shrink: 0;
}

.n-cta__primary-text {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
}

.n-cta__tags {
  display: flex;
  gap: 12px;
}

.n-cta__tag {
  height: 34px;
  border: 1px solid #2c3239;
  border-radius: 40px;
  padding: 5px 10px 6px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.n-cta__tag--wide {
  min-width: 192px;
}

.n-cta__tag-icon {
  flex-shrink: 0;
}

.n-cta__tag-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 760px) {
  .n-popup {
    width: 100%;
    padding: 24px;
  }

  .n-cta {
    width: 100%;
  }

  .n-popup__cross {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
  }

  .n-form__title {
    font-size: 24px;
  }

  .n-form__subtitle,
  .n-input__control,
  .n-checkbox__text,
  .n-checkbox__link {
    font-size: 16px;
  }

  .n-form__label {
    font-size: 16px;
  }

  .n-form__row {
    flex-direction: column;
  }

  .n-input {
    padding: 12px 16px;
    min-height: 48px;
    gap: 8px;
    border-radius: 12px;
  }

  .n-input--half {
    width: 100%;
  }

  .n-checkbox__text {
    padding-left: 28px;
  }

  .n-checkbox__text::before,
  .n-checkbox__text::after {
    width: 20px;
    height: 20px;
  }

  .n-form__button {
    font-size: 16px;
  }

  .n-form__status {
    font-size: 14px;
  }

  /* .n-cta__primary {
    height: 52px;
    padding: 10px 16px;
  } */

  .n-cta__primary-text {
    /* font-size: 14px; */
    text-align: center;
  }

  .n-cta__tags {
    flex-wrap: wrap;
    gap: 8px;
  }

  .n-cta__tag,
  .n-cta__tag--wide {
    min-width: auto;
  }
}



.offer-img--lottie {
  top: 320px;
}
.offer-links--start{
  align-items: flex-start;
}

.offer-links--start .btn-general-style{
  flex-shrink: 0;
}