/* =========================================================
   NORLO — SHARED
   ========================================================= */

.panel,
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.panel {
    padding: 28px;
}

.island-card {
    display: grid;
    gap: 18px;
}

.island-card p,
.section-copy,
.area-card p,
.profile-panel p,
.challenge-card p,
.verify-label,
.verify-step {
    color: var(--muted);
}


/* =========================================================
   SHARED SECTION HEADERS
   ========================================================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 18px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.55rem;
}

.section-header p {
    margin: 4px 0 0;
}

.section-header .eyebrow,
.hero-panel .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--accent-fuel);

    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* =========================================================
   SHARED CHALLENGES — CLEAN NORLO SYSTEM
   ========================================================= */

.challenge-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;

    padding: 26px 28px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(18, 34, 56, 0.08);
    border-radius: 24px;

    box-shadow:
        0 10px 28px rgba(18, 34, 56, 0.045);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.challenge-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(15, 98, 254, 0.045),
            transparent 30%
        );

    pointer-events: none;
}

.challenge-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(18, 34, 56, 0.07);

    border-color:
        rgba(18, 34, 56, 0.12);
}


/* ---------------------------------------------------------
   COMPLETED / LOCKED
   --------------------------------------------------------- */

.challenge-card.completed {
    background: #f8fbf9;
    border-color: rgba(22, 163, 74, 0.22);
}

.challenge-card.completed::after {
    display: none;
}

.challenge-card.locked {
    opacity: 0.62;
    pointer-events: none;
}


/* ---------------------------------------------------------
   TOP CONTENT
   --------------------------------------------------------- */

.challenge-card .card-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 32px;
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.challenge-card .challenge-title {
    margin: 0;

    color: var(--text);

    font-size: 1.18rem;
    font-weight: 750;

    line-height: 1.3;
    letter-spacing: -0.35px;
}

.challenge-card .challenge-description {
    max-width: 620px;

    margin: 9px 0 0;

    color: var(--muted);

    font-size: 0.92rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   BADGES
   --------------------------------------------------------- */

.challenge-card .challenge-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 8px;

    flex-shrink: 0;

    max-width: 48%;
}

.challenge-card .badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    border-radius: 999px;

    background: #f4f6f5;

    color: #6f7c74;

    font-size: 0.72rem;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}

.challenge-card .badge.difficulty {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.challenge-card .xp-pill {
    background: #eef5ef;
    color: #4f7559;
}

.challenge-card .estimate {
    background: #f5f6f7;
    color: #707b76;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.challenge-card .challenge-footer {
    position: relative;
    z-index: 1;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 24px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid rgba(18, 34, 56, 0.07);
}

.challenge-card .challenge-status {
    color: var(--accent-fuel);

    font-size: 0.78rem;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.challenge-card.completed .challenge-status {
    color: var(--accent-grow);
}


/* ---------------------------------------------------------
   LOCK HINT
   --------------------------------------------------------- */

.challenge-card .locked-hint {
    margin-top: 6px;

    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   ACTION
   --------------------------------------------------------- */

.challenge-card .challenge-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.challenge-card .challenge-actions button,
.challenge-card .challenge-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 112px;

    padding: 11px 17px;

    border-radius: 12px;

    font-size: 0.84rem;
    font-weight: 750;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   PRIMARY ACTION
   --------------------------------------------------------- */

.challenge-card .challenge-actions button {
    border: 1px solid #16352a;

    background: #16352a;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 180ms ease,
        transform 180ms ease,
        opacity 180ms ease;
}

.challenge-card .challenge-actions button:hover:not(:disabled) {
    background: #10291f;
    transform: translateY(-1px);
}

.challenge-card .challenge-actions button:disabled {
    opacity: 0.55;
    cursor: default;
}


/* ---------------------------------------------------------
   LINK ACTION
   --------------------------------------------------------- */

.challenge-card .challenge-actions a {
    border: 1px solid #dce4de;

    background: #f4f7f4;

    color: #315f40;

    text-decoration: none;
}

.challenge-card .challenge-actions a:hover {
    background: #edf3ee;
}


/* ---------------------------------------------------------
   COMPLETED STATE
   --------------------------------------------------------- */

.challenge-card.completed .challenge-actions button {
    border-color: #d8e4db;

    background: #eef4ef;

    color: #4f7559;
}

.challenge-card.completed .challenge-actions button:hover {
    transform: none;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .challenge-card {
        padding: 22px;
        border-radius: 20px;
    }

    .challenge-card .card-top {
        flex-direction: column;
        gap: 16px;
    }

    .challenge-card .challenge-badges {
        justify-content: flex-start;
        max-width: none;
    }

    .challenge-card .challenge-description {
        max-width: none;
    }

    .challenge-card .challenge-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;

        margin-top: 22px;
        padding-top: 17px;
    }

    .challenge-card .challenge-actions {
        width: 100%;
    }

    .challenge-card .challenge-actions button,
    .challenge-card .challenge-actions a {
        width: 100%;
    }
}


/* =========================================================
   NORLO HOME
   ========================================================= */

.home-page {
    width: min(1180px, calc(100% - 56px));

    margin: 0 auto;

    padding: 72px 0 120px;
}


/* =========================================================
   HOME TYPOGRAPHY
   ========================================================= */

.norlo-home-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #718078;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.norlo-section-heading {
    margin-bottom: 30px;
}

.norlo-section-heading h2 {
    margin: 0;

    color: #17251d;

    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 750;

    line-height: 1;
    letter-spacing: -1.5px;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.norlo-home-hero {
    min-height: 56vh;

    display: flex;
    align-items: center;

    padding:
        30px 0
        90px;
}

.norlo-home-hero-inner {
    max-width: 900px;
}

.norlo-home-hero h1 {
    margin: 0;

    color: #17251d;

    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;

    line-height: 0.9;
    letter-spacing: -5px;
}

.norlo-home-hero h2 {
    margin: 26px 0 0;

    color: #6b7870;

    font-size: clamp(1.45rem, 3vw, 2.3rem);
    font-weight: 500;

    line-height: 1.1;
    letter-spacing: -1px;
}


/* =========================================================
   FOUR FOUNDATIONS
   ========================================================= */

.norlo-home-areas {
    margin-top: 20px;
}


.norlo-area-grid .area-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(25, 45, 32, 0.09);
}


.norlo-area-grid .area-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    margin-top: 30px;
}

.norlo-area-grid .area-badge {
    display: none;
}

.norlo-area-grid .area-meta a {
    display: inline-flex;
    align-items: center;

    padding: 0;

    background: transparent;

    color: #315f40;

    font-size: 0.86rem;
    font-weight: 750;
}

.norlo-area-grid .area-meta a:hover {
    background: transparent;
    transform: none;
}



/* =========================================================
   MORE FOR YOU
   ========================================================= */

.norlo-home-more {
    margin-top: 120px;
}



.norlo-more-item {
    position: relative;

    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 24px;

    border-radius: 22px;

    text-decoration: none;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.norlo-more-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 30px rgba(25, 45, 32, 0.07);
}

.norlo-more-area {
    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.norlo-more-item strong {
    max-width: 220px;

    color: #24342b;

    font-size: 1.55rem;
    font-weight: 750;

    line-height: 1.02;
    letter-spacing: -0.8px;
}

.norlo-more-arrow {
    align-self: flex-end;

    color: #334b3b;

    font-size: 1.25rem;
}

.norlo-more-fuel {
    background:
        linear-gradient(
            145deg,
            #f3f7f1,
            #e8f0e6
        );

    border: 1px solid #d8e4d5;
}

.norlo-more-fuel .norlo-more-area {
    color: #55745b;
}

.norlo-more-mind {
    background:
        linear-gradient(
            145deg,
            #f6f4f9,
            #ece9f2
        );

    border: 1px solid #e1dce8;
}

.norlo-more-mind .norlo-more-area {
    color: #6b617c;
}

.norlo-more-grow {
    background:
        linear-gradient(
            145deg,
            #faf7f0,
            #f3eadc
        );

    border: 1px solid #e8ddca;
}

.norlo-more-grow .norlo-more-area {
    color: #806b4c;
}


/* =========================================================
   DAILY MISSIONS
   ========================================================= */

.norlo-home-missions {
    margin-top: 100px;
}


/* First mission becomes the strongest one */

.norlo-missions-list .challenge-card:first-child {
    min-height: 280px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 32px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #f3f7f1,
            #e9f1eb
        );

    border: 1px solid #d9e5db;

    box-shadow:
        0 20px 50px rgba(35, 65, 45, 0.07);
}

.norlo-missions-list .challenge-card:first-child::after {
    display: none;
}

.norlo-missions-list
.challenge-card:first-child
.badge.difficulty,

.norlo-missions-list
.challenge-card:first-child
.badge.type {
    display: none;
}

.norlo-missions-list
.challenge-card:first-child
.xp-pill {
    padding: 0;

    background: transparent;

    color: #5b7862;

    font-size: 0.75rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.norlo-missions-list
.challenge-card:first-child
.challenge-title {
    margin-top: 20px;

    color: #1d3024;

    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;

    line-height: 0.98;
    letter-spacing: -2px;
}

.norlo-missions-list
.challenge-card:first-child
.challenge-description {
    max-width: 620px;

    margin-top: 14px;

    color: #68766e;

    font-size: 1rem;
    line-height: 1.6;
}

.norlo-missions-list
.challenge-card:first-child
.challenge-status {
    display: none;
}

.norlo-missions-list
.challenge-card:first-child
.challenge-footer {
    margin-top: 35px;
}

.norlo-missions-list
.challenge-card:first-child
.challenge-actions a {
    min-width: 0;

    padding: 13px 20px;

    border-radius: 12px;

    background: #16352a;

    border: 1px solid #16352a;

    color: #ffffff;

    font-size: 0.88rem;
}


/* Secondary missions */

.norlo-missions-list
.challenge-card:not(:first-child) {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 24px;

    padding: 20px 22px;

    border-radius: 18px;

    background: #ffffff;

    box-shadow: none;
}

.norlo-missions-list
.challenge-card:not(:first-child)::after {
    display: none;
}

.norlo-missions-list
.challenge-card:not(:first-child)
.challenge-badges {
    display: none;
}

.norlo-missions-list
.challenge-card:not(:first-child)
.challenge-description {
    margin-top: 5px;

    color: #7a857f;

    font-size: 0.85rem;
}

.norlo-missions-list
.challenge-card:not(:first-child)
.challenge-status {
    display: none;
}

.norlo-missions-list
.challenge-card:not(:first-child)
.challenge-footer {
    margin: 0;
}

.norlo-missions-list
.challenge-card:not(:first-child)
.challenge-actions a {
    min-width: auto;

    padding: 0;

    background: transparent;

    color: #315f40;

    font-size: 0.86rem;
}


/* =========================================================
   PROGRAMME
   ========================================================= */

.norlo-home-programme {
    margin-top: 120px;

    min-height: 330px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    padding: 42px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #f5f8f5,
            #eef4ef
        );

    border: 1px solid #dfe8e1;

    box-shadow:
        0 20px 50px rgba(35, 65, 45, 0.05);
}

.norlo-programme-copy {
    max-width: 620px;
}

.norlo-programme-copy h2 {
    margin: 0;

    color: #1d3024;

    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -2.5px;
}

.norlo-programme-copy p {
    margin: 16px 0 24px;

    color: #6f7c74;

    font-size: 1rem;
}

.norlo-text-link {
    display: inline-flex;

    color: #315f40;

    font-size: 0.9rem;
    font-weight: 750;

    text-decoration: none;
}

.norlo-text-link:hover {
    text-decoration: underline;
}

.norlo-programme-foundations {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px;
}

.norlo-programme-foundations span {
    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.72);

    color: #6d7a72;

    font-size: 0.72rem;
    font-weight: 700;
}


/* =========================================================
   YOUR WORLD / ISLAND
   ========================================================= */

.norlo-home-world {
    margin-top: 140px;
}

.norlo-island-preview {
    position: relative;

    display: block;

    min-height: 600px;

    overflow: hidden;

    border-radius: 36px;

    background:
        linear-gradient(
            180deg,
            #dbeaf0 0%,
            #e6eef0 44%,
            #d3e1d7 100%
        );

    border: 1px solid #d0dcd4;

    box-shadow:
        0 32px 90px rgba(35, 65, 45, 0.1);

    text-decoration: none;

    transition:
        transform 250ms ease,
        box-shadow 250ms ease;
}

.norlo-island-preview:hover {
    transform: translateY(-4px);

    box-shadow:
        0 40px 100px rgba(35, 65, 45, 0.14);
}


/* Water */

.norlo-island-visual {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.norlo-island-visual::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        repeating-radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.16) 0,
            rgba(255, 255, 255, 0.16) 2px,
            transparent 3px,
            transparent 34px
        );

    opacity: 0.35;
}


/* Main island */

.norlo-island-land {
    position: absolute;

    width: 58%;
    height: 43%;

    left: 21%;
    top: 24%;

    border-radius:
        48% 42% 44% 52%
        / 45% 48% 42% 55%;

    background:
        radial-gradient(
            ellipse at 45% 40%,
            #a8c29a 0%,
            #8eaa86 45%,
            #718d76 72%,
            #617a68 100%
        );

    transform:
        rotate(-4deg)
        skewX(-2deg);

    box-shadow:
        0 35px 55px rgba(51, 78, 60, 0.18);

    border:
        10px solid rgba(232, 225, 191, 0.8);
}


/* Island details */

.norlo-island-detail {
    position: absolute;

    z-index: 2;

    border-radius: 50%;
}

.detail-one {
    width: 90px;
    height: 70px;

    left: 34%;
    top: 32%;

    background:
        radial-gradient(
            circle,
            #5d7c5e 0%,
            #4c6d52 62%,
            transparent 65%
        );

    box-shadow:
        24px 14px 0 -4px #678562,
        45px -5px 0 -8px #72906b;
}

.detail-two {
    width: 70px;
    height: 50px;

    left: 55%;
    top: 43%;

    background:
        linear-gradient(
            145deg,
            #c8b99b,
            #a58f70
        );

    border-radius:
        45% 55% 60% 40%;
}

.detail-three {
    width: 55px;
    height: 55px;

    left: 45%;
    top: 51%;

    background:
        radial-gradient(
            circle,
            #dce6e0 0%,
            #b4c8ba 50%,
            #7e9a86 100%
        );

    box-shadow:
        0 8px 18px rgba(45, 70, 52, 0.15);
}


/* Island bottom content */

.norlo-island-overlay {
    position: absolute;

    left: 36px;
    right: 36px;
    bottom: 32px;

    z-index: 5;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 24px;

    padding: 24px;

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.58);

    backdrop-filter: blur(12px);
}

.norlo-island-overlay span {
    color: #6c7b72;

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.norlo-island-overlay strong {
    display: block;

    margin-top: 6px;

    color: #203129;

    font-size: 1.1rem;
    font-weight: 700;
}

.norlo-island-link {
    color: #315f40 !important;

    font-size: 0.88rem !important;

    white-space: nowrap;
}


/* =========================================================
   JOURNEY
   ========================================================= */

.norlo-home-journey {
    margin-top: 130px;
}

.norlo-journey-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(280px, 0.7fr);

    align-items: start;

    gap: 50px;
}

.norlo-journey-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top: 1px solid #e3e8e5;
    border-bottom: 1px solid #e3e8e5;
}

.norlo-journey-stat {
    padding: 26px 20px;

    border-right: 1px solid #e3e8e5;
}

.norlo-journey-stat:last-child {
    border-right: none;
}

.norlo-journey-stat strong {
    display: block;

    color: #26382d;

    font-size: 2rem;

    line-height: 1;
}

.norlo-journey-stat span {
    display: block;

    margin-top: 8px;

    color: #7a857f;

    font-size: 0.78rem;
}

.norlo-journey-insight {
    padding-top: 6px;
}

.norlo-journey-insight p {
    max-width: 380px;

    margin: 0 0 18px;

    color: #37483d;

    font-size: 1.25rem;

    line-height: 1.35;
    letter-spacing: -0.4px;
}


/* =========================================================
   VERIFICATION
   ========================================================= */

.verify-form {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 520px;

    gap: 18px;

    padding: 28px;

    box-sizing: border-box;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(18, 34, 56, 0.08);
}

.verify-form.hidden {
    display: none;
}

.verify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 14px;
}

.verify-title {
    margin: 0;

    font-size: 1rem;
    font-weight: 700;
}

.verify-step {
    margin: 0;

    font-size: 0.95rem;
}

.verify-description {
    color: var(--muted);

    line-height: 1.7;
}

.verify-stage {
    flex: 1 1 auto;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 20px;

    min-height: 300px;
}

.verify-summary {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    padding: 16px 18px;

    border-radius: 18px;

    background: rgba(15, 98, 254, 0.08);

    border: 1px solid rgba(15, 98, 254, 0.12);
}

.verify-summary div {
    display: grid;
    gap: 4px;
}

.verify-summary strong {
    display: block;

    color: var(--muted);

    font-size: 0.9rem;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.verify-summary span {
    color: var(--text);

    font-size: 1rem;
    font-weight: 700;
}

.reps-panel {
    display: grid;
    gap: 12px;
}

.reps-count {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 18px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(18, 34, 56, 0.12);

    font-size: 1rem;
    font-weight: 700;
}

.verify-stage input,
.verify-stage textarea {
    width: 100%;

    min-height: 54px;

    padding: 14px 16px;

    border-radius: 18px;

    border: 1px solid rgba(18, 34, 56, 0.12);

    background: #ffffff;

    color: var(--text);
}

.verify-stage textarea {
    min-height: 120px;

    resize: vertical;
}

.timer-panel {
    display: grid;
    gap: 16px;

    padding: 0;
}

.timer-display {
    font-size: 2rem;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.timer-progress {
    height: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(15, 98, 254, 0.1);
}

.timer-progress-fill {
    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--accent-fuel),
            #6b8cff
        );

    transition: width 300ms ease;
}

.verify-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 12px;
}

.result {
    min-height: 1.4rem;

    color: var(--accent-grow);

    font-size: 0.95rem;
}


/* =========================================================
   XP TOAST
   ========================================================= */

.xp-toast {
    position: fixed;

    right: 18px;
    bottom: 18px;

    z-index: 200;

    padding: 18px 22px;

    border-radius: 22px;

    background: rgba(15, 98, 254, 0.95);

    color: #ffffff;

    box-shadow:
        0 24px 48px rgba(15, 98, 254, 0.24);

    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 340ms ease,
        transform 340ms ease;
}

.xp-toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   GENERIC PROGRESS
   ========================================================= */

.progress-bar {
    height: 14px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(18, 34, 56, 0.08);
}

.progress-fill {
    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            var(--accent-fuel),
            #6b8cff
        );

    transition: width 500ms ease;
}

.progress-text {
    margin-top: 10px;

    color: var(--muted);

    font-size: 0.92rem;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-page {
    max-width: 1120px;

    margin: 0 auto;

    padding: 34px 24px 80px;
}

.profile-hero {
    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.8fr);

    gap: 32px;

    padding: 42px;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(106, 145, 255, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f4f8ff,
            #f3f8f3 55%,
            #eef4ff
        );

    border: 1px solid rgba(30, 65, 100, 0.09);

    box-shadow:
        0 24px 60px rgba(30, 55, 80, 0.08);
}

.profile-hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -110px;
    bottom: -140px;

    border-radius: 50%;

    background: rgba(91, 134, 255, 0.08);

    pointer-events: none;
}

.profile-hero-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-eyebrow {
    margin: 0 0 12px;

    color: #5277d6;

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.profile-hero h1 {
    margin: 0;

    color: #17251f;

    font-size: clamp(2.4rem, 5vw, 3.7rem);

    line-height: 1.02;
    letter-spacing: -2px;
}

#profile-name {
    color: #5277d6;
}

.profile-lead {
    max-width: 560px;

    margin: 18px 0 0;

    color: #69776f;

    font-size: 1rem;
    line-height: 1.65;
}

.profile-level-card {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 26px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(30, 65, 100, 0.08);

    box-shadow:
        0 12px 30px rgba(30, 55, 80, 0.06);

    backdrop-filter: blur(10px);
}

.profile-level-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.profile-level-top span {
    color: #74827a;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.13em;
}

.profile-level-top strong {
    color: #315f40;

    font-size: 2.3rem;
}

.profile-xp-bar {
    width: 100%;
    height: 11px;

    overflow: hidden;

    border-radius: 999px;

    background: #e7ece9;
}

.profile-xp-fill {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #66866c,
            #6f8fff
        );
}

.profile-xp-text {
    display: flex;
    justify-content: space-between;

    margin-top: 11px;

    color: #77847d;

    font-size: 0.84rem;
}

.profile-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-top: 22px;
}

.profile-stat {
    min-height: 145px;

    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    overflow: hidden;

    border-radius: 22px;

    border: 1px solid rgba(30, 50, 60, 0.08);

    box-shadow:
        0 12px 28px rgba(30, 55, 80, 0.05);
}

.profile-stat-label {
    color: #718078;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-stat strong {
    margin-top: 9px;

    font-size: 1.75rem;
}

.profile-stat-description {
    margin-top: 8px;

    color: #78847e;

    font-size: 0.82rem;
}

.stat-level {
    background: linear-gradient(135deg, #f1f7f1, #e7f0e8);
}

.stat-streak {
    background: linear-gradient(135deg, #fff7ed, #f9ecdc);
}

.stat-island {
    background: linear-gradient(135deg, #f1f5fb, #e7edf7);
}

.stat-gems {
    background: linear-gradient(135deg, #f5f1fa, #ebe6f4);
}

.profile-section {
    margin-top: 42px;
}

.profile-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 18px;
}

.profile-section-eyebrow {
    margin: 0 0 5px;

    color: #68806f;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-section-heading h2 {
    margin: 0;

    color: #203129;

    font-size: 1.55rem;
}

.profile-last-active {
    color: #7b8780;

    font-size: 0.85rem;
}

.profile-progress-card {
    padding: 26px;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid #e1e8e3;

    box-shadow:
        0 14px 35px rgba(30, 55, 40, 0.06);
}

.profile-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.profile-progress-label {
    display: block;

    margin-bottom: 5px;

    color: #77847c;

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-progress-level {
    padding: 8px 13px;

    border-radius: 999px;

    background: #edf4ee;

    color: #4f7559;

    font-size: 0.8rem;
}

.profile-progress-bar {
    height: 12px;

    overflow: hidden;

    border-radius: 999px;

    background: #e8ede9;
}

.profile-progress-fill {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #66866c,
            #7a9f82
        );
}

.profile-information {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.profile-information-card {
    padding: 22px;

    border-radius: 21px;

    background: #ffffff;

    border: 1px solid #e1e8e3;
}

.profile-information-card span {
    display: block;

    margin-bottom: 9px;

    color: #7b8780;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-information-card strong {
    color: #294936;
}

.profile-owned-items {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.profile-owned-items:empty {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    border-radius: 22px;

    border: 1px dashed #d6dfd8;

    color: #78847d;
}

.profile-store-link {
    display: inline-flex;

    padding: 9px 14px;

    border-radius: 12px;

    background: #eef4ff;

    color: #5277d6;

    font-size: 0.85rem;
    font-weight: 800;
}

.profile-settings {
    margin-top: 48px;
}

.profile-settings-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 22px 24px;
    margin-bottom: 12px;

    border-radius: 21px;

    background: #ffffff;

    border: 1px solid #e1e8e3;
}

.profile-settings-card strong {
    color: #294936;
}

.profile-settings-card p {
    margin: 5px 0 0;

    color: #7a857e;

    font-size: 0.86rem;
}

.profile-settings-card button {
    flex-shrink: 0;

    padding: 11px 17px;

    border-radius: 12px;

    border: 1px solid #d5ded7;

    background: #f4f7f4;

    color: #42634c;

    font-weight: 750;
}

.profile-settings-card.logout-card {
    border-color: #e6dfe4;
}

.profile-settings-card.logout-card button {
    background: #f7f3f6;
    border-color: #e2d9e0;
    color: #725d6c;
}

#reset-progress {
    color: #8a6444;

    background: #faf5ee;

    border-color: #eadfce;
}

#logout-button {
    margin-left: 10px;

    color: #6f6577;

    background: #f6f3f8;

    border-color: #e3dfe8;
}


/* =========================================================
   AUTH
   ========================================================= */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: #f4f7f2;
}

.auth-card {
    width: 100%;
    max-width: 430px;

    padding: 42px;

    background: #ffffff;

    border: 1px solid #e4ebe2;
    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(25, 55, 35, 0.1);
}

.auth-logo {
    margin-bottom: 30px;

    color: #16352a;

    font-size: 28px;
    font-weight: 800;
}

.auth-card h1 {
    color: #17211c;

    font-size: 34px;
    font-weight: 700;

    letter-spacing: -0.8px;
}

.auth-subtitle {
    margin: 12px 0 30px;

    color: #68736d;

    line-height: 1.5;
}

.auth-card form {
    display: flex;
    flex-direction: column;
}

.auth-card label {
    margin-bottom: 7px;

    color: #34423a;

    font-size: 14px;
    font-weight: 600;
}

.auth-card input {
    width: 100%;

    padding: 14px 15px;
    margin-bottom: 19px;

    border: 1px solid #d7ded9;
    border-radius: 12px;

    background: #fbfcfb;

    font-size: 15px;

    outline: none;
}

.auth-card input:focus {
    border-color: #6f8f7a;

    box-shadow:
        0 0 0 3px rgba(111, 143, 122, 0.15);
}

.auth-card button {
    margin-top: 5px;

    padding: 15px;

    border: none;
    border-radius: 12px;

    background: #16352a;

    color: white;

    font-size: 16px;
    font-weight: 700;
}

.auth-switch {
    margin: 24px 0 0;

    color: #68736d;

    text-align: center;

    font-size: 14px;
}

.auth-switch a {
    color: #16352a;
    font-weight: 700;
}


/* =========================================================
   AREA PAGES
   ========================================================= */

.area-header {
    position: relative;

    overflow: hidden;

    margin-bottom: 42px;

    padding: 38px 40px;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #f7faf7,
            #eef5ef
        );

    border: 1px solid #e0e9e1;

    box-shadow:
        0 10px 30px rgba(25, 45, 30, 0.06);
}

.area-header h1 {
    margin: 6px 0 10px;

    font-size: 44px;

    letter-spacing: -1.5px;
}

.area-header p,
.area-header .lead {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}

.area-progress-panel {
    margin-top: 32px;

    padding-top: 26px;

    border-top: 1px solid #dfe7e0;
}

.area-progress-panel .progress-bar-large {
    height: 9px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.75);
}

.area-progress-panel .progress-text {
    margin-top: 9px;

    color: #68756c;
}

.area-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 52px;
}

.area-summary-grid .metric-card {
    min-height: 105px;

    padding: 22px 24px;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #e2e8e3;

    box-shadow:
        0 6px 20px rgba(25, 45, 30, 0.05);
}

.area-summary-grid .metric-label {
    display: block;

    margin-bottom: 8px;

    color: #758078;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.area-summary-grid strong {
    color: #17251b;

    font-size: 26px;
}

.challenge-area {
    margin-top: 0;

    display: grid;

    gap: 18px;
}

/* Area colours */

.area-fuel {
    background:
        linear-gradient(
            135deg,
            #f3f7f1,
            #e8f0e6
        );

    border-color: #d5e1d2;
}

.area-move {
    background:
        linear-gradient(
            135deg,
            #f1f5f8,
            #e5edf2
        );

    border-color: #d3dfe6;
}

.area-mind {
    background:
        linear-gradient(
            135deg,
            #f5f3f8,
            #ebe8f1
        );

    border-color: #ddd8e7;
}

.area-grow {
    background:
        linear-gradient(
            135deg,
            #faf6ee,
            #f3ead9
        );

    border-color: #e7dbc5;
}

body:has(.area-fuel) {
    background: #f5f8f4;
}

body:has(.area-move) {
    background: #f4f7f9;
}

body:has(.area-mind) {
    background: #f7f5f9;
}

body:has(.area-grow) {
    background: #faf7f1;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .norlo-area-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .profile-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .profile-information {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {

    .home-page {
        width: min(100% - 36px, 760px);
    }

    .norlo-home-hero {
        min-height: 48vh;
    }

    .norlo-more-grid {
        grid-template-columns: 1fr;
    }

    .norlo-home-programme {
        flex-direction: column;
        align-items: flex-start;

        min-height: 0;
    }

    .norlo-programme-foundations {
        justify-content: flex-start;
    }

    .norlo-journey-content {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .home-page {
        width: min(100% - 28px, 620px);

        padding:
            32px 0
            80px;
    }

    .norlo-home-hero {
        min-height: auto;

        padding:
            50px 0
            80px;
    }

    .norlo-home-hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);

        letter-spacing: -3px;
    }

    .norlo-home-hero h2 {
        font-size: 1.35rem;
    }

    .norlo-section-heading h2 {
        font-size: 1.8rem;
    }

    .norlo-home-more,
    .norlo-home-missions,
    .norlo-home-programme,
    .norlo-home-world,
    .norlo-home-journey {
        margin-top: 82px;
    }

    .norlo-focus-list
    .challenge-card:not(:first-child),
    .norlo-missions-list
    .challenge-card:not(:first-child) {
        grid-template-columns: 1fr;
    }

    .norlo-missions-list
    .challenge-card:first-child {
        min-height: 250px;

        padding: 26px;

        border-radius: 24px;
    }

    .norlo-missions-list
    .challenge-card:first-child
    .challenge-title {
        font-size: 2rem;
    }

    .norlo-home-programme {
        padding: 28px;

        border-radius: 24px;
    }

    .norlo-programme-copy h2 {
        font-size: 2.8rem;
    }

    .norlo-island-preview {
        min-height: 430px;

        border-radius: 28px;
    }

    .norlo-island-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;

        padding: 18px;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .norlo-island-land {
        width: 70%;
        left: 15%;
    }

    .norlo-journey-stats {
        grid-template-columns: 1fr;

        border-bottom: none;
    }

    .norlo-journey-stat {
        padding: 20px 0;

        border-right: none;
        border-bottom: 1px solid #e3e8e5;
    }

    .norlo-journey-stat:last-child {
        border-bottom: none;
    }

    .profile-page {
        padding:
            22px 16px
            60px;
    }

    .profile-hero {
        padding: 28px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .profile-owned-items {
        grid-template-columns: 1fr;
    }

    .profile-settings-card {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-settings-card button {
        width: 100%;
    }

    #logout-button {
        margin-left: 0;
    }
}


@media (max-width: 520px) {

    .norlo-area-grid {
        grid-template-columns: 1fr;
    }

    .norlo-area-grid
    .area-card {
        min-height: 175px;
    }

    .norlo-home-hero h1 {
        font-size: 2.7rem;
        letter-spacing: -2px;
    }

    .norlo-more-item {
        min-height: 150px;
    }

    .norlo-home-programme {
        padding: 24px;
    }

    .norlo-programme-copy h2 {
        font-size: 2.45rem;
    }

    .norlo-island-preview {
        min-height: 360px;
    }

    .norlo-island-land {
        width: 76%;
        left: 12%;
        top: 28%;
    }

    .norlo-island-overlay strong {
        font-size: 1rem;
    }

    .norlo-island-link {
        font-size: 0.82rem !important;
    }
}

/* =========================================================
   NORLO HOME — FINAL HOME SYSTEM
   ========================================================= */


/* ---------------------------------------------------------
   FOUR FOUNDATIONS
   --------------------------------------------------------- */

.norlo-area-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.norlo-area-grid .area-card {
    position: relative;

    min-height: 235px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border-radius: 26px;

    text-decoration: none;

    border: 1px solid rgba(30, 50, 40, 0.08);

    box-shadow:
        0 10px 28px rgba(25, 45, 32, 0.045);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.norlo-area-grid .area-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 42px rgba(25, 45, 32, 0.09);
}

.norlo-area-grid .area-card-content {
    display: flex;
    flex-direction: column;
}

.norlo-area-grid .area-label {
    margin-bottom: 28px;

    color: #718078;

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.norlo-area-grid .area-title {
    margin: 0;

    color: #1d3024;

    font-size: 2rem;
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -1.3px;
}

.norlo-area-grid .area-copy {
    max-width: 190px;

    margin: 12px 0 0;

    color: #748078;

    font-size: 0.87rem;
    line-height: 1.55;
}

.norlo-area-grid .area-meta {
    margin-top: 28px;
}

.norlo-area-grid .area-link {
    color: #315f40;

    font-size: 0.86rem;
    font-weight: 750;
}


/* Foundation colours */

.norlo-area-grid .area-fuel {
    background:
        linear-gradient(
            145deg,
            #f3f7f1,
            #e7f0e5
        );

    border-color: #d7e3d4;
}

.norlo-area-grid .area-move {
    background:
        linear-gradient(
            145deg,
            #f2f6f8,
            #e6eef2
        );

    border-color: #d8e2e8;
}

.norlo-area-grid .area-mind {
    background:
        linear-gradient(
            145deg,
            #f6f4f9,
            #ece8f1
        );

    border-color: #e0dbe7;
}

.norlo-area-grid .area-grow {
    background:
        linear-gradient(
            145deg,
            #faf7f0,
            #f2e9db
        );

    border-color: #e7dcc9;
}


/* ---------------------------------------------------------
   MORE FOR YOU
   These are now actual mission cards, not area cards.
   --------------------------------------------------------- */

.norlo-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}


/* Reset the dynamically generated secondary challenges */

.norlo-more-grid .challenge-secondary {
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 24px;

    border-radius: 22px;

    background: #ffffff;

    border: 1px solid #e2e8e4;

    box-shadow:
        0 8px 22px rgba(25, 45, 32, 0.035);

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

.norlo-more-grid .challenge-secondary:hover {
    transform: translateY(-4px);

    border-color: #d4dfd7;

    box-shadow:
        0 16px 32px rgba(25, 45, 32, 0.07);
}

.norlo-more-grid .challenge-secondary::after {
    display: none;
}

.norlo-more-grid .challenge-secondary .card-top {
    display: block;
}

.norlo-more-grid .challenge-secondary .challenge-area-label {
    display: block;

    margin-bottom: 18px;

    color: #718078;

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.norlo-more-grid .challenge-secondary .challenge-title {
    color: #26382d;

    font-size: 1.35rem;
    font-weight: 750;

    line-height: 1.05;
    letter-spacing: -0.7px;
}

.norlo-more-grid .challenge-secondary .challenge-description {
    margin-top: 9px;

    color: #78847d;

    font-size: 0.84rem;
    line-height: 1.5;
}

.norlo-more-grid .challenge-secondary .challenge-badges {
    display: none;
}

.norlo-more-grid .challenge-secondary .challenge-footer {
    margin-top: 25px;
}

.norlo-more-grid .challenge-secondary .challenge-status {
    display: none;
}

.norlo-more-grid .challenge-secondary .challenge-actions a {
    min-width: 0;

    padding: 0;

    background: transparent;

    color: #315f40;

    font-size: 0.84rem;
    font-weight: 750;
}

.norlo-more-grid .challenge-secondary .challenge-actions a:hover {
    background: transparent;
    transform: none;
}


/* ---------------------------------------------------------
   DAILY MISSIONS
   --------------------------------------------------------- */

.norlo-home-missions {
    margin-top: 110px;
}

.norlo-missions-list {
    display: grid;
    gap: 12px;
}


/* Featured mission */

.norlo-missions-list .challenge-featured {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 34px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #f3f7f1,
            #e8f0e9
        );

    border: 1px solid #d8e5da;

    box-shadow:
        0 22px 55px rgba(35, 65, 45, 0.07);
}

.norlo-missions-list .challenge-featured:hover {
    transform: translateY(-4px);

    box-shadow:
        0 30px 70px rgba(35, 65, 45, 0.1);
}

.norlo-missions-list .challenge-featured::after {
    display: none;
}

.norlo-missions-list .challenge-featured .challenge-area-label {
    display: block;

    margin-bottom: 18px;

    color: #5b7862;

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.norlo-missions-list .challenge-featured .challenge-title {
    color: #1d3024;

    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -2px;
}

.norlo-missions-list .challenge-featured .challenge-description {
    max-width: 600px;

    margin-top: 14px;

    color: #68766e;

    font-size: 0.98rem;
    line-height: 1.6;
}

.norlo-missions-list .challenge-featured .challenge-badges {
    position: absolute;

    top: 30px;
    right: 30px;
}

.norlo-missions-list .challenge-featured .badge.difficulty,
.norlo-missions-list .challenge-featured .badge.type {
    display: none;
}

.norlo-missions-list .challenge-featured .xp-pill {
    padding: 0;

    background: transparent;

    color: #5b7862;

    font-size: 0.74rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.norlo-missions-list .challenge-featured .challenge-footer {
    margin-top: 38px;
}

.norlo-missions-list .challenge-featured .challenge-status {
    display: none;
}

.norlo-missions-list .challenge-featured .challenge-actions a {
    min-width: 0;

    padding: 13px 20px;

    border-radius: 12px;

    background: #16352a;

    border: 1px solid #16352a;

    color: #ffffff;

    font-size: 0.88rem;
}

.norlo-missions-list .challenge-featured .challenge-actions a:hover {
    background: #10291f;
}


/* ---------------------------------------------------------
   ISLAND
   --------------------------------------------------------- */

.norlo-island-preview {
    min-height: 620px;

    border-radius: 38px;
}

.norlo-island-visual {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


/* Atmospheric water */

.norlo-island-visual::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 30% 35%,
            rgba(255, 255, 255, 0.32),
            transparent 25%
        ),
        radial-gradient(
            ellipse at 72% 58%,
            rgba(255, 255, 255, 0.22),
            transparent 22%
        );
}


/* Island */

.norlo-island-land {
    width: 58%;
    height: 41%;

    left: 21%;
    top: 24%;

    background:
        radial-gradient(
            ellipse at 48% 42%,
            #adc49d 0%,
            #90aa87 42%,
            #739077 72%,
            #617b68 100%
        );

    border: 12px solid rgba(232, 225, 191, 0.88);

    box-shadow:
        0 38px 60px rgba(48, 75, 57, 0.2);
}


/* More natural terrain details */

.detail-one {
    width: 105px;
    height: 80px;

    left: 31%;
    top: 33%;

    background:
        radial-gradient(
            circle at 40% 45%,
            #527054 0%,
            #47664d 55%,
            transparent 58%
        );

    box-shadow:
        20px 10px 0 -7px #607f5d,
        42px -7px 0 -10px #74936c,
        -18px 19px 0 -10px #678661;
}

.detail-two {
    width: 78px;
    height: 52px;

    left: 54%;
    top: 43%;

    background:
        linear-gradient(
            145deg,
            #ccbda2,
            #a28b6b
        );
}

.detail-three {
    width: 62px;
    height: 62px;

    left: 45%;
    top: 51%;

    background:
        radial-gradient(
            circle,
            #e0e9e2 0%,
            #b9cbbd 46%,
            #78927f 100%
        );

    box-shadow:
        0 9px 20px rgba(45, 70, 52, 0.16);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .norlo-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .norlo-more-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .norlo-area-grid {
        grid-template-columns: 1fr;
    }

    .norlo-area-grid .area-card {
        min-height: 185px;
    }

    .norlo-more-grid {
        grid-template-columns: 1fr;
    }

    .norlo-missions-list .challenge-featured {
        min-height: 270px;

        padding: 26px;

        border-radius: 24px;
    }

    .norlo-missions-list
    .challenge-featured
    .challenge-title {
        font-size: 2rem;
    }

    .norlo-island-preview {
        min-height: 430px;

        border-radius: 28px;
    }

    .norlo-island-land {
        width: 72%;
        left: 14%;
    }

    .norlo-island-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;

        flex-direction: column;
        align-items: flex-start;

        padding: 18px;
    }
}
/* =========================================================
   NORLO HOME — REAL ISLAND PREVIEW
   ========================================================= */

.norlo-island-preview {
    position: relative;

    display: block;

    min-height: 620px;

    overflow: hidden;

    border-radius: 38px;

    background:
        linear-gradient(
            180deg,
            #d9e9ee 0%,
            #e4eff1 46%,
            #d6e3d9 100%
        );

    border: 1px solid #d1ddd7;

    box-shadow:
        0 30px 80px rgba(35, 65, 45, 0.10);

    text-decoration: none;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.norlo-island-preview:hover {
    transform: translateY(-4px);

    box-shadow:
        0 38px 95px rgba(35, 65, 45, 0.14);
}


/* Real SVG island */

.norlo-island-preview-canvas {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.norlo-island-preview-canvas .norlo-world {
    display: block;

    width: 100%;
    height: 100%;
}


/* Keep the island visually large */

.norlo-island-preview-canvas svg {
    width: 100%;
    height: 100%;

    transform: scale(1.02);
}


/* Bottom information bar */

.norlo-island-overlay {
    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 30px;

    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 24px;

    padding: 22px 24px;

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.70);

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
        0 12px 30px rgba(35, 65, 45, 0.06);

    backdrop-filter: blur(14px);
}

.norlo-island-overlay span:first-child {
    display: block;

    color: #6b7a71;

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.norlo-island-overlay strong {
    display: block;

    margin-top: 6px;

    color: #203129;

    font-size: 1.1rem;
    font-weight: 700;

    letter-spacing: -0.2px;
}

.norlo-island-link {
    color: #315f40;

    font-size: 0.88rem;
    font-weight: 750;

    white-space: nowrap;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .norlo-island-preview {
        min-height: 440px;

        border-radius: 28px;
    }

    .norlo-island-preview-canvas svg {
        transform: scale(1.12);
    }

    .norlo-island-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;

        padding: 17px;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .norlo-island-overlay strong {
        font-size: 1rem;
    }

    .norlo-island-link {
        font-size: 0.82rem;
    }
}
/* =========================================================
   NORLO HOME — LIVING SKY
   ========================================================= */

.norlo-island-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: #e8f0ed;
}


/* Animated sky */

.norlo-island-preview::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background: #b9dce8;

    animation:
        norlo-sky-cycle 20s ease-in-out infinite;
}


/* Real island stays above the sky */

.norlo-island-preview-canvas {
    position: absolute;
    inset: 0;

    z-index: 2;
}

.norlo-island-overlay {
    position: absolute;
    z-index: 3;
}


/* =========================================================
   SKY CYCLE
   ========================================================= */

@keyframes norlo-sky-cycle {

    0% {
        background: #b8dce7;
    }

    25% {
        background: #e8c49a;
    }

    50% {
        background: #235301;
    }

    75% {
        background: #31445d;
    }

    100% {
        background: #b8dce7;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .norlo-island-preview::before {
        animation: none;
        background: #b9dce8;
    }
}
/* =========================================================
   NORLO BRAND
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.brand img {
    display: block;

    width: 118px;
    height: auto;

    object-fit: contain;
}

.brand:hover {
    opacity: 0.9;
}


/* Mobile */

@media (max-width: 720px) {

    .brand img {
        width: 102px;
    }
}
/* =========================================================
   NORLO — FINAL CHALLENGE + MOBILE UI POLISH
   ========================================================= */


/* =========================================================
   CHALLENGE LIST
   ========================================================= */

#area-challenge-list {
    display: grid;
    gap: 28px;
    width: 100%;
}

.challenge-area {
    display: block;
    width: 100%;
}


/* =========================================================
   CHALLENGE CARDS
   ========================================================= */

.challenge-card {
    width: 100%;
    box-sizing: border-box;

    padding: 30px;

    margin: 0;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid rgba(18, 34, 56, 0.08);

    box-shadow:
        0 12px 30px rgba(18, 34, 56, 0.045);
}


/* Give every card real breathing room */

#area-challenge-list .challenge-card + .challenge-card {
    margin-top: 0;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.challenge-card .card-top {
    gap: 36px;
}

.challenge-card .challenge-title {
    font-size: 1.2rem;
    line-height: 1.35;
}

.challenge-card .challenge-description {
    max-width: 650px;

    margin-top: 10px;

    font-size: 0.94rem;
    line-height: 1.65;
}

.challenge-card .challenge-badges {
    gap: 7px;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.challenge-card .challenge-footer {
    margin-top: 28px;
    padding-top: 22px;

    gap: 24px;
}


/* =========================================================
   CHALLENGE BUTTONS
   ========================================================= */

.challenge-card .challenge-actions {
    min-width: 120px;
}

.challenge-card .challenge-actions button,
.challenge-card .challenge-actions a {
    min-height: 46px;

    min-width: 120px;

    padding: 12px 18px;

    border-radius: 12px;

    font-size: 0.85rem;
}


/* =========================================================
   AREA PAGE SPACING
   ========================================================= */

.area-header {
    margin-bottom: 54px;
}

.area-summary-grid {
    margin-bottom: 64px;
}

.challenge-area {
    margin-top: 0;
}


/* =========================================================
   VERIFICATION FORM
   ========================================================= */

.verify-form {
    width: 100%;
    box-sizing: border-box;

    margin-top: 28px;

    padding: 28px;

    border-radius: 24px;
}

.verify-stage {
    gap: 20px;
}

.verify-description {
    margin: 0;

    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================================
   VERIFICATION INPUTS
   ========================================================= */

.verify-stage input,
.verify-stage textarea {
    box-sizing: border-box;

    min-height: 52px;

    padding: 14px 16px;

    border-radius: 14px;

    font-size: 16px;
}

.verify-stage textarea {
    min-height: 140px;
}


/* =========================================================
   GPS PANEL
   ========================================================= */

.gps-panel {
    display: grid;
    gap: 18px;

    padding: 24px;

    border-radius: 20px;

    background: rgba(15, 98, 254, 0.045);

    border: 1px solid rgba(15, 98, 254, 0.08);
}

.gps-distance-display {
    display: flex;

    align-items: baseline;

    gap: 8px;
}

.gps-distance-display strong {
    font-size: 3rem;

    line-height: 1;

    letter-spacing: -2px;
}

.gps-distance-display span {
    color: var(--muted);

    font-size: 0.9rem;
}

.gps-status {
    min-height: 22px;

    color: var(--muted);

    font-size: 0.86rem;

    line-height: 1.5;
}


/* =========================================================
   CHECKPOINTS
   ========================================================= */

.checkpoint-options {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}

.checkpoint-option {
    min-height: 52px;

    padding: 13px 16px;

    border: 1px solid rgba(18, 34, 56, 0.1);

    border-radius: 14px;

    background: #ffffff;

    color: var(--text);

    font-size: 0.88rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.checkpoint-option:hover {
    transform: translateY(-1px);

    border-color:
        rgba(18, 34, 56, 0.18);
}

.checkpoint-option.selected {
    background: rgba(15, 98, 254, 0.08);

    border-color:
        rgba(15, 98, 254, 0.25);

    color: var(--accent-fuel);
}


/* =========================================================
   REPS PANEL
   ========================================================= */

.reps-panel {
    gap: 16px;
}

.reps-count {
    min-height: 70px;

    padding: 18px 20px;

    border-radius: 18px;
}

.reps-count strong {
    font-size: 2rem;

    letter-spacing: -1px;
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.verify-actions {
    margin-top: 8px;

    gap: 12px;
}

.verify-actions button {
    min-height: 46px;

    border-radius: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    #area-challenge-list {
        gap: 24px;
    }

    .challenge-card {
        padding: 26px;
    }

    .challenge-card .card-top {
        gap: 24px;
    }

    .challenge-card .challenge-badges {
        max-width: 42%;
    }

    .area-header {
        margin-bottom: 44px;
        padding: 34px;
    }

    .area-summary-grid {
        margin-bottom: 50px;
    }
}


/* =========================================================
   MOBILE — GENERAL
   ========================================================= */

@media (max-width: 700px) {

    /* Page */

    body {
        overflow-x: hidden;
    }


    /* Main containers */

    .home-page {
        width: calc(100% - 28px);

        max-width: none;

        padding:
            30px 0
            70px;
    }


    /* Area header */

    .area-header {
        margin-bottom: 32px;

        padding: 24px 22px;

        border-radius: 22px;
    }

    .area-header h1 {
        margin-bottom: 8px;

        font-size: clamp(
            2.1rem,
            10vw,
            3rem
        );

        line-height: 1;

        letter-spacing: -1.2px;
    }

    .area-header p,
    .area-header .lead {
        font-size: 0.9rem;

        line-height: 1.6;
    }


    /* Area summary */

    .area-summary-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-bottom: 36px;
    }

    .area-summary-grid .metric-card {
        min-height: 90px;

        padding: 19px 20px;

        border-radius: 17px;
    }


    /* Challenge list */

    #area-challenge-list {
        gap: 20px;
    }


    /* Challenge card */

    .challenge-card {
        padding: 21px;

        border-radius: 20px;

        box-shadow:
            0 8px 24px rgba(
                18,
                34,
                56,
                0.04
            );
    }


    /* Top */

    .challenge-card .card-top {
        display: flex;

        flex-direction: column;

        gap: 15px;
    }


    /* Title */

    .challenge-card .challenge-title {
        font-size: 1.08rem;

        line-height: 1.35;
    }


    /* Description */

    .challenge-card .challenge-description {
        margin-top: 8px;

        font-size: 0.88rem;

        line-height: 1.6;
    }


    /* Badges */

    .challenge-card .challenge-badges {
        width: 100%;

        max-width: none;

        justify-content: flex-start;

        gap: 6px;
    }

    .challenge-card .badge {
        padding: 7px 9px;

        font-size: 0.67rem;
    }


    /* Footer */

    .challenge-card .challenge-footer {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 15px;

        margin-top: 22px;

        padding-top: 17px;
    }


    /* Status */

    .challenge-card .challenge-status {
        font-size: 0.72rem;
    }


    /* Button */

    .challenge-card .challenge-actions {
        width: 100%;

        min-width: 0;
    }

    .challenge-card .challenge-actions button,
    .challenge-card .challenge-actions a {
        width: 100%;

        min-width: 0;

        min-height: 48px;

        border-radius: 13px;
    }


    /* Verification */

    .verify-form {
        margin-top: 20px;

        padding: 20px;

        border-radius: 20px;
    }

    .verify-header {
        align-items: flex-start;
    }

    .verify-title {
        font-size: 0.96rem;
    }

    .verify-step {
        font-size: 0.78rem;

        text-align: right;
    }

    .verify-stage {
        gap: 17px;
    }


    /* Verification summary */

    .verify-summary {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 15px;

        border-radius: 16px;
    }


    /* GPS */

    .gps-panel {
        padding: 20px;

        border-radius: 18px;
    }

    .gps-distance-display strong {
        font-size: 2.5rem;

        letter-spacing: -1.5px;
    }


    /* Timer */

    .timer-panel {
        gap: 14px;
    }

    .timer-display {
        font-size: 2rem;
    }


    /* Checkpoints */

    .checkpoint-options {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .checkpoint-option {
        min-height: 50px;

        text-align: left;
    }


    /* Reps */

    .reps-count {
        min-height: 64px;

        padding: 16px;

        border-radius: 16px;
    }

    .reps-count strong {
        font-size: 1.7rem;
    }


    /* Text fields */

    .verify-stage input,
    .verify-stage textarea {
        font-size: 16px;
    }


    /* Verification actions */

    .verify-actions {
        flex-direction: column;

        width: 100%;
    }

    .verify-actions button {
        width: 100%;
    }


    /* XP toast */

    .xp-toast {
        left: 14px;

        right: 14px;

        bottom: 14px;

        text-align: center;

        border-radius: 17px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .home-page {
        width: calc(100% - 22px);
    }


    .area-header {
        padding: 21px 19px;

        border-radius: 20px;
    }


    #area-challenge-list {
        gap: 18px;
    }


    .challenge-card {
        padding: 19px;

        border-radius: 18px;
    }


    .challenge-card .challenge-title {
        font-size: 1.02rem;
    }


    .challenge-card .challenge-description {
        font-size: 0.85rem;
    }


    .challenge-card .badge {
        font-size: 0.64rem;

        padding: 6px 8px;
    }


    .verify-form {
        padding: 17px;

        border-radius: 18px;
    }


    .verify-summary {
        padding: 14px;
    }


    .gps-panel {
        padding: 17px;
    }


    .gps-distance-display strong {
        font-size: 2.25rem;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

    .challenge-card:hover {
        transform: none;
    }

    .challenge-actions button:hover {
        transform: none;
    }

    .checkpoint-option:hover {
        transform: none;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .challenge-card,
    .challenge-actions button,
    .checkpoint-option {
        transition: none;
    }
}


/* =========================================================
   PREVENT OVERSIZED CONTENT
   ========================================================= */

.challenge-card *,
.verify-form *,
.area-header *,
.area-summary-grid * {
    max-width: 100%;

    box-sizing: border-box;
}


/* =========================================================
   MOBILE LINK / BUTTON SAFETY
   ========================================================= */

@media (max-width: 700px) {

    button,
    a {
        -webkit-tap-highlight-color:
            transparent;
    }

    button {
        touch-action:
            manipulation;
    }
}
/* =========================================================
   NORLO VERIFICATION MESSAGES
   ========================================================= */

#result {
    display: none;
    width: 100%;
    box-sizing: border-box;
    margin: 14px 0 0;
    padding: 12px 14px;

    border-radius: 12px;
    border: 1px solid rgba(185, 28, 28, 0.16);

    background: rgba(185, 28, 28, 0.06);

    color: #9f1d1d;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;

    box-shadow:
        0 4px 14px rgba(18, 34, 56, 0.04);

    text-align: left;
}

/* Show the message when JavaScript gives it content */
#result:not(:empty) {
    display: block;
}

/* Small visual marker */
#result:not(:empty)::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;
    margin-right: 8px;

    border-radius: 50%;

    background: rgba(185, 28, 28, 0.12);
    color: #9f1d1d;

    font-size: 11px;
    font-weight: 800;

    vertical-align: -1px;
}

/* Mobile */
@media (max-width: 600px) {
    #result {
        margin-top: 12px;
        padding: 11px 12px;

        font-size: 12px;
        line-height: 1.5;

        border-radius: 11px;
    }

    #result:not(:empty)::before {
        width: 18px;
        height: 18px;
        margin-right: 7px;
    }
}
/* =========================================================
   NORLO VERIFICATION MODAL — PREMIUM UI
   ========================================================= */

#verify-form {
    width: min(560px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 32px));
    margin: 0 auto;
    padding: 28px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 34, 56, 0.08);
    border-radius: 26px;

    box-shadow:
        0 28px 80px rgba(18, 34, 56, 0.16);

    overflow-y: auto;
    overscroll-behavior: contain;

    font-family: inherit;
}

/* Header */

#verify-title {
    margin: 0;

    color: var(--text);
    font-size: 1.6rem;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

#verify-step {
    display: block;
    margin-top: 6px;

    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Verification content */

#verify-stage {
    margin-top: 22px;
}

.verify-description {
    margin: 14px 0 20px;

    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Summary */

.verify-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.verify-summary > div {
    padding: 13px 14px;

    border: 1px solid rgba(18, 34, 56, 0.07);
    border-radius: 14px;

    background: rgba(18, 34, 56, 0.035);
}

.verify-summary strong {
    display: block;
    margin-bottom: 4px;

    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.verify-summary span {
    display: block;

    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Inputs */

#verify-input {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid rgba(18, 34, 56, 0.10);
    border-radius: 13px;

    background: #ffffff;
    color: var(--text);

    font: inherit;
    font-size: 0.92rem;

    outline: none;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

textarea#verify-input {
    min-height: 120px;
    resize: vertical;
}

#verify-input::placeholder {
    color: rgba(18, 34, 56, 0.38);
}

#verify-input:focus {
    border-color: rgba(15, 98, 254, 0.28);

    box-shadow:
        0 0 0 4px rgba(15, 98, 254, 0.08);
}

/* Timer */

.timer-panel,
.gps-panel,
.reps-panel {
    padding: 18px;

    border: 1px solid rgba(18, 34, 56, 0.07);
    border-radius: 18px;

    background: #f8fafc;
}

.timer-display {
    margin-bottom: 14px;

    color: var(--text);
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.05em;
    text-align: center;
}

.timer-progress,
.meditation-progress,
.meditation-stage-progress {
    width: 100%;
    height: 7px;
    overflow: hidden;

    border-radius: 999px;
    background: rgba(18, 34, 56, 0.08);
}

.timer-progress-fill,
.meditation-progress-fill,
.meditation-stage-progress-fill {
    height: 100%;
    border-radius: inherit;

    background: var(--accent-fuel);

    transition: width 220ms ease;
}

/* GPS */

.gps-distance-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin-bottom: 14px;
}

.gps-distance-display strong {
    color: var(--text);
    font-size: 2.3rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.gps-distance-display span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.gps-status {
    margin-top: 12px;

    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Reps */

.reps-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.reps-count {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.reps-count strong {
    color: var(--text);
    font-size: 2.2rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

/* Checkpoints */

.checkpoint-options {
    display: grid;
    gap: 9px;
}

.checkpoint-option {
    width: 100%;
    padding: 13px 15px;

    border: 1px solid rgba(18, 34, 56, 0.08);
    border-radius: 13px;

    background: #ffffff;
    color: var(--text);

    font: inherit;
    font-size: 0.88rem;
    font-weight: 650;

    text-align: left;
    cursor: pointer;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.checkpoint-option:hover {
    transform: translateY(-1px);

    border-color: rgba(15, 98, 254, 0.16);

    box-shadow:
        0 6px 18px rgba(18, 34, 56, 0.06);
}

.checkpoint-option.selected {
    border-color: rgba(15, 98, 254, 0.24);
    background: rgba(15, 98, 254, 0.06);

    box-shadow:
        0 0 0 3px rgba(15, 98, 254, 0.05);
}

/* Main actions */

#verify-primary {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;

    border: none;
    border-radius: 13px;

    background: var(--accent-fuel);
    color: #ffffff;

    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(15, 98, 254, 0.16);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

#verify-primary:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(15, 98, 254, 0.22);
}

#verify-primary:active:not(:disabled) {
    transform: translateY(0);
}

#verify-primary:disabled {
    opacity: 0.58;
    cursor: default;
    box-shadow: none;
}

/* Cancel */

#cancel-verify {
    width: 100%;
    min-height: 44px;
    margin-top: 9px;

    border: 1px solid rgba(18, 34, 56, 0.08);
    border-radius: 12px;

    background: rgba(18, 34, 56, 0.035);
    color: var(--muted);

    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

#cancel-verify:hover {
    background: rgba(18, 34, 56, 0.06);
    color: var(--text);
    border-color: rgba(18, 34, 56, 0.12);
}

/* Guided meditation */

.meditation-intro,
.meditation-complete {
    text-align: center;
    padding: 8px 0 4px;
}

.meditation-icon,
.meditation-complete-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(15, 98, 254, 0.07);
    color: var(--accent-fuel);

    font-size: 1.5rem;
    font-weight: 700;
}

.meditation-complete-icon {
    background: rgba(22, 163, 74, 0.09);
    color: var(--accent-grow);
}

.meditation-eyebrow {
    margin-bottom: 7px;

    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.meditation-intro h2,
.meditation-complete h2 {
    margin: 0;

    color: var(--text);
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.meditation-intro-text,
.meditation-complete p {
    max-width: 420px;
    margin: 12px auto 0;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.meditation-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.meditation-meta span {
    padding: 7px 10px;

    border-radius: 999px;
    background: rgba(18, 34, 56, 0.05);

    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.meditation-session {
    padding: 2px 0 4px;
}

.meditation-stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.meditation-stage-count {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
}

.meditation-content {
    padding: 24px 8px 20px;
    text-align: center;
}

.meditation-breath {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.meditation-breath-ring {
    width: min(190px, 48vw);
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(15, 98, 254, 0.16);

    background:
        radial-gradient(
            circle,
            rgba(15, 98, 254, 0.07),
            rgba(15, 98, 254, 0.02) 58%,
            transparent 59%
        );

    box-shadow:
        0 0 0 12px rgba(15, 98, 254, 0.025),
        0 18px 50px rgba(18, 34, 56, 0.08);

    color: var(--text);
}

.meditation-breath-ring span {
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.meditation-content h2 {
    margin: 0;

    color: var(--text);
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.meditation-guidance {
    max-width: 430px;
    margin: 12px auto 0;

    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.meditation-secondary {
    max-width: 390px;
    margin: 10px auto 0;

    color: rgba(18, 34, 56, 0.46);
    font-size: 0.78rem;
    line-height: 1.55;
}

/* Mobile */

@media (max-width: 600px) {

    #verify-form {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);

        padding: 20px;
        border-radius: 22px;
    }

    #verify-title {
        font-size: 1.35rem;
    }

    #verify-stage {
        margin-top: 18px;
    }

    .verify-summary {
        gap: 8px;
    }

    .verify-summary > div {
        padding: 11px 12px;
        border-radius: 12px;
    }

    .verify-summary span {
        font-size: 0.82rem;
    }

    .verify-description {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .timer-panel,
    .gps-panel,
    .reps-panel {
        padding: 15px;
        border-radius: 16px;
    }

    .reps-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .reps-count {
        text-align: center;
    }

    .meditation-content {
        padding: 20px 2px 16px;
    }

    .meditation-content h2 {
        font-size: 1.3rem;
    }

    .meditation-guidance {
        font-size: 0.88rem;
    }

    .meditation-secondary {
        font-size: 0.74rem;
    }

    #verify-primary {
        margin-top: 18px;
    }

    #cancel-verify {
        margin-top: 8px;
    }
}
/* More space between challenge list and verification */
#verify-form {
    margin-top: 48px;
}
@media (max-width: 600px) {
    #verify-form {
        margin-top: 32px;
    }
}
/* =========================================================
   PREMIUM REP COUNTER
   ========================================================= */

.reps-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 28px 20px;
}

.reps-counter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.reps-counter strong {
    color: var(--text);
    font-size: clamp(3.2rem, 12vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

.reps-counter span {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
}

.reps-count-button {
    width: min(240px, 100%);
    min-height: 52px;

    border-radius: 15px;
}

.reps-count-button:not(:disabled):active {
    transform: scale(0.97);
}

@media (max-width: 600px) {
    .reps-panel {
        padding: 24px 16px;
    }

    .reps-counter strong {
        font-size: 4rem;
    }

    .reps-count-button {
        width: 100%;
    }
}
/* =========================================================
   NORLO QUEST CARDS
   ========================================================= */

.quest-card-content {
    padding: 22px;
}

.quest-card-top {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

/* Reward */

.quest-reward {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(15, 98, 254, 0.07);
    color: var(--accent-fuel);

    font-size: 0.74rem;
    font-weight: 800;
}

.quest-reward-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    line-height: 1;
}

/* Main content */

.quest-card-main {
    min-height: 105px;
}

.quest-card-main .challenge-title {
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.quest-card-main .challenge-description {
    margin-top: 8px;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Footer */

.quest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-top: 20px;
}

.quest-card-footer .challenge-status {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
}

/* Start button */

.quest-card-footer button {
    flex: 0 0 auto;

    min-width: 88px;
    min-height: 42px;

    padding: 9px 16px;

    border: none;
    border-radius: 12px;

    background: var(--accent-fuel);
    color: #ffffff;

    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
}

.quest-card-footer button:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(15, 98, 254, 0.18);
}

.quest-card-footer button:active:not(:disabled) {
    transform: scale(0.98);
}

.quest-card-footer button:disabled {
    opacity: 0.65;
    cursor: default;
    box-shadow: none;
}

/* Locked */

.quest-card-content .locked-hint {
    margin-top: 12px;

    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

/* Browse all quests */

.browse-all-quests {
    display: block;
    width: 100%;

    margin: 18px 0 0;

    padding: 12px 16px;

    border: 1px solid rgba(18, 34, 56, 0.08);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);

    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.browse-all-quests:hover {
    background: #ffffff;

    border-color:
        rgba(15, 98, 254, 0.14);

    color: var(--text);

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(18, 34, 56, 0.05);
}

.browse-all-quests:active {
    transform: scale(0.99);
}

/* Mobile */

@media (max-width: 600px) {

    .quest-card-content {
        padding: 18px;
    }

    .quest-card-main {
        min-height: auto;
    }

    .quest-card-main .challenge-title {
        font-size: 1.12rem;
    }

    .quest-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .quest-card-footer button {
        width: 100%;
    }

    .browse-all-quests {
        margin-top: 14px;
    }
}

/* =========================================================
   QUIETER AREA SUMMARY
   ========================================================= */

.area-summary-grid {
    gap: 14px;
    margin-bottom: 28px;
}

.area-summary-grid .metric-card {
    padding: 18px 20px;
    border-radius: 20px;
}

.area-summary-grid .metric-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.area-summary-grid .metric-card strong {
    font-size: 1.35rem;
}

@media (max-width: 600px) {
    .area-summary-grid {
        gap: 10px;
    }

    .area-summary-grid .metric-card {
        padding: 15px 16px;
    }
}
/* =========================================================
   NORLO REWARD REVEAL
   ========================================================= */

.norlo-reward-sequence {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 300ms ease;
}

.norlo-reward-sequence.visible {
    opacity: 1;
}

.norlo-reward-sequence.closing {
    opacity: 0;
}

.norlo-reward-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(12, 24, 40, 0.28);

    backdrop-filter:
        blur(7px);

    -webkit-backdrop-filter:
        blur(7px);
}

.norlo-reward-card {
    position: relative;
    z-index: 1;

    width: min(380px, calc(100vw - 32px));

    padding: 30px 24px;

    border-radius: 28px;

    background:
        rgba(255, 255, 255, 0.97);

    border:
        1px solid rgba(18, 34, 56, 0.08);

    box-shadow:
        0 30px 90px rgba(18, 34, 56, 0.22);

    text-align: center;

    transform:
        translateY(16px)
        scale(0.96);

    opacity: 0;

    transition:
        transform 400ms cubic-bezier(.2,.8,.2,1),
        opacity 400ms ease;
}

.norlo-reward-sequence.visible
.norlo-reward-card {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}

.norlo-reward-label {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.14em;
}

.norlo-reward-items {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.norlo-reward-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 16px 18px;

    border-radius: 17px;

    background:
        rgba(18, 34, 56, 0.045);

    opacity: 0;

    transform:
        translateY(10px)
        scale(0.96);

    transition:
        transform 350ms cubic-bezier(.2,.8,.2,1),
        opacity 350ms ease;
}

.norlo-reward-item.show {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.norlo-reward-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 10px;

    background:
        rgba(15, 98, 254, 0.08);

    font-size: 0.9rem;
    font-weight: 850;
}

.norlo-reward-value {
    color: var(--text);

    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: -0.025em;
}

.norlo-reward-item.gems
.norlo-reward-icon {
    background:
        rgba(15, 98, 254, 0.08);
}

@media (max-width: 600px) {

    .norlo-reward-card {
        width: calc(100vw - 28px);

        padding: 26px 18px;

        border-radius: 24px;
    }

}
/* =========================================================
   NORLO VERIFICATION — FINAL CONTENT SPACING
   ========================================================= */

#verify-stage {
    flex: 1 1 auto;
    min-height: 340px;

    display: flex;
    flex-direction: column;
}

.verification-content {
    flex: 1 1 auto;

    width: 100%;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 24px;
}

/* Keep the target / question block at the top */
.verification-content .verify-summary {
    flex-shrink: 0;
}

/* Let the main interaction use the available space */
.verification-content .gps-panel,
.verification-content .timer-panel,
.verification-content .reps-panel,
.verification-content .checkpoint-options {
    flex: 1 1 auto;
}

/* Inputs should have more presence */
.verification-content #verify-input {
    width: 100%;
    box-sizing: border-box;
}

.verification-content textarea#verify-input {
    min-height: 180px;
    flex: 1 1 auto;
}

/* Mobile */
@media (max-width: 600px) {

    #verify-stage {
        min-height: 320px;
    }

    .verification-content {
        gap: 18px;
    }

    .verification-content textarea#verify-input {
        min-height: 160px;
    }
}
#verify-stage .verify-summary > :only-child {
    grid-column: 1 / -1;
}
#verify-stage .verify-summary > :only-child {
    text-align: center;
}

#verify-stage .verify-summary > :only-child strong,
#verify-stage .verify-summary > :only-child span {
    text-align: center;
}
/* =========================================================
   NORLO — ISLAND QUEST COMPLETION ANIMATION
   ========================================================= */

.norlo-island-preview.is-growing {
    animation:
        norlo-island-glow 900ms cubic-bezier(.2, .8, .2, 1);
}

.norlo-island-preview.is-growing
.norlo-island-preview-canvas svg {
    animation:
        norlo-island-bloom 900ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes norlo-island-glow {

    0% {
        box-shadow:
            0 30px 80px rgba(35, 65, 45, 0.10);
    }

    45% {
        box-shadow:
            0 30px 90px rgba(86, 140, 93, 0.28);
    }

    100% {
        box-shadow:
            0 30px 80px rgba(35, 65, 45, 0.10);
    }
}

@keyframes norlo-island-bloom {

    0% {
        transform: scale(1.02);
    }

    45% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {

    .norlo-island-preview.is-growing,
    .norlo-island-preview.is-growing
    .norlo-island-preview-canvas svg {
        animation: none;
    }
}
/* =========================================================
   NORLO GPS — FINAL PREMIUM OVERRIDE
   ========================================================= */

#verify-stage .gps-panel {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 22px;

    padding: 30px 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f5f8fc,
            #edf3f8
        );

    border: 1px solid rgba(18, 34, 56, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#verify-stage .gps-distance-display {
    display: flex;
    align-items: baseline;
    justify-content: center;

    width: 100%;

    gap: 8px;
}

#verify-stage .gps-distance-display strong {
    color: var(--text);

    font-size: clamp(3.2rem, 10vw, 4.8rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.07em;
}

#verify-stage .gps-distance-display span {
    color: var(--muted);

    font-size: 0.9rem;
    font-weight: 700;
}

#verify-stage .gps-panel .timer-progress {
    width: min(360px, 100%);
    height: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(18, 34, 56, 0.08);
}

#verify-stage .gps-panel .timer-progress-fill {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--accent-fuel),
            #6b8cff
        );

    transition: width 350ms ease;
}

#verify-stage .gps-status {
    width: 100%;
    min-height: 24px;

    color: var(--muted);

    font-size: 0.82rem;
    font-weight: 650;

    line-height: 1.5;

    text-align: center;
}

@media (max-width: 600px) {

    #verify-stage .gps-panel {
        padding: 24px 17px;
        border-radius: 19px;
        gap: 19px;
    }

    #verify-stage .gps-distance-display strong {
        font-size: 3.4rem;
    }

    #verify-stage .gps-distance-display span {
        font-size: 0.82rem;
    }

    #verify-stage .gps-panel .timer-progress {
        height: 9px;
    }
}