* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --orange: #f36b22;

    --orange-dark: #e45b13;

    --orange-light: #fff0e5;

    --cream: #fffaf6;

    --background: #f8f1eb;

    --text: #17243a;

    --gray: #737982;

    --border: #e8e1db;

    --white: #ffffff;

}

body {

    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

}

body::before {

    content: "";

    position: fixed;

    width: 430px;
    height: 430px;

    left: -260px;
    top: -230px;

    border-radius: 50%;

    background: #f7d7bf;

    z-index: -1;

}


body::after {

    content: "";

    position: fixed;

    width: 480px;
    height: 480px;

    right: -290px;
    bottom: -310px;

    border-radius: 50%;

    background: #f6d5bd;

    z-index: -1;

}

.page {

    width: 100%;

    max-width: 1100px;

    min-height: 100vh;

    margin: auto;

    padding: 30px 25px;

}

.header {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo {

    width: 50px;

    height: 50px;

    border-radius: 13px;

    background:
        var(--orange);

    color:
        white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 28px;

    font-weight: bold;

}


.brand h1 {

    font-size: 27px;

    letter-spacing: -1px;

}


.brand h1 span {

    color:
        var(--orange);

}


.brand p {

    margin-top: 3px;

    font-size: 12px;

    color:
        var(--gray);

}


.header-text {

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1.5px;

    color:
        var(--orange);

}

.home-page {

    min-height: 90vh;

}

.home-content {

    max-width: 780px;

    margin: auto;

    padding-top: 100px;

    text-align: center;

}

.small-label {

    display: inline-block;

    padding: 8px 16px;

    border-radius: 20px;

    background:
        var(--orange-light);

    color:
        var(--orange-dark);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

}

.home-content h2 {

    margin-top: 22px;

    font-size: 62px;

    line-height: 1.05;

    letter-spacing: -3px;

}


.home-content h2 span {

    color:
        var(--orange);

}

.home-description {

    max-width: 620px;

    margin: 20px auto 30px;

    color:
        var(--gray);

    font-size: 18px;

    line-height: 1.6;

}

.start-button {

    min-width: 180px;

    height: 57px;

    padding: 0 28px;

    border: none;

    border-radius: 12px;

    background:
        var(--orange);

    color:
        white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(243, 107, 34, 0.22);

    transition:
        0.2s ease;

}


.start-button span {

    margin-left: 10px;

    font-size: 20px;

}


.start-button:hover {

    background:
        var(--orange-dark);

    transform:
        translateY(-2px);

}

.features {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-top: 55px;

}


.feature {

    width: 160px;

    padding: 20px;

    background:
        rgba(255, 255, 255, 0.72);

    border:
        1px solid var(--border);

    border-radius: 15px;

}


.feature strong {

    display: block;

    color:
        var(--orange);

    font-size: 28px;

}


.feature span {

    display: block;

    margin-top: 5px;

    color:
        var(--gray);

    font-size: 13px;

}

.quiz-page {

    padding-top: 70px;

}


.quiz-card {

    width: 100%;

    max-width: 850px;

    margin: auto;

    padding: 35px 42px 40px;

    background:
        rgba(255, 255, 255, 0.93);

    border:
        1px solid var(--border);

    border-radius: 20px;

    box-shadow:
        0 18px 50px rgba(70, 50, 35, 0.09);

    position: relative;

}

.quiz-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

}


.quiz-top p {

    font-size: 17px;

    font-weight: bold;

}

.progress-container {

    width: 500px;

    max-width: 100%;

    height: 7px;

    margin-top: 13px;

    background:
        #e6e4e1;

    border-radius: 20px;

    overflow: hidden;

}


.progress {

    width: 10%;

    height: 100%;

    background:
        var(--orange);

    border-radius: 20px;

    transition:
        width 0.3s ease;

}

.score-box {

    text-align: right;

}


.score-box span {

    display: block;

    color:
        var(--gray);

    font-size: 12px;

}


.score-box strong {

    display: block;

    margin-top: 2px;

    color:
        var(--orange);

    font-size: 22px;

}

.timer {

    position: absolute;

    top: 27px;

    right: 130px;

    display: none;

}

.category {

    display: inline-block;

    margin-top: 35px;

    padding: 8px 15px;

    border-radius: 9px;

    background:
        var(--orange-light);

    color:
        var(--orange-dark);

    font-size: 13px;

    font-weight: bold;

}

.quiz-card h2 {

    margin-top: 22px;

    margin-bottom: 28px;

    font-size: 30px;

    line-height: 1.4;

}

.answers {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.answer {

    width: 100%;

    min-height: 65px;

    padding: 10px 20px;

    display: flex;

    align-items: center;

    gap: 16px;

    border:
        1px solid #dfe2df;

    border-radius: 13px;

    background:
        #f4f6f4;

    color:
        var(--text);

    font-size: 17px;

    text-align: left;

    cursor: pointer;

    transition:
        0.2s ease;

}


.answer:hover {

    background:
        #fffaf7;

    border-color:
        #efa06f;

    transform:
        translateY(-1px);

}


.answer-letter {

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        #e3e5e4;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

}

.answer.selected {

    background:
        var(--orange-light);

    border:
        2px solid var(--orange);

}


.answer.selected .answer-letter {

    background:
        var(--orange);

    color:
        white;

}

.next-area {

    display: flex;

    justify-content: flex-end;

}


.next-button {

    margin-top: 28px;

    min-width: 120px;

    height: 52px;

    padding: 0 25px;

    border: none;

    border-radius: 11px;

    background:
        var(--orange);

    color:
        white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition:
        0.2s ease;

}


.next-button:hover {

    background:
        var(--orange-dark);

    transform:
        translateY(-1px);

}

.result-page {

    padding-top: 60px;

}


.result-card {

    width: 100%;

    max-width: 850px;

    margin: auto;

    padding: 42px;

    text-align: center;

    background:
        white;

    border-radius: 20px;

    box-shadow:
        0 18px 50px rgba(70, 50, 35, 0.09);

}


.result-icon {

    width: 65px;

    height: 65px;

    margin: auto;

    border-radius: 50%;

    background:
        var(--orange-light);

    color:
        var(--orange);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 32px;

    font-weight: bold;

}


.result-card h2 {

    margin-top: 15px;

    font-size: 32px;

}


.result-subtitle {

    margin-top: 8px;

    color:
        var(--gray);

}


/* FINAL SCORE */

.final-score {

    margin: 10px 0;

    color:
        var(--orange);

    font-size: 75px;

    font-weight: bold;

}


.final-score small {

    color:
        var(--gray);

    font-size: 30px;

}


.result-message {

    color:
        var(--gray);

    font-size: 16px;

}


/* REVIEW */

.review {

    margin-top: 35px;

    text-align: left;

}


.review h3 {

    margin-bottom: 15px;

    font-size: 21px;

}


.review-item {

    margin-bottom: 11px;

    padding: 16px;

    border-radius: 11px;

    border:
        1px solid #e1e2df;

    background:
        #fafafa;

}


.review-item.correct {

    background:
        #eff9f1;

    border-color:
        #8dc6a1;

}


.review-item.wrong {

    background:
        #fff1eb;

    border-color:
        #efaa90;

}


.review-item strong {

    display: block;

    margin-bottom: 7px;

}


.correct-answer {

    color:
        #25814a;

}


.wrong-answer {

    color:
        #c64e24;

}

.restart-button {

    margin-top: 25px;

    min-width: 160px;

    height: 52px;

    padding: 0 25px;

    border: none;

    border-radius: 11px;

    background:
        var(--orange);

    color:
        white;

    font-weight: bold;

    cursor: pointer;

    font-size: 15px;

}

.hidden {

    display: none !important;

}

footer {

    text-align: center;

    margin-top: 25px;

    color:
        #898681;

    font-size: 12px;

}

@media(max-width: 700px) {

    .page {

        padding: 20px 15px;

    }


    .header {

        align-items: flex-start;

    }


    .header-text {

        display: none;

    }


    .home-content {

        padding-top: 80px;

    }


    .home-content h2 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .home-description {

        font-size: 15px;

    }


    .features {

        gap: 8px;

    }


    .feature {

        width: 31%;

        padding: 15px 8px;

    }


    .feature strong {

        font-size: 23px;

    }


    .feature span {

        font-size: 11px;

    }


    .quiz-page {

        padding-top: 35px;

    }


    .quiz-card {

        padding: 25px 18px 30px;

    }


    .quiz-top p {

        font-size: 14px;

    }


    .score-box strong {

        font-size: 19px;

    }


    .quiz-card h2 {

        font-size: 22px;

    }


    .answer {

        min-height: 58px;

        font-size: 15px;

    }


    .result-card {

        padding: 30px 18px;

    }


    .result-card h2 {

        font-size: 27px;

    }


    .final-score {

        font-size: 60px;

    }

}