.hchc-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: Arial, Helvetica, sans-serif;
}

.hchc-popup.is-visible {
    display: flex;
}

.hchc-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 35, 0.38);
}

.hchc-popup__panel {
    position: relative;
    width: min(936px, 100%);
    min-height: 500px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 9% -4%, rgba(86, 9, 86, 0.72) 0 16%, transparent 17%),
        radial-gradient(circle at 18% 77%, rgba(86, 9, 86, 0.58) 0 17%, transparent 18%),
        radial-gradient(circle at 58% 6%, rgba(86, 9, 86, 0.56) 0 18%, transparent 19%),
        radial-gradient(circle at 88% 59%, rgba(86, 9, 86, 0.72) 0 17%, transparent 18%),
        #7a126f;
    box-shadow: 0 18px 46px rgba(22, 10, 32, 0.34);
}

.hchc-popup__panel::before,
.hchc-popup__panel::after {
    content: "";
    position: absolute;
    inset: auto auto -20px 7%;
    width: 250px;
    height: 250px;
    border-radius: 999px;
    background: rgba(73, 4, 75, 0.38);
}

.hchc-popup__panel::after {
    inset: 53% 27% auto auto;
    width: 320px;
    height: 320px;
}

.hchc-popup__close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.hchc-popup__timer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding-top: 66px;
}

.hchc-popup__timebox {
    display: grid;
    justify-items: center;
    gap: 10px;
    font-weight: 700;
}

.hchc-popup__timebox span {
    display: grid;
    place-items: center;
    width: 141px;
    height: 141px;
    border-radius: 6px;
    color: #000;
    background: linear-gradient(#fff 0 50%, #e9e9e9 50% 100%);
    font-size: 62px;
    font-weight: 400;
}

.hchc-popup__timebox small {
    color: #fff;
    font-size: 25px;
}

.hchc-popup__colon {
    margin-top: 43px;
    color: #000;
    font-size: 58px;
}

.hchc-popup__content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 48px));
    margin: 43px auto 0;
}

.hchc-popup h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.08;
    text-align: center;
    text-transform: uppercase;
}

.hchc-popup h2 span {
    color: #ffac1a;
}

.hchc-popup__subhead {
    margin: 0 0 34px;
    font-size: clamp(18px, 2.4vw, 23px);
    font-weight: 700;
    line-height: 1.34;
    text-align: center;
}

.hchc-popup__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    width: min(706px, 100%);
    margin: 0 auto;
}

.hchc-popup__form input {
    min-width: 0;
    height: 54px;
    border: 0;
    border-radius: 5px;
    padding: 0 12px;
    color: #1b1f2f;
    background: #fff;
    font-size: 22px;
}

.hchc-popup__form input::placeholder {
    color: #b8c4d6;
}

.hchc-popup__form button {
    min-height: 52px;
    border: 0;
    border-radius: 5px;
    padding: 0 15px;
    color: #fff;
    background: #ff920d;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.hchc-popup__form button:disabled {
    cursor: progress;
    opacity: 0.72;
}

.hchc-popup__fineprint {
    width: min(706px, 100%);
    margin: 20px auto 0;
    font-size: 15px;
    line-height: 1.45;
}

.hchc-popup__status {
    width: min(706px, 100%);
    min-height: 24px;
    margin: 8px auto 0;
    font-weight: 700;
}

.hchc-popup__success {
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.hchc-popup__success h3 {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.32;
    text-transform: uppercase;
}

.hchc-popup__success strong {
    display: block;
    min-width: min(430px, 100%);
    border-radius: 6px;
    padding: 23px 30px;
    color: #12121a;
    background: #b6a8ff;
    font-size: clamp(26px, 4vw, 34px);
    text-transform: uppercase;
}

.hchc-popup__success p {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 700px) {
    .hchc-popup {
        padding: 14px;
    }

    .hchc-popup__panel {
        min-height: auto;
        max-height: calc(100vh - 28px);
        overflow-y: auto;
    }

    .hchc-popup__timer {
        gap: 14px;
        padding-top: 52px;
    }

    .hchc-popup__timebox span {
        width: 94px;
        height: 94px;
        font-size: 42px;
    }

    .hchc-popup__timebox small {
        font-size: 18px;
    }

    .hchc-popup__colon {
        margin-top: 25px;
        font-size: 42px;
    }

    .hchc-popup__content {
        width: calc(100% - 32px);
        margin: 28px auto 36px;
    }

    .hchc-popup__form {
        grid-template-columns: 1fr;
    }

    .hchc-popup__form button {
        width: 100%;
        font-size: 20px;
    }
}
