.hidden {
    display: none;
}

#start-screen {
    max-width: 480px;
    width: 100%;
}

.militaryCard {
    max-width: 480px;
    width: 100%;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
}
.gunbti1Page .militaryCard {
    border: 2px solid #667b67;
    background: #e5e9dd;
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.25);
}
.gunbti2Page .militaryCard {
    border: 2px solid #ff739b;
    background: #fff;
    box-shadow: 0 15px 40px 0 rgba(186, 20, 73, 0.2);
}
.gunbti3Page .militaryCard {
    border: 2px solid #2d88ff;
    background: #fff;
    box-shadow: 0 15px 40px 0 rgba(48, 94, 192, 0.2);
}

.mainDescription {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    color: #222;
    padding: 40px 0;
    letter-spacing: -2.1px;
}

.startBtn {
    width: 100%;
    border-radius: 12px;
    height: 70px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.gunbti1Page .startBtn {
    background: #405141;
}

.gunbti1Page .startBtn:hover {
    background: #333;
}

.gunbti2Page .startBtn {
    background: #ff4684;
}

.gunbti2Page .startBtn:hover {
    background: #e32c66;
}

.gunbti3Page .startBtn {
    background: #2d88ff;
}

.gunbti3Page .startBtn:hover {
    background: #305ec0;
}

.step1LinkWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
    width: 100%;
}

.step1Link {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.step1Link.linkPink {
    background: #ff4684;
}

.step1Link.linkBlue {
    background: #2d88ff;
}

.step1Link.linkGreen {
    background: #405141;
}

/* Test Screen */
.questionNumberWrap {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #666;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.progressBarWrap {
    width: 100%;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.gunbti1Page .progressBarWrap {
    background: #fff;
}

.progressBar {
    height: 100%;
    transition: width 0.3s ease-in-out;
}

.gunbti1Page .progressBar {
    background: #415f3d;
}

.gunbti2Page .progressBar {
    background: #ff4684;
}

.gunbti3Page .progressBar {
    background: #2d88ff;
}

.questionText {
    color: #222;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    padding: 25px 0 40px;
    text-align: center;
}

.choiceBtn {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #bbb;
    color: #222;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    background: transparent;
    padding: 25px;
}

.gunbti1Page .choiceBtn:hover {
    border: 1px solid #4e5744;
    background: #dce5c7;
}

.gunbti2Page .choiceBtn:hover {
    border: 1px solid #ff4684;
    background: #fdf2f2;
}

.gunbti3Page .choiceBtn:hover {
    border: 1px solid #006eff;
    background: #eaf5ff;
}

/* Result Screen */
.resultLayout {
    display: none;
    width: 100%;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.resultLayout.visible {
    display: flex;
}

.resultLayout .title {
    color: #ccc;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 25px;
}

.gunbti1Page .resultLayout .title {
    color: #828672;
}

.resultTitle {
    color: #222;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.resultSection1 {
    border-radius: 12px;
    display: flex;
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    align-self: stretch;
    margin: 40px 0 25px;
}

.gunbti1Page .resultSection1 {
    background: #d6e0bf;
}

.gunbti2Page .resultSection1 {
    background: #fdf2f2;
}

.gunbti3Page .resultSection1 {
    background: #eaf5ff;
}

.sectionTitle {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.gunbti1Page .resultSection1 .sectionTitle {
    color: #416143;
}

.sectionDesc {
    color: #222;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.resultSection2 {
    border-radius: 12px;
    background: transparent;
    display: flex;
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    align-self: stretch;
}

.gunbti1Page .resultSection2 {
    border: 1px solid #667b67;
}

.gunbti2Page .resultSection2 {
    border: 1px solid #ff739b;
}

.gunbti3Page .resultSection2 {
    border: 1px solid #2d88ff;
}

.restartBtn {
    display: flex;
    width: 100%;
    height: 70px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 25px;
}

.gunbti1Page .restartBtn {
    background: #405141;
}
.gunbti1Page .restartBtn:hover {
    background: #333;
}

.gunbti2Page .restartBtn {
    background: #ff4684;
}
.gunbti2Page .restartBtn:hover {
    background: #e32c66;
}

.gunbti3Page .restartBtn {
    background: #2d88ff;
}
.gunbti3Page .restartBtn:hover {
    background: #305ec0;
}

.disclaimer {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.result-sidebar__card-img {
    width: 100%;
    object-fit: contain;
    display: block;
    vertical-align: top;
}
.result-sidebar__title {
    color: #222;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    text-align: center;
    word-break: keep-all;
}
.gunbti1Page .result-sidebar__title {
    color: #fff;
}
.result-sidebar__link {
    display: block;
    width: 100%;
    height: 70px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: keep-all;
}
.result-sidebar__link--pink {
    background: #ff4684;
}
.result-sidebar__link--blue {
    background: #2d88ff;
}
.result-sidebar__link--green {
    background: #405141;
}

@media (max-width: 1024px) {
    .mainDescription {
        font-size: 18px;
        padding: 24px 0;
    }

    .startBtn {
        font-size: 20px;
        height: 60px;
    }

    .militaryCard {
        padding: 24px;
    }

    .resultLayout .title {
        font-size: 20px;
    }

    .resultTitle {
        font-size: 24px;
    }

    .resultSection1 {
        padding: 16px;
        margin: 24px 0 16px;
    }

    .resultSection2 {
        padding: 16px;
    }

    .sectionTitle {
        font-size: 18px;
    }

    .sectionDesc {
        font-size: 16px;
    }

    .restartBtn {
        margin: 24px 0 16px;
        font-size: 20px;
        height: 60px;
    }

    .disclaimer {
        font-size: 14px;
    }

    .resultLayout {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    #result-screen {
        order: 1;
    }
    .result-sidebar--left {
        order: 2;
    }
    .result-sidebar--right {
        order: 3;
    }
    .result-sidebar {
        width: 100%;
        max-width: 480px;
    }

    .result-sidebar__title {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .result-sidebar__link {
        min-height: 60px;
    }
}
