.reg-title {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: -15px 0 0 0;
}


.hero-form {
    position: relative;
    z-index: 1;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

form {
max-width: 380px;
width: 100%;
}

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

.form-header-hero {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    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: 12px;
}

.input-field-hero {
    background-color: #f5f5f5;
    border: 0px solid #444E65;
    padding: 12px 70px 12px 12px;
    font-size: 16px;
    height: 40px;
    border-radius: 8px;
    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 {
    font-family: 'Roboto', sans-serif;
    box-shadow: 0px 9.36px 7.8px -6.24px #FFF14E,
              0px 9.36px 6.24px -3.12px rgba(255, 73, 0, 0.3),
              inset 0px 0px 6.24px #FEA000,
              inset 0px 0px 9.36px #FFFD54;
    background:
    radial-gradient(45.33% 46.43% at 41.69% 50%, #FF4001 0%, rgba(255, 64, 1, 0) 100%),
    radial-gradient(28.41% 117.96% at 7.72% 28.75%, #FFFDA6 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(37.39% 69.19% at 107.79% 0%, #FF7500 0%, rgba(255, 66, 0, 0) 100%),
    radial-gradient(54.38% 89.75% at 83.46% 89.75%, #FFF926 0%, rgba(255, 69, 0, 0.6) 100%),
    #FF4001;
    color: #ffffff;
    border-radius: 8px;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: not-allowed;
    height: 48px;
    margin-top: 15px;
    width: 100%;
    transition: transform 0.2s ease;
}

.sign-up-button-hero:enabled {
    cursor: pointer;
}

.sign-up-button-hero:active {
    transform: scale(0.95);
    cursor: pointer;
}

.terms-text-hero {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #020c22;
    text-align: center;
    margin-top: 15px;
    max-width: 380px;
}

.rules-link-hero {
    color: #ff4101;
    text-decoration: underline;
}

/* Список требований к паролю */
.password-checklist-hero {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #020c22;
    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: #020c22;
    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 #f5f5f5;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.checkbox-container-hero input:checked ~ .custom-checkbox-hero {
  border: 1.5px solid #FFFED6; /* или оставь свой цвет */

  /* Иконка сверху + градиент из фигмы снизу */
  background:
    url("../reg2/gal.png") center/14px 14px no-repeat, /* галочка, поверх */
    radial-gradient(45.33% 46.43% at 41.69% 50%, #FF4001 0%, rgba(255, 64, 1, 0) 100%),
    radial-gradient(28.41% 117.96% at 7.72% 28.75%, #FFFDA6 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(37.39% 69.19% at 107.79% 0%, #FF7500 0%, rgba(255, 66, 0, 0) 100%),
    radial-gradient(54.38% 89.75% at 83.46% 89.75%, #FFF926 0%, rgba(255, 69, 0, 0.6) 100%),
    linear-gradient(0deg, #FF4001, #FF4001),
    #000000;
}

.forma {
    display: flex;
    height: 420px;
    padding-bottom: 10px;
}



#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: #FE5D5D;
    margin-top: 10px;
    text-align: left;
}



/* ============================================================
   ЗАГОЛОВОК ФОРМЫ — "ENTER THE SEASON / WITH BONUS"
   ============================================================ */

.form-title-block {
    text-align: center;
    margin-bottom: 18px;
}

/* Верхняя строка: ENTER THE SEASON */
.form-title-top {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #020C22;
}

/* Нижняя строка: — WITH BONUS — */
.form-title-bottom {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #020C22;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

/* Горизонтальные полоски по краям нижней строки */
.form-title-line {
    display: block;
    width: 92px;
    height: 4px;
    background-color: #020C22;
    flex-shrink: 0;
}

/* ============================================================
   НИЖНИЙ БЛОК С ПРАВИЛАМИ
   ============================================================ */

/* Позиционируется в нижней части фона (нижние ~110px PNG) */
.form-terms {
    position: absolute;
    bottom: 55px;
    left: 0;
    right: 0;
    padding: 0 20px;
    text-align: center;
}

@media (max-width: 768px) {
.form-title-top {
    font-size: 28px;
}
.form-title-bottom {
    font-size: 28px;
}
.form-title-line {

    width: 78px;

}
.form-terms {

    bottom: 40px;

}
}

/* World Cup final popup theme */
.registration-slot .hero-form {
    width: 100%;
    overflow: visible;
    align-items: stretch;
    justify-content: flex-start;
}

.registration-slot form {
    width: 100%;
    max-width: none;
}

.registration-slot .input-containers-hero,
.registration-slot .password-field-hero {
    margin-bottom: 12px;
}

.registration-slot .input-field-hero {
    width: 100%;
    height: 48px;
    padding: 0 46px 0 14px;
    border: 1px solid #444e65;
    border-radius: 8px;
    background: #1c2539;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.registration-slot .input-field-hero::placeholder {
    color: #6f7b92;
}

.registration-slot .input-field-hero:focus {
    border-color: #bb85ff;
    box-shadow: 0 0 0 2px rgba(187, 133, 255, 0.16);
}

.registration-slot .input-field-hero.input-error {
    border-color: #fe5d5d;
}

.registration-slot .valid-icon-hero {
    right: 14px;
    width: 18px;
    height: 18px;
}

.registration-slot .password-icons-hero {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.registration-slot .icon-hero {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.registration-slot .password-checklist-hero {
    margin: -2px 0 12px;
    color: #d2d7e2;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.25;
    gap: 6px;
}

.registration-slot .check-item-hero {
    align-items: flex-start;
    gap: 7px;
}

.registration-slot .check-hero {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.registration-slot .promo-code-section-hero {
    gap: 10px;
    color: #8d98ad;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.25;
}

.registration-slot .checkbox-container-hero {
    min-height: 20px;
    padding-left: 28px;
    color: #8d98ad;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    line-height: 20px;
}

.registration-slot .custom-checkbox-hero {
    width: 18px;
    height: 18px;
    border: 1px solid #444e65;
    border-radius: 4px;
    background: #1c2539;
}

.registration-slot .checkbox-container-hero input:checked ~ .custom-checkbox-hero {
    border-color: #bb85ff;
    background:
        url("../reg2/gal.png") center/12px 12px no-repeat,
        #1c2539;
}

.registration-slot #hero-promo-code-input {
    margin-top: 0;
}

.registration-slot .error-message-hero {
    color: #fe5d5d;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.25;
    margin-top: 6px;
}

.registration-slot .sign-up-button-hero {
    width: 100%;
    height: 48px;
    margin-top: 14px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #333b4c;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.36);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: not-allowed;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.registration-slot .sign-up-button-hero:enabled {
    background: #ff7f1e;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 127, 30, 0.24);
}

.registration-slot .sign-up-button-hero:enabled:hover,
.registration-slot .sign-up-button-hero:enabled:focus-visible {
    background: #ff943f;
    outline: none;
    box-shadow: 0 12px 26px rgba(255, 127, 30, 0.34);
}

.registration-slot .sign-up-button-hero:enabled:active {
    transform: scale(0.98);
}

.registration-slot .form-terms {
    position: static;
    padding: 0;
    margin-top: 12px;
    text-align: center;
}

.registration-slot .terms-text-hero {
    display: block;
    max-width: none;
    margin: 0;
    color: #8d98ad;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
}

.registration-slot .rules-link-hero {
    color: #bb85ff;
    text-decoration: none;
}

.registration-slot .rules-link-hero:hover {
    text-decoration: underline;
}

.registration-slot a,
.registration-slot [style*="#8633ed"],
.registration-slot [style*="#BB85FF"] {
    color: #bb85ff !important;
}

.registration-slot form > div:last-child {
    color: #fff;
}

@media (max-width: 820px) {
    .registration-slot .input-field-hero,
    .registration-slot .sign-up-button-hero {
        height: 46px;
    }
}
