@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../../fonts/rubik-0aead07c.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../../fonts/roboto-fb5169d9.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.hcx-page {
    margin: 0;
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.hcx-black-page {
    min-height: 100vh;
    padding: 0 0 1000px;
    background: #000000;
}

.hcx-card {
    width: min(100%, 800px);
    margin: 10px auto 15px;
    background: #ffffff;
}

.hcx-progress {
    width: 100%;
    height: 30px;
    overflow: hidden;
    background: #eeeeee;
}

.hcx-progress__bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0 5px;
    background: #00c509;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1;
}

.hcx-question-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.hcx-question-title {
    margin: 0;
    padding: 0 20px;
    color: #000000;
    font-family: "Rubik", Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-align: center;
}

.hcx-question-title--second {
    padding-top: 10px;
}

.hcx-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px;
}

.hcx-button {
    display: block;
    width: 100%;
    min-height: 47px;
    padding: 15px 30px;
    border: 0;
    border-radius: 3px;
    color: #fff000;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.hcx-button--yes {
    background: #00a214;
}

.hcx-button--yes-alt {
    background: #00b504;
}

.hcx-button--no {
    background: #f70101;
}

.hcx-button--no-alt {
    background: #ff0000;
}

.hcx-page--second-question .hcx-black-page {
    padding-top: 5px;
}

.hcx-page--second-question .hcx-card {
    width: min(calc(100% - 8px), 912px);
    margin-top: 0;
    padding: 12px 11px 21px;
}

.hcx-page--second-question .hcx-progress {
    height: 33px;
}

.hcx-page--second-question .hcx-question-image {
    width: min(513px, 100%);
    margin-top: 23px;
}

.hcx-page--second-question .hcx-question-title {
    margin-top: 34px;
    padding: 0;
}

.hcx-page--second-question .hcx-actions {
    gap: 24px;
    margin-top: 30px;
    padding: 0 11px;
}

.hcx-page--second-question .hcx-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 81px;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 20px;
}

.hcx-page--third-question .hcx-black-page {
    padding-top: 0;
}

.hcx-page--third-question .hcx-card {
    width: min(calc(100% - 8px), 912px);
    margin-top: 0;
    padding: 9px 11px 22px;
}

.hcx-page--third-question .hcx-progress {
    height: 34px;
}

.hcx-page--third-question .hcx-question-image {
    width: min(683px, 100%);
    margin-top: 23px;
}

.hcx-page--third-question .hcx-question-title {
    margin-top: 25px;
    padding: 0;
    font-size: 43px;
    line-height: 1.35;
}

.hcx-page--third-question .hcx-actions {
    gap: 24px;
    margin-top: 37px;
    padding: 0 11px;
}

.hcx-page--third-question .hcx-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 67px;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 20px;
}

.hcx-report {
    min-height: 100vh;
    padding: clamp(14px, 3vw, 30px) 0 90px;
    background: #000000;
}

.hcx-report__inner {
    width: min(calc(100% - 32px), 920px);
    margin: 0 auto;
    padding: 0;
}

.hcx-report__title {
    margin: 0;
    padding: 0;
    color: #fff000;
    font-family: "Rubik", Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 4.8vw, 48px);
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
    text-align: center;
    text-shadow: 0 2px 10px #000000;
}

.hcx-report__hint {
    margin: 8px 0 12px;
    color: #ffffff;
    font-family: "Rubik", Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hcx-video-wrap {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: #111111;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.hcx-video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.hcx-video-toggle {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hcx-video-wrap.is-playing .hcx-video-toggle {
    background: transparent;
}

.hcx-video-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: -6px;
}

.hcx-video-toggle__icon {
    position: relative;
    display: block;
    width: clamp(70px, 11vw, 96px);
    height: clamp(70px, 11vw, 96px);
    border-radius: 50%;
    background: #25b900;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hcx-video-toggle__icon::before {
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    border-top: clamp(17px, 2.8vw, 24px) solid transparent;
    border-bottom: clamp(17px, 2.8vw, 24px) solid transparent;
    border-left: clamp(26px, 4.2vw, 36px) solid #ffffff;
    content: "";
    transform: translate(-42%, -50%);
}

.hcx-video-wrap.is-playing .hcx-video-toggle__icon {
    opacity: 0;
    transform: scale(0.92);
}

.hcx-video-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hcx-video-play:hover,
.hcx-video-play:focus-visible {
    background: rgba(0, 0, 0, 0.22);
}

.hcx-video-play__icon {
    display: block;
    width: clamp(70px, 11vw, 96px);
    height: clamp(70px, 11vw, 96px);
    border-radius: 50%;
    background: #25b900;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    position: relative;
}

.hcx-video-play__icon::before {
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    border-top: clamp(17px, 2.8vw, 24px) solid transparent;
    border-bottom: clamp(17px, 2.8vw, 24px) solid transparent;
    border-left: clamp(26px, 4.2vw, 36px) solid #ffffff;
    content: "";
    transform: translate(-42%, -50%);
}

.hcx-video-wrap.is-playing .hcx-video-play {
    background: transparent;
}

.hcx-video-wrap.is-playing .hcx-video-play__icon {
    opacity: 0;
}

.hcx-report-cta {
    display: none;
    width: min(calc(100% - 32px), 760px);
    margin: 18px auto 0;
    padding: 0;
    background: #000000;
    text-align: center;
}

.hcx-report-cta.is-visible {
    display: block;
}

.hcx-report-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-height: 82px;
    margin: 0 auto;
    padding: 16px 26px;
    border-radius: 6px;
    background: #25b900;
    color: #ffffff;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 185, 0, 0.26);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hcx-report-cta__button:hover,
.hcx-report-cta__button:focus-visible {
    background: #2fd300;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .hcx-card {
        margin-bottom: 0;
    }

    .hcx-question-title {
        font-size: 25px;
        line-height: 1.2;
    }

    .hcx-question-title--third {
        font-size: 30px;
    }

    .hcx-actions {
        margin-top: -10px;
    }

    .hcx-page--third-question .hcx-card {
        width: 100%;
        padding: 10px 10px 18px;
    }

    .hcx-page--third-question .hcx-progress {
        height: 30px;
    }

    .hcx-page--third-question .hcx-question-image {
        width: min(100%, 520px);
        margin-top: 18px;
    }

    .hcx-page--third-question .hcx-question-title {
        margin-top: 22px;
        padding: 0 8px;
        font-size: clamp(24px, 6vw, 30px);
        line-height: 1.18;
        letter-spacing: 0;
    }

    .hcx-page--third-question .hcx-actions {
        gap: 14px;
        margin-top: 24px;
        padding: 0 16px;
    }

    .hcx-page--third-question .hcx-button {
        min-height: 52px;
        padding: 12px 18px;
        font-size: 17px;
    }

    .hcx-report__title {
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.08;
        word-spacing: 0;
    }

    .hcx-report__hint {
        margin: 6px 0 10px;
        font-size: 15px;
        line-height: 1.25;
    }

    .hcx-video-wrap {
        width: 100%;
        margin-top: 0;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
    }

    .hcx-report {
        padding-top: 10px;
    }

    .hcx-report__inner,
    .hcx-report-cta {
        width: calc(100% - 28px);
    }

    .hcx-report-cta {
        margin-top: 14px;
    }

    .hcx-report-cta__button {
        min-height: 76px;
        padding: 14px 20px;
        border-radius: 5px;
        font-size: 16px;
        line-height: 1.2;
    }
}
