@import url("grade-3-lesson-12.css");


/* ==================================================
   GRADE 3 — LESSON 13
   ANIMALS AND HABITATS
================================================== */


/* ==================================================
   BODY
================================================== */

.animals-habitats-body {
    background:
        radial-gradient(
            circle at 8% 8%,
            rgba(91, 190, 151, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 93% 13%,
            rgba(195, 235, 222, 0.62),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 95%,
            rgba(152, 215, 191, 0.22),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f2fbf7 0%,
            #fcfefd 48%,
            #edf8f4 100%
        );

    color: #2f3e3c;
}


.animals-habitats-body .floating-symbol {
    color: rgba(38, 121, 104, 0.08);
}


/* ==================================================
   GLOBAL LESSON COLORS
================================================== */

.animals-habitats-body .lesson-navigation {
    border:
        1px solid
        rgba(60, 156, 135, 0.13);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);
}


.animals-habitats-body .lesson-logo {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );
}


.animals-habitats-body .chapter-number,
.animals-habitats-body .screen-label {
    color: #328f7b;
}


.animals-habitats-body .chapter-name,
.animals-habitats-body h1,
.animals-habitats-body h2,
.animals-habitats-body h3 {
    color: #205f54;
}


.animals-habitats-body .lesson-progress-fill {
    background:
        linear-gradient(
            90deg,
            #328f7b,
            #63c5ad,
            #8ed7c5
        );
}


.animals-habitats-body .lesson-progress-number {
    color: #287665;
}


.animals-habitats-body .lesson-panel {
    border:
        1px solid
        rgba(60, 156, 135, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);
}


/* ==================================================
   BUTTONS
================================================== */

.animals-habitats-body .main-action-button {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    box-shadow:
        0 13px 27px
        rgba(43, 139, 118, 0.22);
}


.animals-habitats-body .main-action-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px
        rgba(43, 139, 118, 0.29);
}


.animals-habitats-body .hidden-button {
    display: none !important;
}


/* ==================================================
   INTRO
================================================== */

.animals-habitats-body .intro-page {
    max-width: 780px;

    padding:
        64px 55px 58px;
}


.animals-habitats-body .intro-sun {
    width: 100px;
    height: 100px;

    margin:
        0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 31px;

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #eaf8f4
        );

    box-shadow:
        0 15px 31px
        rgba(51, 139, 120, 0.14);

    font-size: 50px;
}


.animals-habitats-body .intro-page h1 {
    max-width: 680px;

    margin:
        10px auto 30px;

    font-size:
        clamp(
            40px,
            6vw,
            60px
        );

    line-height: 1.08;

    text-align: center;
}


.animals-habitats-body .mission-card {
    max-width: 610px;

    margin:
        0 auto 31px;

    padding:
        20px 23px;

    gap: 16px;

    border:
        1px solid
        rgba(65, 157, 136, 0.14);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #dff5ee
        );

    box-shadow:
        0 10px 25px
        rgba(40, 112, 97, 0.07);
}


.animals-habitats-body .mission-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #c8ede3,
            #eaf8f4
        );

    font-size: 24px;
}


/* ==================================================
   PAGE HEADINGS
================================================== */

.animals-habitats-body .page-heading {
    margin-bottom: 27px;
}


.animals-habitats-body .heading-icon {
    background:
        linear-gradient(
            145deg,
            #ccefe5,
            #e8f8f3
        );

    box-shadow:
        0 9px 20px
        rgba(50, 137, 118, 0.10);
}


/* ==================================================
   ACTIVITY INSTRUCTIONS
================================================== */

.animals-habitats-body .activity-instruction {
    max-width: 760px;

    margin:
        0 auto 25px;

    color: #536f68;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;

    text-align: center;
}


.animals-habitats-body .ukrainian-instruction {
    display: block;

    margin-top: 7px;

    color: #789089;

    font-size: 11px;
    font-weight: 700;
}


.animals-habitats-body .activity-instruction strong {
    color: #247b6a;
}


/* ==================================================
   ANIMAL VOCABULARY
================================================== */

.animal-vocabulary-grid {
    max-width: 900px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.animal-word-card {
    min-height: 165px;

    padding:
        21px 14px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    border:
        1px solid
        rgba(57, 150, 130, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f2
        );

    box-shadow:
        0 8px 20px
        rgba(37, 104, 90, 0.06);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.animal-word-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(61, 166, 143, 0.30);

    box-shadow:
        0 13px 25px
        rgba(37, 104, 90, 0.10);
}


.animal-word-card > span {
    min-height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 50px;

    line-height: 1;
}


.animal-word-card strong {
    margin-top: 10px;

    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


.animal-word-card small {
    margin-top: 4px;

    color: #789089;

    font-size: 10px;
    font-weight: 700;
}


/* ==================================================
   VOCABULARY TIP
================================================== */

.vocabulary-tip {
    max-width: 680px;

    margin:
        0 auto 28px;

    padding:
        15px 18px;

    display: flex;

    align-items: center;

    gap: 13px;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #dff4ee
        );
}


.vocabulary-tip > span {
    flex: 0 0 auto;

    font-size: 26px;
}


.vocabulary-tip p {
    margin: 0;

    color: #55746c;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   MORE ANIMALS
================================================== */

.ocean-animal-grid {
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
}


.ocean-animal-grid .animal-word-card:last-child {
    grid-column:
        2 / 4;
}


.wildlife-memory-strip {
    max-width: 720px;

    margin:
        0 auto 28px;

    padding:
        17px 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #f0faf7,
            #dcf4ed
        );
}


.wildlife-memory-strip > span {
    flex: 0 0 auto;

    font-size: 30px;
}


.wildlife-memory-strip strong {
    color: #247b6a;

    font:
        700 15px
        "Fredoka",
        sans-serif;
}


.wildlife-memory-strip p {
    margin:
        4px 0 0;

    color: #607b74;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   HABITAT DEFINITION
================================================== */

.habitat-definition-card {
    max-width: 760px;

    margin:
        0 auto 26px;

    padding:
        21px 23px;

    display: flex;

    align-items: center;

    gap: 18px;

    border:
        1px solid
        rgba(55, 150, 129, 0.14);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #effaf6,
            #d9f3eb
        );

    box-shadow:
        0 10px 25px
        rgba(37, 104, 90, 0.065);
}


.habitat-definition-icon {
    flex:
        0 0 68px;

    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.78);

    font-size: 35px;
}


.habitat-definition-card small {
    display: block;

    margin-bottom: 4px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.habitat-definition-card strong {
    color: #205f54;

    font:
        700 20px
        "Fredoka",
        sans-serif;
}


.habitat-definition-card p {
    margin:
        7px 0 0;

    color: #5c7870;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   HABITAT GRID
================================================== */

.habitat-grid {
    max-width: 900px;

    margin:
        0 auto 29px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.habitat-card {
    min-height: 180px;

    padding:
        18px 15px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    border:
        1px solid
        rgba(55, 149, 129, 0.13);

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(36, 102, 88, 0.065);

    text-align: center;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.habitat-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 13px 26px
        rgba(36, 102, 88, 0.10);
}


.habitat-scene {
    min-height: 73px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 42px;

    letter-spacing: 3px;
}


.habitat-card strong {
    margin-top: 9px;

    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


.habitat-card small {
    margin-top: 4px;

    color: #70877f;

    font-size: 10px;
    font-weight: 700;
}


.jungle-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e1f4e9
        );
}


.savanna-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f2f3df
        );
}


.desert-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5eedc
        );
}


.ocean-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e1f2f5
        );
}


.river-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f5ef
        );
}


.polar-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf6f7
        );
}


/* ==================================================
   LIVE / LIVES RULE
================================================== */

.live-rule-board {
    max-width: 790px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 13px;
}


.live-rule-card {
    min-height: 270px;

    padding:
        24px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        2px solid
        rgba(57, 151, 131, 0.12);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f2
        );

    box-shadow:
        0 11px 26px
        rgba(37, 104, 90, 0.07);

    text-align: center;
}


.live-rule-top {
    min-height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 53px;
}


.live-rule-card small {
    margin:
        7px 0 7px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.1px;
}


.live-rule-card > strong {
    color: #205f54;

    font:
        700 34px
        "Fredoka",
        sans-serif;
}


.live-rule-card p {
    margin:
        13px 0 0;

    color: #5d7770;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}


.live-rule-card p b {
    color: #247b6a;
}


.live-rule-divider {
    width: 47px;
    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #328f7b;

    color: #ffffff;

    font:
        800 10px
        "Manrope",
        sans-serif;

    box-shadow:
        0 8px 17px
        rgba(43, 139, 118, 0.20);
}


/* ==================================================
   GRAMMAR MEMORY
================================================== */

.wildlife-grammar-memory {
    max-width: 790px;

    margin:
        0 auto 24px;

    padding:
        18px 21px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    border:
        1px solid
        rgba(57, 151, 131, 0.13);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #eef9f5,
            #dff4ee
        );
}


.wildlife-grammar-memory > span {
    flex: 0 0 auto;

    font-size: 28px;
}


.wildlife-grammar-memory strong {
    color: #247b6a;

    font:
        700 15px
        "Fredoka",
        sans-serif;
}


.wildlife-grammar-memory p {
    margin:
        5px 0 0;

    color: #58766e;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
}


.wildlife-grammar-memory b {
    color: #205f54;
}


/* ==================================================
   SENTENCE STRIP
================================================== */

.animal-sentence-strip {
    max-width: 790px;

    margin:
        0 auto 29px;

    display: grid;

    gap: 9px;
}


.animal-sentence-strip > div {
    padding:
        13px 17px;

    display: flex;

    align-items: center;

    gap: 13px;

    border:
        1px solid
        rgba(58, 151, 131, 0.10);

    border-radius: 16px;

    background: #ffffff;

    color: #55736b;

    font-size: 20px;

    box-shadow:
        0 5px 13px
        rgba(37, 104, 90, 0.045);
}


.animal-sentence-strip span {
    font-size: 12px;
    font-weight: 700;
}


.animal-sentence-strip strong {
    color: #247b6a;
}


/* ==================================================
   MACHINE PROGRESS
================================================== */

.animals-habitats-body .machine-progress {
    margin-bottom: 16px;

    color: #287665;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;

    text-align: center;

    text-transform: uppercase;
}


/* ==================================================
   HABITAT SCANNER
================================================== */

.habitat-scanner {
    max-width: 760px;

    margin:
        0 auto 27px;

    padding:
        24px;

    overflow: hidden;

    border:
        2px solid
        rgba(57, 151, 131, 0.15);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #eaf7f2,
            #d5efe7
        );

    box-shadow:
        0 15px 34px
        rgba(37, 104, 90, 0.08);
}


.scanner-top {
    margin-bottom: 16px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: #287665;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.scanner-light-row {
    display: flex;

    gap: 6px;
}


.scanner-light-row i {
    width: 8px;
    height: 8px;

    display: block;

    border-radius: 50%;

    background: #63c5ad;

    box-shadow:
        0 0 0 3px
        rgba(255, 255, 255, 0.48);
}


.scanner-light-row i:nth-child(2) {
    opacity: 0.65;
}


.scanner-light-row i:nth-child(3) {
    opacity: 0.38;
}


.scanner-display {
    position: relative;

    min-height: 255px;

    padding:
        26px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        4px solid
        rgba(255, 255, 255, 0.94);

    border-radius: 23px;

    background:
        radial-gradient(
            circle at 50% 42%,
            #e6f7f1,
            transparent 44%
        ),
        #ffffff;

    box-shadow:
        inset 0 0 0 1px
        rgba(58, 151, 131, 0.07),
        0 9px 22px
        rgba(36, 102, 88, 0.07);
}


.scanner-lines {
    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.23;

    background:
        repeating-linear-gradient(
            180deg,
            transparent 0,
            transparent 15px,
            rgba(50, 143, 123, 0.07) 16px
        );
}


.scanner-animal {
    position: relative;

    z-index: 2;

    min-height: 120px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 82px;

    animation:
        wildlifeScanPop
        0.35s ease both;
}


@keyframes wildlifeScanPop {

    from {
        opacity: 0;

        transform:
            translateY(10px)
            scale(0.85);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.scanner-animal-name {
    position: relative;

    z-index: 2;

    color: #205f54;

    font:
        700 24px
        "Fredoka",
        sans-serif;
}


.scanner-options {
    margin-top: 14px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;
}


.scanner-options button {
    min-height: 68px;

    padding:
        12px 10px;

    cursor: pointer;

    border:
        2px solid transparent;

    border-radius: 16px;

    background: #ffffff;

    color: #287665;

    font:
        800 12px
        "Manrope",
        sans-serif;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.065);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.scanner-options button:hover {
    transform:
        translateY(-2px);

    border-color: #75cbb7;
}


/* ==================================================
   FIELD JOURNAL
================================================== */

.field-journal {
    position: relative;

    max-width: 720px;

    margin:
        0 auto 27px;

    padding-left: 21px;
}


.journal-binding {
    position: absolute;

    top: 15px;
    bottom: 15px;
    left: 0;

    width: 32px;

    z-index: 2;

    border-radius: 15px;

    background:
        repeating-linear-gradient(
            180deg,
            #328f7b 0,
            #328f7b 9px,
            transparent 9px,
            transparent 21px
        );
}


.journal-page {
    min-height: 400px;

    padding:
        25px 26px 27px 37px;

    border:
        1px solid
        rgba(55, 145, 126, 0.13);

    border-radius: 8px 25px 25px 8px;

    background:
        repeating-linear-gradient(
            180deg,
            #ffffff 0,
            #ffffff 35px,
            #e9f5f1 36px
        );

    box-shadow:
        0 15px 34px
        rgba(37, 104, 90, 0.08);
}


.journal-header {
    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.journal-animal-picture {
    min-height: 130px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 79px;
}


.journal-sentence {
    max-width: 600px;

    margin:
        5px auto 20px;

    color: #205f54;

    font:
        700
        clamp(
            20px,
            4vw,
            27px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.45;

    text-align: center;
}


.journal-options {
    max-width: 470px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.journal-options button {
    min-height: 67px;

    cursor: pointer;

    border:
        2px solid
        rgba(56, 151, 130, 0.09);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.92);

    color: #287665;

    font:
        700 18px
        "Fredoka",
        sans-serif;

    box-shadow:
        0 5px 14px
        rgba(36, 102, 88, 0.06);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.journal-options button:hover {
    transform:
        translateY(-2px);

    border-color: #75cbb7;
}


/* ==================================================
   WILDLIFE RESCUE
================================================== */

.wildlife-rescue {
    position: relative;

    max-width: 760px;

    margin:
        0 auto 27px;

    padding:
        52px 24px 24px;

    border:
        2px solid
        rgba(57, 151, 131, 0.14);

    border-radius: 29px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d7f1e9
        );

    box-shadow:
        0 15px 34px
        rgba(37, 104, 90, 0.08);
}


.rescue-alert {
    position: absolute;

    top: -13px;
    left: 50%;

    min-width: 210px;

    padding:
        10px 20px;

    transform:
        translateX(-50%);

    border:
        5px solid #f8fdfb;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    color: #ffffff;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;

    text-align: center;

    box-shadow:
        0 8px 18px
        rgba(43, 139, 118, 0.18);
}


.rescue-alert span {
    margin-right: 5px;
}


.rescue-scene {
    min-height: 275px;

    padding:
        26px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        4px solid #ffffff;

    border-radius: 23px;

    background: #ffffff;

    box-shadow:
        0 9px 23px
        rgba(36, 102, 88, 0.07);
}


.rescue-habitat-visual {
    min-height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0.58;

    font-size: 36px;
}


.lost-animal {
    min-height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 76px;
}


.rescue-scene > strong {
    color: #205f54;

    font:
        700 23px
        "Fredoka",
        sans-serif;
}


.rescue-destinations {
    margin-top: 14px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;
}


.rescue-destinations button {
    min-height: 72px;

    padding:
        12px 9px;

    cursor: pointer;

    border:
        2px solid transparent;

    border-radius: 16px;

    background: #ffffff;

    color: #287665;

    font:
        800 12px
        "Manrope",
        sans-serif;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.065);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.rescue-destinations button:hover {
    transform:
        translateY(-2px);

    border-color: #75cbb7;
}


/* ==================================================
   CORRECT / WRONG
================================================== */

.animals-habitats-body button.activity-correct,
.animals-habitats-body .activity-correct {
    border-color:
        rgba(79, 177, 103, 0.52) !important;

    background:
        #eef9ef !important;
}


.animals-habitats-body button.activity-wrong,
.animals-habitats-body .activity-wrong {
    border-color:
        rgba(217, 111, 102, 0.47) !important;

    background:
        #fff1ef !important;
}


/* ==================================================
   ACTIVITY FEEDBACK
================================================== */

.animals-habitats-body .activity-feedback {
    min-height: 24px;

    margin-top: 15px;

    color: #56756d;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.5;

    text-align: center;
}


.animals-habitats-body .activity-feedback.correct-feedback {
    color: #3d9453;
}


.animals-habitats-body .activity-feedback.wrong-feedback {
    color: #c46860;
}


/* ==================================================
   WILDLIFE TOOLKIT
================================================== */

.wildlife-toolkit {
    max-width: 820px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.wildlife-toolkit article {
    min-height: 145px;

    padding:
        18px 19px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9f7f3
        );

    box-shadow:
        0 7px 18px
        rgba(37, 104, 90, 0.055);
}


.wildlife-toolkit article > span {
    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #d2f1e8,
            #effaf7
        );

    font-size: 27px;
}


.wildlife-toolkit small {
    display: block;

    margin-bottom: 4px;

    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.wildlife-toolkit strong {
    color: #205f54;

    font:
        700 17px
        "Fredoka",
        sans-serif;
}


.wildlife-toolkit p {
    margin:
        6px 0 0;

    color: #6c837c;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}


.wildlife-toolkit b {
    color: #247b6a;
}


/* ==================================================
   EXPEDITION RULE
================================================== */

.expedition-rule {
    max-width: 760px;

    margin:
        0 auto 28px;

    padding:
        17px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d9f3eb
        );
}


.expedition-rule > span {
    flex: 0 0 auto;

    font-size: 28px;
}


.expedition-rule p {
    margin: 0;

    color: #55746c;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
}


.expedition-rule strong,
.expedition-rule b {
    color: #247b6a;
}


/* ==================================================
   VIDEO
================================================== */

.animals-habitats-body .video-intro {
    max-width: 650px;

    margin:
        0 auto 25px;

    color: #617c74;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;

    text-align: center;
}


.animals-habitats-body .video-frame-wrap {
    max-width: 820px;

    margin:
        0 auto 28px;

    padding: 10px;

    border:
        1px solid
        rgba(57, 151, 131, 0.12);

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #dff4ee,
            #eef9f6
        );

    box-shadow:
        0 13px 30px
        rgba(37, 104, 90, 0.07);
}


.animals-habitats-body .video-placeholder {
    min-height: 390px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(99, 197, 173, 0.14),
            transparent 38%
        ),
        #ffffff;

    text-align: center;
}


.animals-habitats-body .video-placeholder > span {
    margin-bottom: 15px;

    font-size: 65px;
}


.animals-habitats-body .video-placeholder strong {
    color: #205f54;

    font:
        700 24px
        "Fredoka",
        sans-serif;
}


.animals-habitats-body .video-placeholder p {
    margin:
        8px 0 0;

    color: #789089;

    font-size: 12px;
    font-weight: 700;
}


/* ==================================================
   EXTRA PRACTICE
================================================== */

.animals-habitats-body .games-intro {
    max-width: 620px;

    margin:
        0 auto 26px;

    color: #617c74;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;

    text-align: center;
}


.animals-habitats-body .external-games-grid {
    max-width: 820px;

    margin:
        0 auto 29px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 17px;
}


.animals-habitats-body .external-game-card {
    min-height: 300px;

    padding:
        25px 22px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f1
        );

    box-shadow:
        0 10px 25px
        rgba(37, 104, 90, 0.065);

    text-align: center;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.animals-habitats-body .external-game-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px
        rgba(37, 104, 90, 0.10);
}


.animals-habitats-body .game-number {
    margin-bottom: 13px;

    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.animals-habitats-body .external-game-icon {
    width: 72px;
    height: 72px;

    margin-bottom: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #d1f0e7,
            #effaf7
        );

    font-size: 37px;
}


.animals-habitats-body .external-game-card h3 {
    margin:
        0 0 8px;

    font-size: 20px;
}


.animals-habitats-body .external-game-card p {
    max-width: 260px;

    margin:
        0 0 18px;

    color: #6b837c;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}


.animals-habitats-body .external-game-card a {
    padding:
        10px 17px;

    border-radius: 999px;

    background: #dff4ee;

    color: #247b6a;

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.animals-habitats-body .external-game-card a:hover {
    transform:
        translateY(-2px);

    background: #ccece3;
}


/* ==================================================
   EXPEDITION PROGRESS
================================================== */

.expedition-progress-card {
    max-width: 760px;

    margin:
        0 auto 24px;

    padding:
        15px 19px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    border:
        1px solid
        rgba(57, 151, 131, 0.12);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #dff4ee
        );
}


.expedition-progress-card > span {
    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}


.expedition-badges {
    display: flex;

    gap: 7px;
}


.expedition-badges i {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #9ab0aa;

    font-size: 13px;
    font-weight: 900;
    font-style: normal;

    box-shadow:
        0 4px 10px
        rgba(36, 102, 88, 0.06);
}


.expedition-badges i.earned-badge {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #effaf7
        );

    color: #247b6a;
}


/* ==================================================
   WILDLIFE MAP
================================================== */

.wildlife-map {
    max-width: 800px;

    margin:
        0 auto 23px;
}


.animals-habitats-body .practice-level {
    border-color:
        rgba(58, 151, 131, 0.12);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f2
        );
}


.animals-habitats-body .practice-level:hover:not(:disabled) {
    border-color:
        rgba(58, 151, 131, 0.28);

    box-shadow:
        0 12px 25px
        rgba(37, 104, 90, 0.09);
}


.animals-habitats-body .practice-level-icon {
    background:
        linear-gradient(
            145deg,
            #d1f0e7,
            #effaf7
        );
}


.animals-habitats-body .active-practice-level {
    border-color:
        rgba(50, 143, 123, 0.27);

    background:
        linear-gradient(
            145deg,
            #f5fcfa,
            #dff4ee
        );
}


.animals-habitats-body .locked-level {
    opacity: 0.52;
}


.animals-habitats-body .practice-path-line {
    background:
        linear-gradient(
            180deg,
            rgba(99, 197, 173, 0.24),
            rgba(50, 143, 123, 0.13)
        );
}


.animals-habitats-body .level-status {
    color: #328f7b;
}


.animals-habitats-body .map-message {
    max-width: 680px;

    margin:
        18px auto 23px;

    color: #607b74;

    font-size: 11px;
    font-weight: 800;

    text-align: center;
}


/* ==================================================
   GAME WORKSPACE
================================================== */

.animals-habitats-body .game-back-button {
    color: #287665;

    border-color:
        rgba(57, 151, 131, 0.14);

    background: #e9f7f3;
}


.animals-habitats-body .game-back-button:hover {
    background: #dff4ee;
}


.animals-habitats-body .game-progress-row {
    border-color:
        rgba(57, 151, 131, 0.12);

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #e4f6f1
        );

    color: #55746c;
}


.animals-habitats-body .game-progress-row strong {
    color: #287665;
}


.animals-habitats-body .game-workspace {
    border-color:
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #f7fcfa,
            #e6f6f1
        );
}


/* ==================================================
   DYNAMIC MAP GAME CONTENT
================================================== */

.animals-habitats-body .game-workspace button {
    border-color:
        rgba(57, 151, 131, 0.11);

    color: #287665;
}


.animals-habitats-body .game-workspace button:hover {
    border-color: #75cbb7;
}


/* ==================================================
   EXPEDITION COMPLETE
================================================== */

.expedition-complete-page {
    max-width: 820px;

    text-align: center;
}


.expedition-complete-icon {
    width: 96px;
    height: 96px;

    margin:
        0 auto 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #effaf7
        );

    box-shadow:
        0 14px 30px
        rgba(51, 139, 120, 0.13);

    font-size: 48px;
}


.expedition-complete-page h2 {
    margin:
        10px 0 10px;

    font-size:
        clamp(
            34px,
            5vw,
            48px
        );
}


.expedition-complete-intro {
    max-width: 620px;

    margin:
        0 auto 25px;

    color: #6a817b;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


/* ==================================================
   EXPLORER PASSPORT
================================================== */

.explorer-passport {
    max-width: 700px;

    margin:
        0 auto 22px;

    padding:
        21px 23px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 18px;

    border:
        2px dashed
        rgba(50, 143, 123, 0.28);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #ddf3ec
        );

    text-align: left;
}


.passport-stamp {
    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        2px solid
        rgba(50, 143, 123, 0.18);

    border-radius: 50%;

    background: #ffffff;

    font-size: 35px;

    transform:
        rotate(-7deg);
}


.passport-main small {
    display: block;

    margin-bottom: 4px;

    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}


.passport-main strong {
    display: block;

    color: #205f54;

    font:
        700 19px
        "Fredoka",
        sans-serif;
}


.passport-main p {
    margin:
        5px 0 0;

    color: #6c837c;

    font-size: 10px;
    font-weight: 700;
}


.passport-stars {
    color: #328f7b;

    font-size: 13px;

    letter-spacing: 2px;

    white-space: nowrap;
}


/* ==================================================
   EXPLORER SKILLS
================================================== */

.explorer-skills {
    max-width: 650px;

    margin:
        0 auto 29px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;
}


.explorer-skills span {
    padding:
        8px 13px;

    border:
        1px solid
        rgba(58, 151, 131, 0.11);

    border-radius: 999px;

    background: #e8f7f2;

    color: #287665;

    font-size: 9px;
    font-weight: 900;
}


/* ==================================================
   FINAL REVIEW
================================================== */

.wildlife-final-review {
    max-width: 820px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.wildlife-final-review article {
    min-height: 125px;

    padding:
        17px 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(58, 151, 131, 0.11);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eaf7f3
        );

    box-shadow:
        0 6px 16px
        rgba(37, 104, 90, 0.05);
}


.wildlife-final-review article > span {
    flex: 0 0 53px;

    width: 53px;
    height: 53px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #d2f1e8,
            #effaf7
        );

    font-size: 27px;
}


.wildlife-final-review strong {
    color: #205f54;

    font:
        700 16px
        "Fredoka",
        sans-serif;
}


.wildlife-final-review p {
    margin:
        5px 0 0;

    color: #70877f;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}


/* ==================================================
   FINAL RULE
================================================== */

.final-wildlife-rule {
    max-width: 700px;

    margin:
        0 auto 28px;

    padding:
        17px 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d9f3eb
        );

    text-align: left;
}


.final-wildlife-rule > span {
    flex: 0 0 auto;

    font-size: 30px;
}


.final-wildlife-rule small {
    display: block;

    margin-bottom: 3px;

    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.final-wildlife-rule strong {
    color: #205f54;

    font:
        700 15px
        "Fredoka",
        sans-serif;
}


.final-wildlife-rule p {
    margin:
        4px 0 0;

    color: #617c74;

    font-size: 11px;
    font-weight: 700;
}


/* ==================================================
   FINISH
================================================== */

.animals-habitats-body .finish-trophy {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #effaf7
        );
}


.animals-habitats-body .finish-statistic {
    border-color:
        rgba(58, 151, 131, 0.12);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f2
        );
}


.animals-habitats-body .finish-statistic strong {
    color: #247b6a;
}


.animals-habitats-body .finish-badge {
    border-color:
        rgba(58, 151, 131, 0.14);

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d9f3eb
        );
}


.animals-habitats-body .finish-badge-icon {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #effaf7
        );
}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 900px) {

    .animal-vocabulary-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .ocean-animal-grid .animal-word-card:last-child {
        grid-column: auto;
    }


    .habitat-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .wildlife-toolkit {
        grid-template-columns: 1fr;
    }


    .wildlife-final-review {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 650px) {

    .animals-habitats-body .intro-page {
        padding:
            46px 22px 42px;
    }


    .animals-habitats-body .intro-sun {
        width: 84px;
        height: 84px;

        border-radius: 25px;

        font-size: 42px;
    }


    .animal-vocabulary-grid,
    .habitat-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 10px;
    }


    .animal-word-card {
        min-height: 145px;

        padding:
            17px 10px;
    }


    .animal-word-card > span {
        font-size: 42px;
    }


    .animal-word-card strong {
        font-size: 15px;
    }


    .habitat-card {
        min-height: 155px;

        padding:
            15px 10px;
    }


    .habitat-scene {
        font-size: 31px;

        letter-spacing: 1px;
    }


    .habitat-definition-card {
        align-items: flex-start;

        padding:
            18px;

        gap: 13px;
    }


    .habitat-definition-icon {
        flex-basis: 55px;

        width: 55px;
        height: 55px;

        border-radius: 16px;

        font-size: 28px;
    }


    .habitat-definition-card strong {
        font-size: 17px;
    }


    .live-rule-board {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .live-rule-divider {
        margin: -3px auto;

        transform:
            rotate(90deg);
    }


    .live-rule-card {
        min-height: 225px;
    }


    .scanner-options,
    .rescue-destinations {
        grid-template-columns: 1fr;
    }


    .scanner-display,
    .rescue-scene {
        min-height: 225px;
    }


    .scanner-animal {
        font-size: 67px;
    }


    .field-journal {
        padding-left: 14px;
    }


    .journal-binding {
        width: 24px;
    }


    .journal-page {
        padding:
            21px 17px 23px 29px;
    }


    .journal-header {
        gap: 10px;

        font-size: 7px;
    }


    .journal-options {
        gap: 8px;
    }


    .wildlife-toolkit article {
        align-items: flex-start;
    }


    .animals-habitats-body .external-games-grid {
        grid-template-columns: 1fr;
    }


    .explorer-passport {
        grid-template-columns: 1fr;

        justify-items: center;

        text-align: center;
    }


    .passport-stars {
        white-space: normal;
    }


    .expedition-progress-card {
        flex-direction: column;

        justify-content: center;
    }


    .final-wildlife-rule {
        align-items: flex-start;
    }

}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 430px) {

    .animal-vocabulary-grid,
    .habitat-grid {
        grid-template-columns: 1fr;
    }


    .animal-word-card {
        min-height: 130px;
    }


    .habitat-card {
        min-height: 140px;
    }


    .journal-options {
        grid-template-columns: 1fr;
    }


    .explorer-skills {
        flex-direction: column;

        align-items: stretch;
    }


    .explorer-skills span {
        text-align: center;
    }

}