/**
 * Learning-first homepage.
 * Clean information hierarchy inspired by modern learning products, with a
 * distinct CungConHoc palette and playful path-based visual language.
 */

:root {
    --lh-ink: #183153;
    --lh-copy: #56677f;
    --lh-line: #e3e9f2;
    --lh-blue: #316ce8;
    --lh-blue-dark: #2452b8;
    --lh-orange: #ff7a45;
    --lh-orange-dark: #d9582a;
    --lh-green: #29b87d;
    --lh-bg: #f8faff;
    --lh-white: #fff;
    --lh-shadow: 0 18px 45px rgba(28, 52, 88, .10);
    --lh-font: "Nunito", "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body.home,
body.post-type-archive-cch_game,
body.single-cch_game,
body.tax-cch_game_grade,
body.tax-cch_game_skill,
body.tax-cch_game_age,
body.tax-cch_game_topic,
body.tax-cch_game_difficulty,
body.tax-cch_learning_path,
body.page-id-1501,
body.page-id-1409 {
    margin: 0 !important;
    background: var(--lh-bg) !important;
    color: var(--lh-ink) !important;
    font-family: var(--lh-font) !important;
    -webkit-font-smoothing: antialiased;
}

body.home #header,
body.home .header-wrapper,
body.home #footer,
body.home .footer-wrapper,
body.home .absolute-footer,
body.post-type-archive-cch_game #header,
body.post-type-archive-cch_game .header-wrapper,
body.post-type-archive-cch_game #footer,
body.post-type-archive-cch_game .footer-wrapper,
body.post-type-archive-cch_game .absolute-footer,
body.single-cch_game #header,
body.single-cch_game .header-wrapper,
body.single-cch_game #footer,
body.single-cch_game .footer-wrapper,
body.single-cch_game .absolute-footer,
body.tax-cch_game_grade #header,
body.tax-cch_game_grade .header-wrapper,
body.tax-cch_game_grade #footer,
body.tax-cch_game_grade .footer-wrapper,
body.tax-cch_game_grade .absolute-footer,
body.tax-cch_game_skill #header,
body.tax-cch_game_skill .header-wrapper,
body.tax-cch_game_skill #footer,
body.tax-cch_game_skill .footer-wrapper,
body.tax-cch_game_skill .absolute-footer,
body.tax-cch_game_age #header,
body.tax-cch_game_age .header-wrapper,
body.tax-cch_game_age #footer,
body.tax-cch_game_age .footer-wrapper,
body.tax-cch_game_age .absolute-footer,
body.tax-cch_game_topic #header,
body.tax-cch_game_topic .header-wrapper,
body.tax-cch_game_topic #footer,
body.tax-cch_game_topic .footer-wrapper,
body.tax-cch_game_topic .absolute-footer,
body.tax-cch_game_difficulty #header,
body.tax-cch_game_difficulty .header-wrapper,
body.tax-cch_game_difficulty #footer,
body.tax-cch_game_difficulty .footer-wrapper,
body.tax-cch_game_difficulty .absolute-footer,
body.tax-cch_learning_path #header,
body.tax-cch_learning_path .header-wrapper,
body.tax-cch_learning_path #footer,
body.tax-cch_learning_path .footer-wrapper,
body.tax-cch_learning_path .absolute-footer,
body.page-id-1501 #header,
body.page-id-1501 .header-wrapper,
body.page-id-1501 #footer,
body.page-id-1501 .footer-wrapper,
body.page-id-1501 .absolute-footer,
body.page-id-1409 #header,
body.page-id-1409 .header-wrapper,
body.page-id-1409 #footer,
body.page-id-1409 .footer-wrapper,
body.page-id-1409 .absolute-footer { display: none !important; }

body.home #main,
body.home #content,
body.home .page-wrapper,
body.home .content-area,
body.home .entry-content,
body.home .entry-content > .row,
body.home .entry-content > .row > .col,
body.home .entry-content > .row > .col > .col-inner,
body.post-type-archive-cch_game #main,
body.post-type-archive-cch_game #content,
body.post-type-archive-cch_game .page-wrapper,
body.post-type-archive-cch_game .content-area,
body.single-cch_game #main,
body.single-cch_game #content,
body.single-cch_game .page-wrapper,
body.single-cch_game .content-area,
body.tax-cch_game_grade #main,
body.tax-cch_game_grade #content,
body.tax-cch_game_grade .page-wrapper,
body.tax-cch_game_grade .content-area,
body.tax-cch_game_skill #main,
body.tax-cch_game_skill #content,
body.tax-cch_game_skill .page-wrapper,
body.tax-cch_game_skill .content-area,
body.tax-cch_game_age #main,
body.tax-cch_game_topic #main,
body.tax-cch_game_difficulty #main,
body.tax-cch_learning_path #main,
body.page-id-1501 #main,
body.page-id-1501 #content,
body.page-id-1501 .page-wrapper,
body.page-id-1501 .content-area,
body.page-id-1409 #main,
body.page-id-1409 #content,
body.page-id-1409 .page-wrapper,
body.page-id-1409 .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.cch-lh-app,
.cch-lh-app * { box-sizing: border-box; }

.cch-lh-app {
    min-height: 100vh;
    overflow: hidden;
    background: var(--lh-bg);
    color: var(--lh-ink);
    font-family: var(--lh-font);
}

.cch-lh-app a { text-decoration: none; }
.cch-lh-app h1,
.cch-lh-app h2,
.cch-lh-app h3,
.cch-lh-app p { margin-top: 0; }

.cch-lh-container {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.cch-lh-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: 68px;
    border-bottom: 1px solid rgba(35, 71, 118, .10);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 7px 24px rgba(28, 52, 88, .05);
    backdrop-filter: blur(14px);
}

.admin-bar .cch-lh-header { top: 32px; }

.cch-lh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.cch-lh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lh-ink);
    white-space: nowrap !important;
    flex-shrink: 0;
}

.cch-lh-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 3px solid #fff;
    border-radius: 15px;
    background: linear-gradient(145deg, #ff9755, #ff6f49 52%, #e84c5d);
    box-shadow: 0 7px 0 #cf492c, 0 12px 20px rgba(232, 76, 93, .24);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
}

.cch-lh-brand > span:last-child { display: grid; line-height: 1.1; }
.cch-lh-brand b { font-size: 1.08rem; font-weight: 1000; }
.cch-lh-brand small { margin-top: 3px; color: #728096; font-size: .69rem; font-weight: 800; }

.cch-lh-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.cch-lh-nav a {
    color: #4b5563;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    white-space: nowrap !important;
    transition: color .15s ease;
    display: inline-flex;
    align-items: center;
}
.cch-lh-nav a:hover { color: var(--lh-blue); }
.cch-lh-nav a.is-active { color: var(--lh-blue) !important; }
.cch-lh-nav a.is-active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lh-blue);
    border-radius: 999px;
}

.cch-pill-mini {
    background: #f3e8ff;
    color: #9333ea;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 6px;
    border: 1px solid #e9d5ff;
    line-height: 1.2;
}

/* Nav Dropdown (Khám phá) */
.cch-lh-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.cch-lh-dropdown-trigger {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 800;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap !important;
    transition: color .15s ease;
}
.cch-lh-dropdown-trigger:hover,
.cch-lh-nav-dropdown:hover .cch-lh-dropdown-trigger,
.cch-lh-nav-dropdown.is-active .cch-lh-dropdown-trigger {
    color: var(--lh-blue);
}
.cch-dropdown-arrow {
    transition: transform .15s ease;
}
.cch-lh-nav-dropdown:hover .cch-dropdown-arrow {
    transform: rotate(180deg);
}

.cch-lh-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 190px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-bottom: 4px solid #d1d5db;
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: all .15s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: grid;
    gap: 2px;
}
.cch-lh-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}
.cch-lh-nav-dropdown:hover .cch-lh-dropdown-menu,
.cch-lh-nav-dropdown:focus-within .cch-lh-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.cch-lh-dropdown-menu a {
    padding: 10px 14px !important;
    border-radius: 12px;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: background .1s ease, color .1s ease !important;
}
.cch-lh-dropdown-menu a::after {
    display: none !important;
}
.cch-lh-dropdown-menu a:hover {
    background: #eff6ff !important;
    color: var(--lh-blue) !important;
}
.cch-lh-dropdown-menu a.is-active {
    background: #e0e7ff !important;
    color: #3730a3 !important;
}

.cch-lh-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap !important; }
.cch-lh-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 14px;
    background: var(--lh-blue);
    box-shadow: 0 4px 0 var(--lh-blue-dark);
    color: #fff !important;
    font-size: .84rem;
    font-weight: 1000;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.cch-lh-mobile-menu { display: none; position: relative; }
.cch-lh-mobile-menu summary { list-style: none; cursor: pointer; font-size: 1.5rem; }
.cch-lh-mobile-menu summary::-webkit-details-marker { display: none; }
.cch-lh-mobile-menu > div {
    position: absolute;
    top: 45px;
    right: 0;
    display: grid;
    width: 210px;
    overflow: hidden;
    border: 1px solid var(--lh-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--lh-shadow);
}
.cch-lh-mobile-menu a { padding: 13px 16px; border-bottom: 1px solid #edf1f6; color: var(--lh-ink); font-weight: 900; }

.cch-lh-hero {
    position: relative;
    padding: 76px 0 70px;
    background:
        radial-gradient(circle at 9% 15%, rgba(255, 205, 112, .38), transparent 25%),
        radial-gradient(circle at 91% 18%, rgba(111, 202, 255, .35), transparent 25%),
        linear-gradient(180deg, #f7fbff, #fffdf8);
}

.cch-lh-hero:after {
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(126, 114, 228, .08);
    content: "";
}

.cch-lh-hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 58px; }
.cch-lh-eyebrow,
.cch-lh-section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff0e8;
    color: #bd502a;
    font-size: .73rem;
    font-weight: 1000;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cch-lh-hero-copy h1 {
    max-width: 680px;
    margin: 18px 0 18px;
    color: var(--lh-ink);
    font-family: "Baloo 2", var(--lh-font);
    font-size: clamp(2.7rem, 5.1vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .96;
}

.cch-lh-hero-copy h1 em { display: block; color: var(--lh-orange); font-style: normal; }
.cch-lh-hero-copy > p { max-width: 600px; margin-bottom: 0; color: var(--lh-copy); font-size: 1.06rem; line-height: 1.75; }
.cch-lh-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 25px; }

.cch-lh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 18px;
    font-weight: 900;
    font-size: .95rem;
    transition: transform .08s ease, box-shadow .08s ease;
    user-select: none;
    letter-spacing: .02em;
}
.cch-lh-button:hover { transform: translateY(-2px); }
.cch-lh-button:active { transform: translateY(3px) !important; }

.cch-lh-button-primary {
    background: #58cc02;
    box-shadow: 0 5px 0 #58a700, 0 14px 25px rgba(88, 204, 2, .25);
    color: #fff !important;
}
.cch-lh-button-primary:active { box-shadow: 0 2px 0 #58a700 !important; }

.cch-lh-button-purple {
    background: #ce82ff;
    box-shadow: 0 5px 0 #af5bdf, 0 14px 25px rgba(206, 130, 255, .25);
    color: #fff !important;
}
.cch-lh-button-purple:active { box-shadow: 0 2px 0 #af5bdf !important; }

.cch-lh-button-quiet {
    border: 2px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 5px 0 #d1d5db;
    color: var(--lh-ink) !important;
}
.cch-lh-button-quiet:active { box-shadow: 0 2px 0 #d1d5db !important; }

.cch-lh-proof { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 22px; color: #64758b; font-size: .84rem; font-weight: 800; }
.cch-lh-proof span::first-letter { color: #58cc02; }

.cch-lh-map-card {
    position: relative;
    min-height: 455px;
    padding: 28px;
    border: 7px solid rgba(255, 255, 255, .86);
    border-radius: 40px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .75), transparent 34%),
        linear-gradient(155deg, #dff5ff, #e9e5ff 55%, #fff0c6);
    box-shadow: 0 28px 65px rgba(39, 65, 116, .18);
}

.cch-lh-map-top { display: grid; gap: 4px; }
.cch-lh-map-top span { color: #63738c; font-size: .72rem; font-weight: 1000; letter-spacing: .07em; text-transform: uppercase; }
.cch-lh-map-top b { font-family: "Baloo 2", var(--lh-font); font-size: 1.7rem; }
.cch-lh-map-path { display: flex; align-items: center; justify-content: center; margin: 50px 0 55px; }
.cch-lh-map-path i { width: 44px; border-top: 4px dashed rgba(46, 100, 193, .28); }
.cch-lh-map-path .node {
    position: relative;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 5px solid #fff;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 8px 0 rgba(75, 93, 143, .18);
    color: #8c9bb0;
    font-size: 1.35rem;
    font-weight: 1000;
}
.cch-lh-map-path .node.done { background: var(--lh-green); color: #fff; }
.cch-lh-map-path .node.active { background: var(--lh-orange); box-shadow: 0 8px 0 #d95b31, 0 16px 30px rgba(255, 122, 69, .25); color: #fff; transform: translateY(-14px) scale(1.08); }
.cch-lh-map-path small { position: absolute; top: 75px; width: 92px; color: #5d6d83; font-size: .68rem; font-weight: 1000; text-align: center; }
.cch-lh-map-mission { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 17px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 24px; background: rgba(255, 255, 255, .88); box-shadow: 0 15px 30px rgba(50, 72, 113, .12); }
.cch-lh-map-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: #fff1c8; font-size: 1.8rem; }
.cch-lh-map-mission div { display: grid; }
.cch-lh-map-mission small { color: #d36535; font-size: .67rem; font-weight: 1000; letter-spacing: .06em; text-transform: uppercase; }
.cch-lh-map-mission strong { margin-top: 2px; font-size: 1rem; }
.cch-lh-map-mission p { margin: 2px 0 0; color: #6d7c91; font-size: .78rem; }
.cch-lh-map-mission a { padding: 10px 13px; border-radius: 12px; background: var(--lh-blue); color: #fff; font-size: .78rem; font-weight: 1000; }
.cch-lh-floating { position: absolute; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(40, 58, 94, .16); font-weight: 1000; }
.cch-lh-floating-xp { top: 85px; right: -25px; padding: 10px 13px; border-radius: 15px; background: #fff; color: #d0602b; transform: rotate(6deg); }
.cch-lh-floating-star { bottom: 105px; left: -23px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: #ffc94e; color: #fff; font-size: 1.5rem; transform: rotate(-9deg); }

.cch-lh-section { padding: 78px 0 0; }
.cch-lh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.cch-lh-section-head.is-centered { display: grid; justify-items: center; max-width: 760px; margin-inline: auto; text-align: center; }
.cch-lh-section-head h2,
.cch-lh-pricing-copy h2,
.cch-lh-faq-grid h2,
.cch-lh-final h2 { margin: 10px 0 0; color: var(--lh-ink); font-family: "Baloo 2", var(--lh-font); font-size: clamp(2rem, 3.5vw, 3.05rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.03; }
.cch-lh-section-head > p { max-width: 520px; margin: 0; color: var(--lh-copy); line-height: 1.65; }
.cch-lh-section-head.is-centered > p { text-align: center; }
.cch-lh-text-link { color: var(--lh-blue); font-weight: 1000; }

.cch-lh-level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.cch-lh-level-card {
    position: relative;
    display: grid;
    min-height: 265px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(36, 67, 108, .09);
    border-radius: 29px;
    background: #fff;
    box-shadow: var(--lh-shadow);
    color: var(--lh-ink);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cch-lh-level-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(28, 52, 88, .14); }
.cch-lh-level-card:after { position: absolute; right: -28px; bottom: -35px; width: 130px; height: 130px; border-radius: 50%; background: var(--level-soft); content: ""; }
.cch-lh-level-card.is-mint { --level: #28b780; --level-soft: #dff8ee; }
.cch-lh-level-card.is-sun { --level: #e99617; --level-soft: #fff0c2; }
.cch-lh-level-card.is-violet { --level: #7163dc; --level-soft: #eceaff; }
.cch-lh-level-card.is-sky { --level: #2792d6; --level-soft: #def2ff; }
.cch-lh-level-card.is-rose { --level: #d66882; --level-soft: #ffe5eb; }
.cch-lh-level-card.is-slate { --level: #7a879b; --level-soft: #e9edf2; }
.cch-lh-level-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cch-lh-level-badge { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 19px; background: var(--level); box-shadow: 0 6px 0 color-mix(in srgb, var(--level), #000 18%); color: #fff; font-size: 1.25rem; font-weight: 1000; }
.cch-lh-level-top small { padding: 7px 10px; border-radius: 999px; background: var(--level-soft); color: var(--level); font-size: .68rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-level-card h3 { margin: 20px 0 5px; font-family: "Baloo 2", var(--lh-font); font-size: 1.5rem; }
.cch-lh-level-card > b { color: var(--level); font-size: .84rem; }
.cch-lh-level-card p { margin: 9px 0 16px; color: var(--lh-copy); font-size: .88rem; line-height: 1.55; }
.cch-lh-level-link { position: relative; z-index: 1; align-self: end; color: var(--level); font-size: .83rem; font-weight: 1000; }
.cch-lh-level-card.is-disabled { border-style: dashed; box-shadow: none; opacity: .74; }
.cch-lh-level-card.is-disabled:hover { transform: none; }

.cch-lh-skills { margin-top: 78px; padding-bottom: 78px; background: linear-gradient(180deg, #eef7ff, #f7fbff); }
.cch-lh-skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.cch-lh-skill-card { display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 17px; min-height: 170px; padding: 22px; border: 1px solid rgba(32, 66, 108, .08); border-radius: 28px; background: #fff; box-shadow: var(--lh-shadow); color: var(--lh-ink); }
.cch-lh-skill-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 21px; background: var(--skill-soft); font-size: 1.9rem; }
.cch-lh-skill-card.is-math { --skill: #e86d36; --skill-soft: #fff0e7; }
.cch-lh-skill-card.is-reading { --skill: #3d78da; --skill-soft: #e7f1ff; }
.cch-lh-skill-card.is-logic { --skill: #6d5ed0; --skill-soft: #eeeaff; }
.cch-lh-skill-card.is-digital { --skill: #199976; --skill-soft: #e1f8f0; }
.cch-lh-skill-card small { color: var(--skill); font-size: .7rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-skill-card h3 { margin: 5px 0 5px; font-family: "Baloo 2", var(--lh-font); font-size: 1.35rem; }
.cch-lh-skill-card p { margin: 0; color: var(--lh-copy); font-size: .84rem; line-height: 1.55; }
.cch-lh-skill-card > b { color: var(--skill); font-size: .8rem; white-space: nowrap; }

.cch-lh-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cch-lh-game-card { overflow: hidden; border: 1px solid var(--lh-line); border-radius: 27px; background: #fff; box-shadow: var(--lh-shadow); color: var(--lh-ink); transition: transform .18s ease; }
.cch-lh-game-card:hover { transform: translateY(-4px); }
.cch-lh-game-cover { position: relative; display: grid; place-items: center; aspect-ratio: 1.62 / 1; background: linear-gradient(145deg, #dff2ff, #fff0c7); background-position: center; background-size: cover; font-size: 2.2rem; }
.cch-lh-game-cover:after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(15, 37, 71, .54)); content: ""; }
.cch-lh-game-cover small { position: absolute; z-index: 1; right: 13px; bottom: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--lh-blue); font-size: .66rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-game-body { display: grid; min-height: 105px; padding: 16px; }
.cch-lh-game-body small { color: #718198; font-size: .69rem; font-weight: 900; }
.cch-lh-game-body strong { margin-top: 7px; font-family: "Baloo 2", var(--lh-font); font-size: 1.08rem; line-height: 1.26; }

.cch-lh-tools { margin-top: 78px; padding-bottom: 78px; background: #fff9ec; }
.cch-lh-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cch-lh-tool-grid > a { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 15px; min-height: 145px; padding: 20px; border: 1px solid #f2e7ca; border-radius: 25px; background: #fff; box-shadow: 0 14px 30px rgba(113, 83, 27, .07); color: var(--lh-ink); }
.cch-lh-tool-grid > a > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #fff2c6; font-size: 1.6rem; }
.cch-lh-tool-grid small { color: #bb7025; font-size: .68rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-tool-grid h3 { margin: 4px 0; font-family: "Baloo 2", var(--lh-font); font-size: 1.25rem; }
.cch-lh-tool-grid p { margin: 0; color: var(--lh-copy); font-size: .83rem; }
.cch-lh-tool-grid b { color: #c96c28; font-size: .8rem; }

.cch-lh-coming-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.cch-lh-coming-grid article { display: grid; gap: 14px; min-height: 220px; padding: 20px; border: 2px dashed #d8dfea; border-radius: 25px; background: #f5f7fb; }
.cch-lh-coming-grid article > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #e8ecf3; filter: grayscale(.35); font-size: 1.55rem; }
.cch-lh-coming-grid small { color: #7c899c; font-size: .67rem; font-weight: 1000; letter-spacing: .05em; text-transform: uppercase; }
.cch-lh-coming-grid h3 { margin: 7px 0; font-family: "Baloo 2", var(--lh-font); font-size: 1.15rem; }
.cch-lh-coming-grid p { margin: 0; color: #758298; font-size: .82rem; line-height: 1.55; }

.cch-lh-how { margin-top: 78px; padding-bottom: 78px; background: linear-gradient(145deg, #173867, #285fb3); }
.cch-lh-how .cch-lh-section-head h2 { color: #fff; }
.cch-lh-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cch-lh-step-grid article { padding: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; background: rgba(255, 255, 255, .10); color: #fff; text-align: center; }
.cch-lh-step-grid span { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 17px; background: #fff; color: #25569d; font-size: 1.2rem; font-weight: 1000; }
.cch-lh-step-grid h3 { margin-bottom: 7px; color: #fff; font-family: "Baloo 2", var(--lh-font); font-size: 1.25rem; }
.cch-lh-step-grid p { margin: 0; color: rgba(255, 255, 255, .82); }

.cch-lh-pricing-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; align-items: center; padding: 34px; border-radius: 34px; background: linear-gradient(145deg, #fff2dc, #e8f5ff); box-shadow: var(--lh-shadow); }
.cch-lh-pricing-copy p { margin: 14px 0 0; color: var(--lh-copy); line-height: 1.65; }
.cch-lh-price-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.cch-lh-price-list a { position: relative; display: grid; min-height: 190px; padding: 18px; border: 1px solid #e1e7ef; border-radius: 23px; background: #fff; color: var(--lh-ink); }
.cch-lh-price-list a.is-featured { border: 2px solid var(--lh-orange); transform: translateY(-6px); }
.cch-lh-price-list small { color: #bf5a31; font-size: .65rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-price-list strong { margin-top: 8px; font-size: .86rem; }
.cch-lh-price-list b { margin: 13px 0; color: var(--lh-ink); font-size: 1.42rem; }
.cch-lh-price-list span { align-self: end; color: var(--lh-blue); font-size: .75rem; font-weight: 1000; }

.cch-lh-parents { margin-top: 78px; padding-bottom: 78px; background: #f1f8ff; }
.cch-lh-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.cch-lh-post-grid a { display: grid; gap: 10px; padding: 15px; border: 1px solid var(--lh-line); border-radius: 25px; background: #fff; color: var(--lh-ink); }
.cch-lh-post-grid a > span { display: block; aspect-ratio: 1.55 / 1; border-radius: 18px; background: linear-gradient(145deg, #dbeeff, #fff0c7); background-position: center; background-size: cover; }
.cch-lh-post-grid small { color: var(--lh-blue); font-size: .66rem; font-weight: 1000; text-transform: uppercase; }
.cch-lh-post-grid strong { font-family: "Baloo 2", var(--lh-font); font-size: 1.06rem; line-height: 1.3; }

.cch-lh-faq { padding-bottom: 78px; }
.cch-lh-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.cch-lh-faq-grid > div:first-child > p { margin-top: 15px; color: var(--lh-copy); line-height: 1.65; }
.cch-lh-faq details { margin-bottom: 11px; overflow: hidden; border: 1px solid var(--lh-line); border-radius: 18px; background: #fff; }
.cch-lh-faq summary { padding: 17px 20px; cursor: pointer; font-weight: 1000; }
.cch-lh-faq details p { margin: 0; padding: 0 20px 18px; color: var(--lh-copy); line-height: 1.6; }

.cch-lh-final { padding: 0 0 70px; }
.cch-lh-final-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px; border-radius: 36px; background: linear-gradient(135deg, #183867, #2c67bd 60%, #4c99e6); color: #fff; box-shadow: 0 25px 55px rgba(23, 55, 104, .23); }
.cch-lh-final-box > div:first-child > span { font-size: .7rem; font-weight: 1000; letter-spacing: .08em; text-transform: uppercase; }
.cch-lh-final h2 { max-width: 680px; color: #fff; }
.cch-lh-final p { margin: 9px 0 0; color: rgba(255, 255, 255, .82); }
.cch-lh-final-box > div:last-child { display: grid; gap: 11px; min-width: 230px; }

.cch-lh-footer { padding: 35px 0; border-top: 1px solid var(--lh-line); background: #fff; }
.cch-lh-footer .cch-lh-container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cch-lh-footer b { font-size: 1.05rem; }
.cch-lh-footer p { margin: 4px 0 0; color: #78869a; font-size: .78rem; }
.cch-lh-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 18px; }
.cch-lh-footer a { color: #64748b; font-size: .8rem; font-weight: 900; }

@media (max-width: 1000px) {
    .cch-lh-nav { display: none; }
    .cch-lh-mobile-menu { display: block; }
    .cch-lh-hero-grid,
    .cch-lh-pricing-box,
    .cch-lh-faq-grid { grid-template-columns: 1fr; }
    .cch-lh-hero-copy { text-align: center; }
    .cch-lh-hero-copy > p { margin-inline: auto; }
    .cch-lh-hero-actions,
    .cch-lh-proof { justify-content: center; }
    .cch-lh-map-card { width: min(680px, 100%); margin-inline: auto; }
    .cch-lh-coming-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .admin-bar .cch-lh-header { top: 46px; }
    .cch-lh-container { width: min(100% - 22px, 1160px); }
    .cch-lh-login { display: none; }
    .cch-lh-hero { padding: 50px 0 48px; }
    .cch-lh-hero-grid { gap: 38px; }
    .cch-lh-hero-copy h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
    .cch-lh-map-card { min-height: 420px; padding: 22px 15px; border-width: 5px; }
    .cch-lh-map-top { padding-left: 8px; }
    .cch-lh-map-path { margin-block: 50px 58px; }
    .cch-lh-map-path i { width: 13px; }
    .cch-lh-map-path .node { width: 57px; height: 57px; border-radius: 19px; }
    .cch-lh-map-path small { top: 68px; width: 70px; font-size: .58rem; }
    .cch-lh-map-mission { grid-template-columns: 51px 1fr; }
    .cch-lh-map-icon { width: 51px; height: 51px; }
    .cch-lh-map-mission a { grid-column: 1 / -1; text-align: center; }
    .cch-lh-floating { display: none; }
    .cch-lh-section { padding-top: 58px; }
    .cch-lh-section-head { display: grid; align-items: start; }
    .cch-lh-level-grid,
    .cch-lh-skill-grid,
    .cch-lh-game-grid,
    .cch-lh-tool-grid,
    .cch-lh-step-grid,
    .cch-lh-price-list,
    .cch-lh-post-grid { grid-template-columns: 1fr; }
    .cch-lh-level-card { min-height: 245px; }
    .cch-lh-skill-card { grid-template-columns: 58px 1fr; }
    .cch-lh-skill-icon { width: 58px; height: 58px; }
    .cch-lh-skill-card > b { grid-column: 2; }
    .cch-lh-game-grid { grid-template-columns: repeat(2, 1fr); }
    .cch-lh-game-body { min-height: 118px; }
    .cch-lh-tool-grid > a { grid-template-columns: 54px 1fr; }
    .cch-lh-tool-grid > a > b { grid-column: 2; }
    .cch-lh-price-list a.is-featured { transform: none; }
    .cch-lh-final-box,
    .cch-lh-footer .cch-lh-container { align-items: stretch; flex-direction: column; }
    .cch-lh-footer nav { justify-content: start; }
}

@media (max-width: 520px) {
    .cch-lh-brand small { display: none; }
    .cch-lh-hero-actions { display: grid; }
    .cch-lh-button { width: 100%; }
    .cch-lh-game-grid,
    .cch-lh-coming-grid { grid-template-columns: 1fr; }
    .cch-lh-game-body { min-height: auto; }
    .cch-lh-coming-grid article { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cch-lh-app * { transition: none !important; }
}

/* Duolingo Gamification Additions */
.cch-lh-gamify-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cch-duo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
    border: 2px solid;
    line-height: 1;
}

.cch-duo-badge.is-streak {
    background: #fff7ed;
    border-color: #ffedd5;
    color: #ea580c;
}

.cch-duo-badge.is-xp {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.cch-lh-nav-hot {
    background: #fdf4ff !important;
    color: #9333ea !important;
    border: 1px solid #f0abfc !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-weight: 900 !important;
}

.cch-duo-btn-user {
    border-radius: 14px !important;
    border-bottom: 4px solid var(--lh-blue-dark) !important;
    transition: transform .08s ease !important;
}
.cch-duo-btn-user:active {
    transform: translateY(2px) !important;
    border-bottom-width: 2px !important;
}

.cch-lh-tool-grid > a.is-highlight-card {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    border: 2px solid #e879f9;
    box-shadow: 0 5px 0 #c084fc, 0 12px 25px rgba(192, 132, 252, 0.2);
}
.cch-lh-tool-grid > a.is-highlight-card span {
    background: #f5d0fe;
}
.cch-lh-tool-grid > a.is-highlight-card b {
    color: #9333ea;
}

/* Mobile Bottom Navigation Dock (Duolingo Style) */
.cch-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid #e5e7eb;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .cch-mobile-dock {
        display: flex;
    }
    body.home .cch-lh-app {
        padding-bottom: 74px;
    }
    .cch-lh-gamify-status {
        display: none;
    }
}

.cch-mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #6b7280;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.15s ease;
}

.cch-mobile-dock a .icon {
    font-size: 20px;
    line-height: 1;
}

.cch-mobile-dock a.is-active {
    color: #58cc02;
}

.cch-mobile-dock a.is-highlight-dock {
    color: #9333ea;
}

.cch-mobile-dock a:active {
    transform: scale(0.92);
}
