/* Learn Shona — public site theme.
 * Loaded after style.css: re-points the boilerplate's design tokens at the
 * Learn Shona palette, then styles the landing/about pages (.ls-*).
 */
:root {
    --brand: #3BA55C;
    --brand-hover: #2F8F4E;
    --brand-dark: #2E2A3A;
    --brand-light: #EAF8EE;
    --accent: #FFC83D;
    --danger: #D9534F;
    --bg: #FFF8EC;
    --text: #2E2A3A;
    --muted: #7A7286;
    --radius: 20px;
    --radius-lg: 28px;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Baloo 2', var(--font-body);

    --sun: #FFC83D;
    --msasa: #F2803A;
    --savanna: #3BA55C;
    --sky: #4FB3E8;
    --clay: #D9534F;
    --ls-shadow: 0 6px 0 rgba(46, 42, 58, .08), 0 14px 30px rgba(46, 42, 58, .08);
}

body { font-size: 17px; }
h1, h2, h3, h4 { font-weight: 800; }

/* nav */
.navbar { border-radius: 999px; padding-left: .75rem; padding-right: .75rem; }
.ls-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 26px; color: var(--text) !important; }
.ls-brand .nav-logo { max-height: 46px; transition: transform .3s; }
.ls-brand:hover .nav-logo { transform: rotate(-8deg) scale(1.08); }
.ls-brand b { color: var(--msasa); }
.navbar-nav .nav-link { font-weight: 700; border-radius: 999px; }
.navbar-nav .nav-link[href$="/play"] { background: var(--savanna); color: #fff !important; padding-left: 18px !important; padding-right: 18px !important; }
.navbar-nav .nav-link[href$="/play"]:hover { background: var(--brand-hover); }

/* footer */
.ls-footer { color: var(--muted); border-top: 2px dashed #EADFC8; margin-top: 40px; font-size: 15px; }

/* ---------- page building blocks ---------- */
.ls-home .row > * { padding-left: calc(var(--bs-gutter-x) * .5); }

.ls-hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.ls-hero::before {
    content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 61, .45), transparent 70%);
    right: -120px; top: -80px; z-index: -1;
}
.ls-hero-mini { padding: 48px 0 10px; }
.ls-kicker {
    display: inline-block; background: #fff; color: var(--msasa); font-weight: 800;
    padding: 6px 14px; border-radius: 999px; font-size: 14px; letter-spacing: .3px;
    box-shadow: 0 3px 0 rgba(242, 128, 58, .2);
}
.ls-title { font-size: clamp(44px, 6.5vw, 76px); line-height: 1; margin: 18px 0 14px; }
.ls-title span { color: var(--savanna); position: relative; white-space: nowrap; }
.ls-title span::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 14px; z-index: -1;
    background: var(--sun); border-radius: 8px; opacity: .6;
}
.ls-lead { font-size: 20px; color: #554E62; max-width: 540px; }
.ls-small { color: var(--muted); font-size: 15px; font-weight: 700; }
.ls-h2 { font-size: clamp(32px, 4vw, 46px); text-align: center; }
.ls-h2 em { font-style: normal; color: var(--msasa); font-size: .6em; display: block; font-family: var(--font-body); font-weight: 700; }

.ls-btn {
    display: inline-flex; align-items: center; gap: 8px; border: 0;
    font-family: var(--font-heading); font-weight: 800; font-size: 20px;
    padding: 14px 28px; border-radius: 999px; transition: transform .12s, box-shadow .12s;
}
.ls-btn:active { transform: translateY(4px); }
.ls-btn-go { background: var(--savanna); color: #fff; box-shadow: 0 6px 0 #2C8247; }
.ls-btn-go:hover { color: #fff; background: #42B565; }
.ls-btn-go:active { box-shadow: 0 2px 0 #2C8247; }
.ls-btn-ghost { background: #fff; color: var(--text); box-shadow: 0 6px 0 #EADFC8; }
.ls-btn-ghost:hover { color: var(--text); }

/* hero art */
.ls-hero-art { position: relative; height: 420px; max-width: 480px; margin: 0 auto; }
.ls-hero-art::before {
    content: ''; position: absolute; inset: 40px 30px 20px; border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff 0 20%, transparent 21%), var(--sky); opacity: .25;
}
.ls-hero-shiri {
    position: absolute; width: 300px; left: 50%; bottom: 10px; transform: translateX(-50%);
    cursor: pointer; animation: ls-idle 3s ease-in-out infinite;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .12));
}
.ls-hero-bubble {
    position: absolute; top: 10px; right: 0; border: 0;
    background: #fff; border-radius: 28px 28px 28px 6px; padding: 14px 22px; text-align: left;
    box-shadow: var(--ls-shadow); animation: ls-bob 2.6s ease-in-out infinite;
}
.ls-hero-bubble b { display: block; font-family: var(--font-heading); font-size: 38px; line-height: 1; }
.ls-hero-bubble span { color: var(--muted); font-weight: 700; font-size: 14px; }
.ls-float { position: absolute; font-size: 48px; animation: ls-bob 3s ease-in-out infinite; }
.ls-float.f1 { left: 0; top: 70px; animation-delay: .3s; }
.ls-float.f2 { left: 30px; bottom: 60px; animation-delay: .9s; font-size: 40px; }
.ls-float.f3 { right: 10px; bottom: 110px; animation-delay: 1.4s; }
.ls-float.f4 { left: 110px; top: 0; animation-delay: 2s; font-size: 40px; }

/* features */
.ls-feature {
    --c: var(--sun);
    background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; height: 100%;
    box-shadow: var(--ls-shadow); border-bottom: 8px solid var(--c);
}
.ls-feature-icon {
    width: 86px; height: 86px; margin: 0 auto 12px; border-radius: 50%;
    display: grid; place-items: center; font-size: 44px;
    background: color-mix(in srgb, var(--c) 22%, white);
}
.ls-feature h3 { font-size: 28px; margin-bottom: 6px; }
.ls-feature p { color: #5B5468; margin: 0; }

/* topics */
.ls-topics-band { background: #fff; border-radius: 48px; margin: 0 12px; }
.ls-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.ls-topic {
    --c: var(--sun);
    border: 0; border-radius: 28px; padding: 22px 10px 18px; color: #fff;
    background: var(--c); box-shadow: 0 6px 0 rgba(0, 0, 0, .12);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    transition: transform .15s;
}
.ls-topic:hover { transform: translateY(-4px) rotate(-1deg); }
.ls-topic-icon { font-size: 54px; line-height: 1.1; }
.ls-topic b { font-family: var(--font-heading); font-size: 26px; text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.ls-topic small { font-weight: 700; opacity: .92; }

/* word of the day */
.ls-wotd {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(120deg, #FFF1C9, #FFE2CC); border-radius: 32px; padding: 26px 30px;
    box-shadow: var(--ls-shadow);
}
.ls-wotd-pic { font-size: 84px; line-height: 1; width: 120px; height: 120px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.ls-wotd-word { font-size: 54px; margin: 6px 0 0; line-height: 1; }

/* parents */
.ls-list { list-style: none; padding: 0; }
.ls-list li { position: relative; padding-left: 40px; margin-bottom: 16px; color: #554E62; }
.ls-list li::before { content: '🌱'; position: absolute; left: 0; top: 0; font-size: 22px; }
.ls-list b { color: var(--text); }
.ls-quote {
    background: var(--brand-dark); color: #fff; border-radius: 32px; padding: 40px 36px; position: relative;
}
.ls-quote::before { content: '“'; position: absolute; top: -30px; left: 24px; font-size: 140px; color: var(--sun); font-family: Georgia, serif; line-height: 1; }
.ls-quote p { font-family: var(--font-heading); font-size: 32px; line-height: 1.15; margin-bottom: 12px; }
.ls-quote small { opacity: .8; font-size: 16px; }

.ls-boop { animation: ls-boop .35s; }

@keyframes ls-idle { 50% { transform: translateX(-50%) translateY(-10px) rotate(-2deg); } }
@keyframes ls-bob { 50% { transform: translateY(-10px); } }
@keyframes ls-boop { 50% { transform: scale(1.08); } }

@media (max-width: 991px) {
    .ls-hero-art { height: 340px; }
    .ls-hero-shiri { width: 230px; }
    .navbar { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .ls-hero-shiri, .ls-hero-bubble, .ls-float { animation: none; }
}

/* ---------- Social Sharing Modal & Buttons ---------- */
.ls-modal-backdrop {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(46, 42, 58, 0.5); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.ls-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.ls-modal-card {
    background: #FFF8EC; border-radius: 28px; padding: 32px 28px; width: 100%; max-width: 480px;
    text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); position: relative;
    transform: scale(0.95); transition: transform .2s ease;
}
.ls-modal-backdrop.show .ls-modal-card { transform: scale(1); }
.ls-modal-close {
    position: absolute; top: 16px; right: 20px; border: 0; background: none;
    font-size: 32px; line-height: 1; color: var(--muted); cursor: pointer;
}
.ls-modal-close:hover { color: var(--text); }
.ls-modal-icon { font-size: 48px; margin-bottom: 8px; }
.ls-modal-card h3 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 8px; }
.ls-modal-card p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.ls-share-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ls-sbtn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
    color: #fff; font-size: 16px; transition: transform .12s, filter .12s;
}
.ls-sbtn:hover { filter: brightness(1.08); color: #fff; transform: translateY(-2px); }
.sbtn-whatsapp { background: #25D366; }
.sbtn-facebook { background: #1877F2; }
.sbtn-twitter { background: #000; }
.ls-copy-box {
    display: flex; gap: 8px; background: #fff; border: 2px solid #EADFC8; border-radius: 999px;
    padding: 4px 6px 4px 16px;
}
.ls-copy-box input {
    border: 0; outline: none; background: transparent; flex: 1; font-size: 14px;
    color: var(--text); min-width: 0;
}
.ls-copy-box button {
    background: var(--savanna); color: #fff; border: 0; border-radius: 999px;
    padding: 8px 18px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.ls-copy-box button:hover { background: var(--brand-hover); }

/* Share Toast */
.ls-share-toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(50px);
    background: var(--brand-dark); color: #fff; padding: 12px 24px; border-radius: 999px;
    font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 2000; opacity: 0; transition: all .25s cubic-bezier(.2, 1.4, .4, 1);
    pointer-events: none;
}
.ls-share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

