/* =====================================================
   FUTUREVERSE — QUIZ CORNER
   Premium CSS-only Interface
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2878f5;
    --green: #18b879;
    --purple: #7850ed;

    --dark: #111936;
    --text: #26365f;
    --muted: #65749a;

    --border: rgba(120, 150, 220, .20);
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #f3f7ff 48%,
            #faf7ff 100%
        );

    color: var(--dark);
    min-height: 100vh;
}


/* =====================================================
   MAIN PAGE
===================================================== */

.quiz-page {
    width: 100%;
    max-width: 1500px;
    margin: auto;

    padding: 20px 34px 42px;
}


/* =====================================================
   BACK TO FUTUREVERSE
===================================================== */

.back-to-futureverse {
    display: inline-flex;
    align-items: center;

    margin: 0 0 0px 30px;

    padding: 9px 15px;

    color: #52648f;

    background: rgba(255, 255, 255, .72);

    border: 1px solid rgba(80, 120, 200, .16);

    border-radius: 11px;

    text-decoration: none;

    margin-top: 10px;

    font-size: 16px;
    font-weight: 600;

    box-shadow:
        0 3px 12px rgba(50, 90, 160, .07);

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.back-to-futureverse:hover {
    color: #2878f5;

    background: #ffffff;

    transform: translateY(-1px);
}


/* =====================================================
   HERO
===================================================== */

.quiz-hero {
    min-height: 158px;

    border-radius: 20px;

    padding: 22px 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            105deg,
            #e9f2ff 0%,
            #eef3ff 48%,
            #eee7ff 100%
        );

    border: 1px solid rgba(111, 146, 220, .15);

    overflow: hidden;

    position: relative;
}


.hero-left {
    display: flex;
    align-items: center;
    gap: 30px;
}


.quiz-icon-box {
    width: 108px;
    height: 108px;

    border-radius: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.48);

    box-shadow:
        inset 0 0 30px rgba(255,255,255,.5);
}


/* =====================================================
   CSS CLIPBOARD
===================================================== */

.clipboard-icon {
    width: 51px;
    height: 63px;

    border: 6px solid #2c78f4;

    border-radius: 7px;

    position: relative;
}

.clipboard-icon::before {
    content: "";

    position: absolute;

    width: 25px;
    height: 9px;

    left: 7px;
    top: -12px;

    border: 5px solid #2c78f4;

    border-bottom: 0;

    border-radius: 8px 8px 0 0;
}

.clipboard-icon span,
.clipboard-icon i {
    position: absolute;

    width: 23px;
    height: 4px;

    background: #2c78f4;

    left: 8px;
}

.clipboard-icon span {
    top: 18px;
}

.clipboard-icon i {
    top: 33px;
}


/* =====================================================
   HERO TEXT
===================================================== */

.quiz-hero h1 {
    font-size: 40px;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -.8px;
}

.quiz-hero p {
    margin-top: 12px;

    font-size: 18px;

    color: #52648f;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {
    display: flex;
    align-items: center;

    gap: 28px;

    padding-right: 28px;
}


/* CSS TARGET */

.target-icon {
    width: 115px;
    height: 115px;

    border-radius: 50%;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.30);
}


.target-ring {
    position: absolute;

    border-radius: 50%;

    border: 11px solid rgba(73, 124, 239, .38);
}

.ring-one {
    width: 96px;
    height: 96px;
}

.ring-two {
    width: 59px;
    height: 59px;

    border-width: 10px;
}

.target-center {
    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #477fe8;
}


.arrow {
    position: absolute;

    width: 63px;
    height: 7px;

    background: #3276e9;

    transform:
        rotate(-43deg)
        translate(23px,-16px);

    border-radius: 8px;
}

.arrow::after {
    content: "";

    position: absolute;

    right: -2px;
    top: -7px;

    width: 20px;
    height: 20px;

    border-right: 7px solid #3276e9;
    border-top: 7px solid #3276e9;

    transform: rotate(45deg);
}


/* =====================================================
   SLOGAN
===================================================== */

.hero-slogan {
    display: flex;
    flex-direction: column;

    gap: 3px;

    color: #5d6da5;

    font-size: 22px;

    font-style: italic;
}

.hero-slogan span {
    width: 70px;
    height: 3px;

    margin-top: 12px;

    background: #6378bb;

    transform: rotate(-5deg);
}


/* =====================================================
   TEST GRID
===================================================== */

.test-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 24px;
}


/* =====================================================
   TEST CARD
===================================================== */

.test-card {
    min-height: 390px;

    padding: 26px 28px 28px;

    border-radius: 20px;

    background: rgba(255,255,255,.70);

    border: 1px solid var(--border);

    box-shadow:
        0 10px 35px rgba(61, 91, 155, .07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.test-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 42px rgba(61, 91, 155, .13);
}


/* CARD TINTS */

.mini-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f9ff
        );
}

.normal-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4fcf9
        );
}

.final-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f5ff
        );
}


/* =====================================================
   CARD ICON
===================================================== */

.card-icon {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
}

.blue-icon {
    background: #e8f1ff;
}

.green-icon {
    background: #e4f8f1;
}

.purple-icon {
    background: #eee7ff;
}


/* =====================================================
   CSS DOCUMENT ICON
===================================================== */

.document-icon {
    width: 27px;
    height: 34px;

    border: 3px solid #2878f5;

    border-radius: 3px;

    position: relative;
}

.document-icon::before {
    content: "";

    position: absolute;

    right: -3px;
    top: -3px;

    width: 10px;
    height: 10px;

    background: #e8f1ff;

    border-left: 3px solid #2878f5;
    border-bottom: 3px solid #2878f5;
}

.document-icon span {
    position: absolute;

    width: 13px;
    height: 2px;

    left: 5px;

    background: #2878f5;
}

.document-icon span:nth-child(1) {
    top: 15px;
}

.document-icon span:nth-child(2) {
    top: 21px;
}

.document-icon span:nth-child(3) {
    top: 27px;
}


/* =====================================================
   CSS CHART
===================================================== */

.chart-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: end;

    gap: 4px;

    border-left: 3px solid #18b879;
    border-bottom: 3px solid #18b879;

    padding-left: 5px;
}

.bar {
    width: 7px;

    background: #18b879;

    border-radius: 3px 3px 0 0;
}

.bar-one {
    height: 12px;
}

.bar-two {
    height: 20px;
}

.bar-three {
    height: 29px;
}


/* =====================================================
   CSS TROPHY
===================================================== */

.trophy-icon {
    position: relative;

    width: 42px;
    height: 45px;
}

.trophy-cup {
    position: absolute;

    left: 8px;
    top: 2px;

    width: 26px;
    height: 24px;

    background: #7850ed;

    border-radius: 4px 4px 12px 12px;
}

.trophy-cup::before,
.trophy-cup::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 16px;

    top: 2px;

    border: 4px solid #7850ed;
}

.trophy-cup::before {
    left: -11px;

    border-right: 0;

    border-radius: 10px 0 0 10px;
}

.trophy-cup::after {
    right: -11px;

    border-left: 0;

    border-radius: 0 10px 10px 0;
}

.trophy-stem {
    position: absolute;

    width: 7px;
    height: 10px;

    left: 18px;
    top: 25px;

    background: #7850ed;
}

.trophy-base {
    position: absolute;

    width: 28px;
    height: 6px;

    left: 7px;
    bottom: 2px;

    border-radius: 4px;

    background: #7850ed;
}


/* =====================================================
   CARD TEXT
===================================================== */

.test-card h2 {
    font-size: 28px;

    margin-bottom: 12px;

    letter-spacing: -.4px;
}

.card-description {
    max-width: 330px;

    min-height: 54px;

    font-size: 17px;

    line-height: 1.45;

    color: #596a91;
}


/* =====================================================
   CARD LINE
===================================================== */

.card-line {
    width: 48px;
    height: 3px;

    margin: 18px 0;

    border-radius: 5px;
}

.mini-card .card-line {
    background: #7fa9f7;
}

.normal-card .card-line {
    background: #78d5b3;
}

.final-card .card-line {
    background: #aa91f3;
}


/* =====================================================
   QUESTION INFO
===================================================== */

.question-info {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #334875;

    font-size: 17px;

    margin-bottom: 22px;
}

.small-document {
    width: 22px;
    height: 27px;

    border: 2px solid #2878f5;

    border-radius: 3px;

    position: relative;
}

.small-document span {
    position: absolute;

    left: 4px;

    width: 10px;
    height: 2px;

    background: #2878f5;
}

.small-document span:first-child {
    top: 10px;
}

.small-document span:last-child {
    top: 16px;
}

.green-doc {
    border-color: #18b879;
}

.green-doc span {
    background: #18b879;
}

.purple-doc {
    border-color: #7850ed;
}

.purple-doc span {
    background: #7850ed;
}


/* =====================================================
   START BUTTON
===================================================== */

.start-btn {
    width: 100%;

    height: 58px;

    border: 0;

    border-radius: 15px;

    color: white;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        filter .2s ease;
}

.start-btn:hover {
    filter: brightness(1.05);

    transform: translateY(-1px);
}

.start-btn span {
    margin-left: 8px;

    font-size: 22px;
}

.blue-btn {
    background: #2878f5;
}

.green-btn {
    background: #18b879;
}

.purple-btn {
    background: #7850ed;
}


/* =====================================================
   MOTIVATION PANEL
===================================================== */

.motivation-panel {
    min-height: 145px;

    margin-top: 24px;

    padding: 25px 38px;

    border-radius: 20px;

    background:
        linear-gradient(
            105deg,
            #e7f1ff,
            #edf3ff,
            #f1eaff
        );

    border: 1px solid rgba(111,146,220,.15);

    display: flex;
    align-items: center;
}


/* =====================================================
   CSS BOOK
===================================================== */

.motivation-book {
    width: 105px;
    height: 80px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}

.book-left,
.book-right {
    width: 40px;
    height: 60px;

    background: #5e91e8;

    position: relative;

    top: 5px;
}

.book-left {
    border-radius: 5px 16px 4px 5px;

    transform: skewY(5deg);
}

.book-right {
    border-radius: 16px 5px 5px 4px;

    transform: skewY(-5deg);
}

.book-left::after,
.book-right::after {
    content: "";

    position: absolute;

    top: 12px;

    width: 25px;
    height: 2px;

    background: rgba(255,255,255,.6);
}

.book-left::after {
    right: 5px;
}

.book-right::after {
    left: 5px;
}


/* =====================================================
   MOTIVATION TEXT
===================================================== */

.motivation-text {
    min-width: 320px;

    padding-right: 30px;
}

.motivation-text h3 {
    font-size: 20px;

    line-height: 1.45;
}

.motivation-text p {
    margin-top: 7px;

    color: #5b6e99;

    font-size: 15px;
}


/* =====================================================
   FEATURES
===================================================== */

.motivation-features {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 42px;
}

.feature-item {
    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 145px;
}

.feature-item strong,
.feature-item span {
    display: block;
}

.feature-item strong {
    font-size: 16px;
}

.feature-item span {
    margin-top: 3px;

    color: #49608e;

    font-size: 15px;
}


/* FEATURE ICONS */

.feature-icon {
    width: 42px;
    height: 42px;

    position: relative;
}


/* SMALL TARGET */

.target-small {
    border: 3px solid #4381ed;

    border-radius: 50%;
}

.target-small::before {
    content: "";

    position: absolute;

    width: 19px;
    height: 19px;

    left: 8px;
    top: 8px;

    border: 3px solid #4381ed;

    border-radius: 50%;
}

.target-small span {
    position: absolute;

    width: 7px;
    height: 7px;

    left: 15px;
    top: 15px;

    border-radius: 50%;

    background: #4381ed;
}


/* GRAPH */

.graph-small {
    border-left: 3px solid #4381ed;
    border-bottom: 3px solid #4381ed;
}

.graph-small::after {
    content: "";

    position: absolute;

    width: 27px;
    height: 18px;

    left: 7px;
    top: 10px;

    border-top: 3px solid #4381ed;
    border-right: 3px solid #4381ed;

    transform: skewY(-28deg);
}


/* STAR */

.star-small {
    color: #4381ed;

    font-size: 40px;

    line-height: 40px;

    text-align: center;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .quiz-hero {
        padding: 22px 25px;
    }

    .hero-visual {
        padding-right: 0;
    }

    .hero-slogan {
        font-size: 18px;
    }

    .target-icon {
        width: 100px;
        height: 100px;
    }

    .motivation-features {
        gap: 20px;
    }

    .feature-item {
        min-width: auto;
    }
}


@media (max-width: 900px) {

    .test-grid {
        grid-template-columns: 1fr;
    }

    .test-card {
        min-height: auto;
    }

    .motivation-panel {
        flex-wrap: wrap;
        gap: 20px;
    }

    .motivation-features {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
}


@media (max-width: 700px) {

    .quiz-page {
        padding: 16px;
    }


    /* MOBILE BACK BUTTON */

    .back-to-futureverse {
        margin:  12 30px 0 3px;

        padding: 7px 12px;

        font-size: 15px;

        border-radius: 10px;
    }


    .quiz-hero {
        min-height: auto;

        padding: 24px;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .hero-left {
        gap: 18px;
    }

    .quiz-icon-box {
        width: 72px;
        height: 72px;

        border-radius: 20px;
    }

    .clipboard-icon {
        transform: scale(.75);
    }

    .quiz-hero h1 {
        font-size: 30px;
    }

    .quiz-hero p {
        font-size: 15px;
    }

    .hero-visual {
        width: 100%;

        justify-content: center;
    }

    .test-card {
        padding: 24px;
    }

    .test-card h2 {
        font-size: 25px;
    }

    .motivation-panel {
        padding: 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .motivation-text {
        min-width: 0;
    }

    .motivation-features {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }
}