.hero-form {
    position: relative;
    z-index: 1; /* Слой формы */
    width: 100%;
    height: auto;
    padding: 5px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.hero-registrationForm {
z-index: 10;
}

.form-header-hero {
    font-family: "Bebas Neue", system-ui, sans-serif;
    font-size: 32px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 21.09px;
    color: #ffffff;
    text-align: center;
}

.close-button-hero {
    position: absolute;
    top: 17px;
    right: 17px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-button-hero img {
    width: 24px;
    height: 24px;
    display: block;
}

.input-containers-hero {
    position: relative;
    margin-bottom: 15px;
}

.input-field-hero {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 70px 12px 12px;
    font-size: 16px;
    height: 52px;
    color: #020c22;
    width: 100%;
    box-sizing: border-box;
}

.input-field-hero::placeholder {
    color: #79849B;
}

.valid-icon-hero {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.password-field-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.password-icons-hero {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 10px;
    align-items: center;
}

.icon-hero {
    cursor: pointer;
}

.sign-up-button-hero{
  width: 100%;
  height: 70px;
  border-radius: 12px;
  padding: 0 16px;
  border: 3px solid #F5F5F5;

  background: transparent;
  color: #fff;

  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 90%;
  text-transform: uppercase;

  margin-top: 20px;
  cursor: not-allowed;
  position: relative;

  box-shadow:
    /* INNER GLOW */
    inset 0 0 5px rgba(255,255,255,0.35),
    inset 0 0 18px rgba(255,255,255,0.85),

    /* BORDER LIGHT */
    0 0 0 1px rgba(255,255,255,0.25),

    /* OUTER GLOW */
    0 0 22px rgba(255,255,255,0.85);

  transition: all .15s ease;
}


/* когда кнопка включена */
.sign-up-button-hero:enabled{
  background: #F5F5F5;     /* белая */
  color: #FF7C1E;          /* оранжевый текст */
  cursor: pointer;

  /* свечение остаётся, но можно чуть мягче */
  box-shadow:
    0 0 18px rgba(255,255,255,0.55);
}

/* hover только для enabled */
.sign-up-button-hero:enabled:hover{
  background: #ffffff;
  box-shadow:
    0 0 22px rgba(255,255,255,0.65);
}

/* нажатие */
.sign-up-button-hero:enabled:active{
  background: #d2d2d2; /* как ты написал */
  transform: translateY(1px);

  /* внутренняя тень + чуть меньше внешнего свечения */
  box-shadow:
    inset 0 3px 10px rgba(0,0,0,0.20),
    0 0 14px rgba(255,255,255,0.45);
}

.terms-text-hero {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #ffffff;
    text-align: center;
    margin-top: 8px;
}

.rules-link-hero {
    color: #252525;
    text-decoration: none;
}

/* Список требований к паролю */
.password-checklist-hero {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #2d2d2d;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.check-item-hero {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-hero {
    width: 16px;
    height: 16px;
}

/* Промокод */
.promo-code-section-hero {
    font-size: 14px;
    color: #79849B;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.checkbox-container-hero {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    color: #ffffff;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding-top: 2px;
}

.checkbox-container-hero input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox-hero {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1.5px solid #ffffff;
    border-radius: 4px;
    background-color: transparent;
}

.checkbox-container-hero input:checked ~ .custom-checkbox-hero {
    background-color: #ffffff;
    background-image: url('../reg2/gal.png');
    background-repeat: no-repeat;
    background-position: center;
}

#hero-promo-code-input {
    display: none;
    margin-top: 12px;
    width: 100%;
}

.error-message-hero {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: #ffffff;
    margin-top: 10px;
    text-align: left;
}

@media (max-width: 1024px) {
   .sign-up-button-hero {
    width: 100%;
    height: 62px;
    font-size: 28px;
} 
}