/* =========================================================
   YEW — GRADE 4
   LESSON 9 — TRAVEL & HOLIDAYS
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            180deg,
            #fbfaff 0%,
            #f7f4ff 48%,
            #fbfaff 100%
        );

    color: #2f2942;

    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

button {
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   2. DECORATIVE BACKGROUND
   ========================================================= */

.background-shape {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -3;
    filter: blur(2px);
}

.shape-one {
    width: 430px;
    height: 430px;

    top: 100px;
    left: -240px;

    background:
        rgba(215, 204, 255, 0.34);
}

.shape-two {
    width: 520px;
    height: 520px;

    right: -300px;
    top: 38%;

    background:
        rgba(232, 221, 255, 0.4);
}

.shape-three {
    width: 340px;
    height: 340px;

    bottom: -170px;
    left: 18%;

    background:
        rgba(223, 215, 255, 0.28);
}


/* =========================================================
   3. FLOATING SYMBOLS
   ========================================================= */

.floating-symbol {
    position: fixed;

    color: rgba(124, 96, 205, 0.11);

    font-size: 38px;
    font-weight: 800;

    pointer-events: none;
    user-select: none;

    z-index: -2;
}

.symbol-one {
    left: 5%;
    top: 25%;
    transform: rotate(-15deg);
}

.symbol-two {
    right: 6%;
    top: 20%;
    transform: rotate(13deg);
}

.symbol-three {
    left: 8%;
    bottom: 13%;
    transform: rotate(8deg);
}

.symbol-four {
    right: 8%;
    bottom: 16%;
    transform: rotate(-10deg);
}


/* =========================================================
   4. HEADER
   ========================================================= */

.lesson-navigation {
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 34px;

    background:
        rgba(255, 255, 255, 0.92);

    border-bottom:
        1px solid rgba(111, 88, 177, 0.11);

    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;

    z-index: 100;
}

.lesson-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lesson-logo {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #8b72d8,
            #7257c4
        );

    color: white;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 0.7px;

    box-shadow:
        0 7px 17px
        rgba(111, 82, 191, 0.2);
}

.lesson-chapter {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chapter-number {
    color: #8b7daa;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.25px;
}

.chapter-name {
    color: #332c46;

    font-size: 14px;
    font-weight: 750;
}

.close-lesson-button {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f1ff;

    color: #7662b5;

    font-size: 17px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.close-lesson-button:hover {
    background: #ebe4ff;
    transform: rotate(5deg);
}


/* =========================================================
   5. PROGRESS BAR
   ========================================================= */

.lesson-progress-wrapper {
    width: min(920px, calc(100% - 40px));

    margin: 17px auto 0;

    display: flex;
    align-items: center;
    gap: 13px;
}

.lesson-progress-track {
    flex: 1;
    height: 7px;

    background: #ebe6f5;

    border-radius: 999px;

    overflow: hidden;
}

.lesson-progress-fill {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #9a83df,
            #7459c6
        );

    transition:
        width 0.4s ease;
}

.lesson-progress-number {
    min-width: 37px;

    color: #8779a5;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   6. MAIN LESSON AREA
   ========================================================= */

.lesson-content {
    width: 100%;
}

.lesson-screen {
    display: none;

    width: 100%;

    padding:
        32px 20px 75px;

    animation:
        lessonFadeIn 0.35s ease;
}

.lesson-screen.active-screen {
    display: block;
}

@keyframes lessonFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   7. MAIN PANEL
   ========================================================= */

.lesson-panel {
    width: min(920px, 100%);

    margin: 0 auto;

    padding:
        44px 52px 46px;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid
        rgba(118, 92, 188, 0.1);

    border-radius: 27px;

    box-shadow:
        0 17px 50px
        rgba(69, 49, 117, 0.08);

    text-align: center;
}

.screen-label,
.activity-progress,
.map-game-level-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 29px;

    padding: 0 13px;

    margin-bottom: 16px;

    border-radius: 999px;

    background: #f0ebff;

    color: #765ec1;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.3px;
}


/* =========================================================
   8. TYPOGRAPHY
   ========================================================= */

.lesson-panel h1 {
    margin-bottom: 14px;

    color: #302843;

    font-size: clamp(
        34px,
        5vw,
        52px
    );

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.lesson-panel h2 {
    margin-bottom: 12px;

    color: #302843;

    font-size: clamp(
        25px,
        4vw,
        35px
    );

    line-height: 1.15;

    letter-spacing: -0.7px;
}

.screen-introduction {
    max-width: 690px;

    margin:
        0 auto
        30px;

    color: #716a80;

    font-size: 16px;
    line-height: 1.7;
}

.screen-introduction strong {
    color: #57447f;
}


/* =========================================================
   9. INTRO
   ========================================================= */

.intro-panel {
    padding-top: 52px;
}

.intro-sun {
    width: 95px;
    height: 95px;

    margin:
        0 auto
        20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #f3efff,
            #e8e0ff
        );

    font-size: 46px;

    transform: rotate(-2deg);

    box-shadow:
        0 12px 25px
        rgba(103, 77, 171, 0.12);
}

.travel-intro-grid {
    max-width: 650px;

    margin:
        29px auto
        34px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}

.travel-intro-card {
    min-height: 145px;

    padding: 21px 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 20px;

    background: #faf8ff;

    border:
        1px solid #eee8fa;
}

.travel-intro-card span {
    font-size: 32px;
}

.travel-intro-card strong {
    color: #4d3d70;

    font-size: 16px;
}

.travel-intro-card small {
    color: #9188a4;

    font-size: 12px;
}


/* =========================================================
   10. MAIN ACTION BUTTON
   ========================================================= */

.main-action-button {
    min-width: 185px;
    min-height: 49px;

    margin-top: 25px;

    padding:
        13px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #8b72d8,
            #7157c0
        );

    color: #fff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 9px 20px
        rgba(104, 76, 181, 0.2);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.main-action-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(104, 76, 181, 0.25);
}

.main-action-button:active {
    transform: translateY(0);
}

.main-action-button span {
    font-size: 18px;
}


/* =========================================================
   11. VOCABULARY
   ========================================================= */

.vocabulary-grid {
    margin-top: 8px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 13px;
}

.vocabulary-card {
    min-height: 175px;

    padding: 20px 12px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 19px;

    background: #faf9fd;

    border:
        1px solid #eeeaf6;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.vocabulary-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 23px
        rgba(67, 50, 107, 0.08);
}

.vocabulary-icon {
    margin-bottom: 9px;

    font-size: 34px;
}

.vocabulary-card strong {
    margin-bottom: 3px;

    color: #45375f;

    font-size: 16px;
}

.vocabulary-card small {
    margin-bottom: 11px;

    color: #938b9f;

    font-size: 12px;
}


/* =========================================================
   12. SPEAK BUTTON
   ========================================================= */

.speak-button {
    width: 34px;
    height: 34px;

    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eee9fa;

    color: #6f58ad;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.speak-button:hover {
    background: #e3dcf7;

    transform: scale(1.07);
}


/* =========================================================
   13. TRAVEL / TRIP / JOURNEY
   ========================================================= */

.three-word-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin:
        7px 0
        23px;
}

.word-meaning-card {
    min-height: 225px;

    padding: 24px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 20px;

    background: #faf8ff;

    border:
        1px solid #ebe5f7;
}

.word-meaning-card > span {
    margin-bottom: 10px;

    font-size: 36px;
}

.word-meaning-card strong {
    color: #513f78;

    font-size: 22px;
}

.word-meaning-card small {
    min-height: 37px;

    margin:
        5px 0
        15px;

    color: #8b829a;

    font-size: 12px;
    line-height: 1.45;
}

.word-meaning-card p {
    width: 100%;

    margin-top: auto;

    padding: 10px;

    border-radius: 11px;

    background: white;

    color: #665b74;

    font-size: 13px;
}


/* =========================================================
   14. NOTES
   ========================================================= */

.important-note,
.golden-tip {
    max-width: 760px;

    margin:
        24px auto
        5px;

    padding:
        17px 20px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    border-radius: 17px;

    text-align: left;
}

.important-note {
    background: #f5f1ff;

    border:
        1px solid #e6ddfb;
}

.golden-tip {
    background: #fffaf0;

    border:
        1px solid #f3e5bd;
}

.important-note > span,
.golden-tip > span {
    flex: 0 0 auto;

    font-size: 22px;
}

.important-note p,
.golden-tip p {
    color: #665e73;

    font-size: 14px;
    line-height: 1.65;
}

.important-note strong {
    color: #57417f;
}

.golden-tip strong {
    color: #705d2d;
}


/* =========================================================
   15. TRANSPORT
   ========================================================= */

.transport-grid,
.destination-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}

.transport-card,
.destination-card {
    min-height: 142px;

    padding: 19px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: #faf9fd;

    border:
        1px solid #ede9f5;
}

.transport-card span,
.destination-card span {
    margin-bottom: 8px;

    font-size: 34px;
}

.transport-card strong,
.destination-card strong {
    color: #4c3e66;

    font-size: 16px;
}

.transport-card small,
.destination-card small {
    margin-top: 4px;

    color: #938b9f;

    font-size: 12px;
}


/* =========================================================
   16. GRAMMAR HERO
   ========================================================= */

.grammar-hero-card {
    max-width: 650px;

    margin:
        5px auto
        27px;

    padding: 22px 26px;

    display: flex;
    align-items: center;

    gap: 20px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #f5f1ff,
            #fbf9ff
        );

    border:
        1px solid #e6def8;

    text-align: left;
}

.grammar-hero-icon {
    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: white;

    font-size: 33px;

    box-shadow:
        0 7px 18px
        rgba(75, 55, 125, 0.08);
}

.grammar-hero-content {
    display: flex;
    flex-direction: column;
}

.grammar-word {
    margin-bottom: 3px;

    color: #8c7bac;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.3px;
}

.grammar-hero-content strong {
    color: #513c7d;

    font-size: 25px;
}

.grammar-hero-content p {
    margin-top: 5px;

    color: #7e748d;

    font-size: 13px;
}


/* =========================================================
   17. EXAMPLE SENTENCES
   ========================================================= */

.example-list {
    max-width: 720px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 11px;
}

.example-sentence-box {
    min-height: 76px;

    padding: 13px 15px;

    display: grid;

    grid-template-columns:
        40px 1fr 38px;

    align-items: center;

    gap: 13px;

    border-radius: 16px;

    background: #faf9fc;

    border:
        1px solid #eeeaf4;

    text-align: left;
}

.example-number {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #ede7fa;

    color: #7159b2;

    font-size: 13px;
    font-weight: 900;
}

.example-sentence-box > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.example-sentence-box strong {
    color: #45395a;

    font-size: 14px;
}

.example-sentence-box div > span {
    color: #958d9f;

    font-size: 12px;
}


/* =========================================================
   18. ACTIVITY PANEL
   ========================================================= */

.activity-panel {
    max-width: 820px;

    padding-top: 43px;
}

.activity-question-icon {
    width: 75px;
    height: 75px;

    margin:
        2px auto
        18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: #f1edfb;

    font-size: 35px;
}

.activity-question {
    max-width: 630px;

    margin:
        18px auto
        23px;

    color: #51485e;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.5;
}

.activity-options {
    max-width: 650px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.activity-option,
.option-button {
    min-height: 58px;

    padding: 13px 16px;

    border-radius: 14px;

    background: #faf9fc;

    border:
        1px solid #e8e3ef;

    color: #4d445a;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease;
}

.activity-option:hover,
.option-button:hover {
    transform: translateY(-2px);

    border-color: #cfc3ea;

    background: #f7f3ff;
}

.activity-option.correct,
.option-button.correct {
    background: #edf9f1;

    border-color: #aad8b9;

    color: #37714a;
}

.activity-option.wrong,
.option-button.wrong {
    background: #fff1f2;

    border-color: #efb8be;

    color: #9a4e58;

    animation:
        wrongShake 0.25s ease;
}

@keyframes wrongShake {

    0%,
    100% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-4px);
    }

    66% {
        transform: translateX(4px);
    }
}

.activity-feedback {
    min-height: 27px;

    margin-top: 17px;

    font-size: 13px;
    font-weight: 800;
}

.correct-feedback {
    color: #4d8a60;
}

.wrong-feedback {
    color: #b35c67;
}

.hidden-button {
    display: none !important;
}


/* =========================================================
   19. HOLIDAY ACTIVITIES
   ========================================================= */

.holiday-activities-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.holiday-activity-card {
    min-height: 155px;

    padding: 18px 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #faf9fd;

    border:
        1px solid #ede9f5;
}

.holiday-activity-card span {
    margin-bottom: 8px;

    font-size: 31px;
}

.holiday-activity-card strong {
    color: #4c3f64;

    font-size: 13px;
}

.holiday-activity-card small {
    margin-top: 5px;

    color: #968fa1;

    font-size: 11px;
}


/* =========================================================
   20. TRAVEL PHRASES
   ========================================================= */

.travel-phrases-list {
    max-width: 720px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.travel-phrase {
    min-height: 74px;

    padding: 13px 15px;

    display: grid;

    grid-template-columns:
        42px 1fr 36px;

    align-items: center;

    gap: 12px;

    border-radius: 16px;

    background: #faf9fc;

    border:
        1px solid #ede8f4;

    text-align: left;
}

.travel-phrase > span {
    font-size: 25px;
}

.travel-phrase > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.travel-phrase strong {
    color: #463a5c;

    font-size: 14px;
}

.travel-phrase small {
    color: #938a9e;

    font-size: 11px;
}


/* =========================================================
   21. FUTURE SIMPLE FORMULA
   ========================================================= */

.sentence-formula {
    max-width: 580px;

    margin:
        5px auto
        27px;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    border-radius: 19px;

    background: #f8f5ff;

    border:
        1px solid #e7e0f6;

    color: #8a7e9b;

    font-weight: 800;
}

.formula-piece {
    padding: 10px 17px;

    border-radius: 11px;

    background: white;

    color: #554866;

    border:
        1px solid #e8e3ef;
}

.special-piece {
    background: #8168cb;

    border-color: #8168cb;

    color: white;
}


/* =========================================================
   22. DIALOGUE
   ========================================================= */

.dialogue-card {
    max-width: 700px;

    margin:
        4px auto
        23px;

    padding: 22px;

    display: flex;
    flex-direction: column;

    gap: 15px;

    border-radius: 21px;

    background: #faf9fc;

    border:
        1px solid #ece7f3;
}

.dialogue-row {
    display: flex;
    align-items: flex-end;

    gap: 11px;
}

.dialogue-right {
    flex-direction: row-reverse;
}

.dialogue-person {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eee9f8;

    font-size: 22px;
}

.dialogue-bubble {
    max-width: 73%;

    padding: 12px 15px;

    display: flex;
    flex-direction: column;

    gap: 4px;

    border-radius:
        15px 15px 15px 4px;

    background: white;

    border:
        1px solid #e9e4ef;

    text-align: left;
}

.dialogue-right .dialogue-bubble {
    border-radius:
        15px 15px 4px 15px;

    background: #f2edff;
}

.dialogue-bubble strong {
    color: #493d5e;

    font-size: 13px;
}

.dialogue-bubble small {
    color: #958d9f;

    font-size: 11px;
}


/* =========================================================
   23. LISTEN BUTTON
   ========================================================= */

.listen-button {
    min-height: 45px;

    padding: 11px 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #eee9fa;

    color: #67509f;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.listen-button:hover {
    background: #e5def7;

    transform: translateY(-1px);
}


/* =========================================================
   24. READING
   ========================================================= */

.reading-story-card {
    max-width: 720px;

    margin:
        3px auto
        22px;

    padding: 24px;

    display: grid;

    grid-template-columns:
        65px 1fr;

    gap: 20px;

    border-radius: 21px;

    background: #faf9fc;

    border:
        1px solid #ece7f3;

    text-align: left;
}

.story-character {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #eee9f8;

    font-size: 32px;
}

.story-text {
    color: #62596e;

    font-size: 14px;
    line-height: 1.75;
}

.story-text p + p {
    margin-top: 9px;
}

.story-text mark {
    padding: 1px 4px;

    border-radius: 5px;

    background: #eee7ff;

    color: #594582;
}


/* =========================================================
   25. LISTENING
   ========================================================= */

.listening-illustration {
    width: 86px;
    height: 86px;

    margin:
        3px auto
        18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;

    background: #f0ecfa;

    font-size: 40px;
}


/* =========================================================
   26. CLUE CARD
   ========================================================= */

.clue-card {
    max-width: 470px;

    margin:
        5px auto
        24px;

    padding: 20px;

    border-radius: 18px;

    background: #fffaf2;

    border:
        1px solid #f1e4c6;
}

.clue-card span {
    display: block;

    margin-bottom: 7px;

    font-size: 31px;
}

.clue-card p {
    color: #74694f;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   27. HOLIDAY BUILDER
   ========================================================= */

.holiday-builder {
    max-width: 670px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.holiday-builder-row {
    min-height: 102px;

    padding: 17px;

    display: flex;
    align-items: center;

    gap: 14px;

    border-radius: 17px;

    background: #faf9fc;

    border:
        1px solid #ece7f3;

    text-align: left;
}

.holiday-builder-row > span {
    width: 44px;

    flex: 0 0 44px;

    font-size: 28px;
}

.holiday-builder-row > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.holiday-builder-row small {
    color: #9a90a8;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}

.holiday-builder-row strong {
    color: #4d405f;

    font-size: 14px;
}


/* =========================================================
   28. VIDEO
   ========================================================= */

.video-frame {
    width: min(680px, 100%);
    aspect-ratio: 16 / 9;

    margin:
        5px auto
        24px;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #eee8ff,
            #f8f5ff
        );

    border:
        1px solid #e1d9f3;

    box-shadow:
        0 11px 30px
        rgba(74, 54, 124, 0.08);
}

.video-frame iframe {
    width: 100%;
    height: 100%;

    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #63517f;
}

.video-play-icon {
    width: 62px;
    height: 62px;

    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7d64c6;

    color: white;

    font-size: 20px;

    box-shadow:
        0 8px 20px
        rgba(96, 70, 166, 0.22);
}

.video-placeholder strong {
    font-size: 16px;
}

.video-placeholder p {
    color: #978ca7;

    font-size: 12px;
}


/* =========================================================
   29. QUICK REVIEW
   ========================================================= */

.review-grid {
    display: grid;

    gap: 13px;
}

.four-review-grid {
    grid-template-columns:
        repeat(2, 1fr);
}

.review-card {
    min-height: 155px;

    padding: 21px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: #faf9fc;

    border:
        1px solid #ece7f3;
}

.review-card span {
    margin-bottom: 8px;

    font-size: 31px;
}

.review-card strong {
    margin-bottom: 6px;

    color: #5c497f;

    font-size: 12px;

    letter-spacing: 0.8px;
}

.review-card p {
    color: #8e8599;

    font-size: 12px;
    line-height: 1.55;
}

.big-golden-tip {
    margin-top: 23px;
}


/* =========================================================
   30. FINAL MAP
   ========================================================= */

.map-panel {
    max-width: 820px;
}

.adventure-map {
    max-width: 660px;

    margin:
        5px auto
        20px;

    display: flex;
    flex-direction: column;

    gap: 10px;

    position: relative;
}

.adventure-map::before {
    content: "";

    position: absolute;

    left: 34px;
    top: 45px;
    bottom: 45px;

    width: 2px;

    background: #e5dff1;

    z-index: 0;
}

.map-level {
    width: 100%;
    min-height: 75px;

    padding: 12px 16px;

    display: grid;

    grid-template-columns:
        44px 1fr 35px;

    align-items: center;

    gap: 12px;

    border-radius: 17px;

    background: #f8f7fa;

    border:
        1px solid #ece8f1;

    color: #9a93a3;

    text-align: left;

    position: relative;
    z-index: 1;

    cursor: not-allowed;

    opacity: 0.7;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.map-level.unlocked {
    background: white;

    border-color: #d8cdec;

    color: #4e405f;

    cursor: pointer;

    opacity: 1;
}

.map-level.unlocked:hover {
    transform: translateX(4px);

    box-shadow:
        0 8px 19px
        rgba(70, 51, 112, 0.08);
}

.map-level.completed {
    background: #f1f9f3;

    border-color: #c6e1cd;

    color: #4d7657;

    cursor: default;

    opacity: 1;
}

.level-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #efebf5;

    font-size: 23px;
}

.map-level.unlocked .level-icon {
    background: #eee8fb;
}

.map-level.completed .level-icon {
    background: #e1f2e5;
}

.level-text {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.level-text strong {
    font-size: 14px;
}

.level-text small {
    color: #9a92a5;

    font-size: 11px;
}

.level-status {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1edf6;

    font-size: 12px;
}

.map-level.unlocked .level-status {
    background: #7d65c6;

    color: white;
}

.map-level.completed .level-status {
    background: #cce9d3;

    color: #417150;
}

.map-message {
    min-height: 25px;

    margin-top: 10px;

    color: #74648f;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   31. LARGE ANSWERS
   ========================================================= */

.large-options {
    grid-template-columns: 1fr;
}

.large-options .activity-option {
    min-height: 55px;
}


/* =========================================================
   32. COMPLETION
   ========================================================= */

.completion-panel {
    max-width: 820px;

    padding-top: 52px;
}

.completion-trophy {
    width: 105px;
    height: 105px;

    margin:
        0 auto
        20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #fff8dd,
            #f8e9ad
        );

    font-size: 52px;

    box-shadow:
        0 12px 28px
        rgba(164, 128, 44, 0.12);
}

.completion-text {
    max-width: 610px;

    margin:
        0 auto
        26px;

    color: #71687d;

    font-size: 15px;
    line-height: 1.7;
}

.completion-text strong {
    color: #554274;
}

.achievement-card {
    max-width: 530px;

    margin:
        0 auto
        22px;

    padding: 18px 21px;

    display: flex;
    align-items: center;

    gap: 16px;

    border-radius: 19px;

    background:
        linear-gradient(
            135deg,
            #f4f0ff,
            #fbf9ff
        );

    border:
        1px solid #e4dcf7;

    text-align: left;
}

.achievement-icon {
    width: 63px;
    height: 63px;

    flex: 0 0 63px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: white;

    font-size: 31px;

    box-shadow:
        0 7px 18px
        rgba(70, 51, 112, 0.07);
}

.achievement-card > div:last-child {
    display: flex;
    flex-direction: column;
}

.achievement-card small {
    margin-bottom: 3px;

    color: #9587ad;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.achievement-card strong {
    color: #554076;

    font-size: 18px;
}

.achievement-card p {
    margin-top: 3px;

    color: #9a91a4;

    font-size: 11px;
}

.completion-skills {
    max-width: 560px;

    margin:
        0 auto
        5px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 8px;
}

.completion-skills div {
    padding: 8px 12px;

    border-radius: 999px;

    background: #f8f6fb;

    border:
        1px solid #ece7f3;

    color: #766d80;

    font-size: 11px;
    font-weight: 700;
}

.completion-skills span {
    margin-right: 4px;

    color: #66a478;
}


/* =========================================================
   33. DISABLED BUTTONS
   ========================================================= */

button:disabled {
    cursor: default;
    opacity: 0.65;
}


/* =========================================================
   34. TABLET
   ========================================================= */

@media (max-width: 850px) {

    .lesson-panel {
        padding:
            38px 34px
            40px;
    }

    .vocabulary-grid,
    .holiday-activities-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .three-word-grid {
        grid-template-columns: 1fr;
    }

    .word-meaning-card {
        min-height: 190px;
    }
}


/* =========================================================
   35. SMALL TABLET
   ========================================================= */

@media (max-width: 680px) {

    .lesson-navigation {
        height: 65px;

        padding:
            0 18px;
    }

    .chapter-number {
        font-size: 8px;
    }

    .chapter-name {
        font-size: 12px;
    }

    .lesson-logo {
        width: 39px;
        height: 39px;
    }

    .lesson-progress-wrapper {
        width:
            calc(100% - 28px);
    }

    .lesson-screen {
        padding:
            25px 13px
            55px;
    }

    .lesson-panel {
        padding:
            32px 20px
            35px;

        border-radius: 22px;
    }

    .travel-intro-grid,
    .transport-grid,
    .destination-grid,
    .holiday-builder,
    .four-review-grid {
        grid-template-columns: 1fr;
    }

    .travel-intro-card {
        min-height: 115px;
    }

    .activity-options {
        grid-template-columns: 1fr;
    }

    .grammar-hero-card {
        flex-direction: column;

        text-align: center;
    }

    .example-sentence-box {
        grid-template-columns:
            37px 1fr 34px;
    }

    .reading-story-card {
        grid-template-columns: 1fr;
    }

    .story-character {
        margin: 0 auto;
    }

    .story-text {
        text-align: left;
    }
}


/* =========================================================
   36. MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .lesson-navigation {
        padding:
            0 13px;
    }

    .lesson-brand {
        gap: 9px;
    }

    .chapter-name {
        max-width: 150px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .close-lesson-button {
        width: 35px;
        height: 35px;
    }

    .lesson-panel {
        padding:
            29px 15px
            32px;

        border-radius: 19px;
    }

    .screen-introduction {
        font-size: 14px;
    }

    .vocabulary-grid,
    .holiday-activities-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 9px;
    }

    .vocabulary-card,
    .holiday-activity-card {
        min-height: 145px;
    }

    .travel-phrase {
        grid-template-columns:
            34px 1fr 33px;

        padding:
            11px 10px;
    }

    .dialogue-card {
        padding: 14px;
    }

    .dialogue-bubble {
        max-width: 82%;
    }

    .sentence-formula {
        padding: 15px 10px;
    }

    .formula-piece {
        padding:
            8px 12px;
    }

    .adventure-map::before {
        left: 27px;
    }

    .map-level {
        grid-template-columns:
            35px 1fr 29px;

        padding:
            10px;
    }

    .level-icon {
        width: 35px;
        height: 35px;

        font-size: 19px;
    }

    .level-text strong {
        font-size: 12px;
    }

    .level-text small {
        font-size: 9px;
    }

    .main-action-button {
        width: 100%;

        min-width: 0;
    }
}


/* =========================================================
   37. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 350px) {

    .vocabulary-grid,
    .holiday-activities-grid {
        grid-template-columns: 1fr;
    }
}