:root{--ink:#20304a;--muted:#65738a;--blue:#4b72ff;--green:#35b879;--red:#ef6a6a;--shadow:0 12px 30px rgba(31,50,84,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(180deg,#eef6ff,#fff 45%,#f9fbff);min-height:100vh}
a{text-decoration:none;color:inherit}button{font:inherit}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;box-shadow:0 3px 18px rgba(20,45,90,.08);position:sticky;top:0;z-index:5}
.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#5c7cff,#8e63ff);color:#fff;font-size:25px;font-weight:900}.brand h1{font-size:18px;margin:0}.brand p{font-size:11px;color:var(--muted);margin:2px 0 0}
.lang-btn{border:0;border-radius:20px;background:#edf2ff;color:#405de6;padding:8px 12px;font-weight:800;cursor:pointer}
.hero{max-width:1100px;margin:18px auto;padding:24px 18px;display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center;background:linear-gradient(135deg,#dff4ff,#fff0d8);border-radius:28px;box-shadow:var(--shadow)}
.hero-art{font-size:85px;text-align:center}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.08em;color:#6674a9}.hero h2{font-size:clamp(28px,5vw,46px);line-height:1.05;margin:8px 0}.hero p{color:var(--muted);max-width:650px}
.play-btn,.next-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:12px 18px;background:var(--blue);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(75,114,255,.22);cursor:pointer}
.subjects,.features{max-width:1100px;margin:22px auto;padding:0 16px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.section-heading h2{margin:3px 0 0;font-size:25px}
.mini-stars,.progress-pill{background:#fff7cf;padding:8px 12px;border-radius:20px;color:#8a6900}.subject-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.subject-card{min-height:150px;padding:18px;border-radius:24px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;transition:.18s}.subject-card:hover{transform:translateY(-3px)}
.subject-icon{font-size:42px;margin-bottom:8px}.subject-card strong{font-size:20px}.subject-card .en-label{font-weight:700;color:#66738a;font-size:13px}.subject-card small{color:#8b97aa;margin-top:7px}
.subject-card.tamil{border-top:5px solid #ff7b75}.subject-card.english{border-top:5px solid #5c7cff}.subject-card.maths{border-top:5px solid #f2b93f}.subject-card.evs{border-top:5px solid #39b979}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.features div{background:#fff;border-radius:18px;padding:16px;box-shadow:var(--shadow);font-size:20px}.features b{display:block;font-size:15px;margin-top:5px}.features span{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.setup-note{max-width:1068px;margin:18px auto;padding:14px 16px;background:#fff5d8;border:1px solid #f0d47b;border-radius:14px;color:#735b00}
.mini-header{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#fff;box-shadow:0 3px 18px rgba(20,45,90,.08);position:sticky;top:0;z-index:5}.mini-header a{font-weight:900;color:#4b5d83}
.activity-page{max-width:720px;margin:22px auto;padding:0 15px}.activity-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.activity-badge{display:inline-block;background:#e9eeff;color:#415ddd;border-radius:18px;padding:8px 13px;font-weight:900;font-size:13px}
.activity-card,.empty-card{background:#fff;border-radius:28px;box-shadow:var(--shadow);padding:20px;text-align:center}.lesson-name{font-size:12px;color:#8a95a8;font-weight:800}.question{font-size:clamp(20px,4vw,28px);font-weight:900;margin:10px auto 14px}
.picture{min-height:180px;border-radius:22px;background:#f3f7ff;display:grid;place-items:center;margin:0 auto 13px;overflow:hidden}.picture img{max-width:100%;max-height:240px;object-fit:contain}.picture-placeholder{font-size:80px}
.listen{border:0;border-radius:14px;background:#eef7ff;color:#2e63a5;padding:10px 15px;font-weight:900;cursor:pointer}.options{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}
.option{border:2px solid #e5eaf4;background:#fff;border-radius:17px;padding:13px;cursor:pointer;font-weight:850;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px}.option img{width:48px;height:48px;object-fit:contain}.option:hover{border-color:#aebdff;background:#f8f9ff}
.option.correct{border-color:var(--green);background:#e9fff4}.option.wrong{border-color:var(--red);background:#fff0f0}.feedback{min-height:38px;margin:10px 0;font-weight:900;font-size:17px}
.next-btn{width:100%;background:#36ad77}.next-btn:disabled{opacity:.45;cursor:not-allowed}.empty-card{padding:45px 20px}.big-emoji{font-size:70px}
footer{text-align:center;color:#8b96a8;font-size:12px;padding:30px 15px 40px}
@media(max-width:700px){.hero{grid-template-columns:1fr;text-align:center;padding:20px 15px;border-radius:22px}.hero-art{font-size:64px}.hero p{margin-left:auto;margin-right:auto}.subject-grid{grid-template-columns:repeat(2,1fr)}.subject-card{min-height:145px;padding:15px}.features{grid-template-columns:repeat(2,1fr)}.brand h1{font-size:16px}.brand-mark{width:40px;height:40px}.activity-card{padding:16px;border-radius:23px}.picture{min-height:155px}}

.q-ta,.opt-ta{display:none}.q-en,.opt-en{display:inline}

.lang-ta{display:none}
.activity-main-picture{max-width:360px}
.counting-options .option{font-size:25px;min-height:58px}
.match-board{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;text-align:left}
.match-board>div{background:#f7f9ff;border-radius:18px;padding:10px}
.match-title{text-align:center;font-size:13px;margin:4px 0 9px;color:#6d7890}
.match-column{display:grid;gap:8px}
.match-item{width:100%;min-height:58px;border:2px solid #e1e6f2;background:#fff;border-radius:14px;padding:8px;cursor:pointer;font-weight:850;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}
.match-item img{width:48px;height:48px;object-fit:contain}
.match-item.selected{border-color:#6178ff;background:#edf0ff}
.match-item.matched{border-color:#35b879;background:#e8fff3;opacity:.7}
.match-item.wrong{border-color:#ef6a6a;background:#fff0f0}
@media(max-width:560px){.match-board{grid-template-columns:1fr;}.match-board>div{padding:8px}.match-item{min-height:52px}}
.lessons-page{max-width:920px;margin:22px auto;padding:0 15px}.lessons-heading{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#e6f7ff,#fff4d9);padding:22px;border-radius:26px;box-shadow:var(--shadow);margin-bottom:18px}.lessons-heading h1{margin:6px 0;font-size:clamp(26px,5vw,38px)}.lessons-heading p{margin:0;color:var(--muted)}.subject-bubble{width:72px;height:72px;border-radius:22px;background:#fff;display:grid;place-items:center;font-size:40px;box-shadow:var(--shadow)}.lesson-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.lesson-card{display:flex;align-items:center;gap:13px;background:#fff;border-radius:21px;padding:14px;box-shadow:var(--shadow);border-left:6px solid #6c7dff;transition:.18s}.lesson-card:hover{transform:translateY(-2px)}.lesson-number{width:42px;height:42px;border-radius:14px;background:#eef1ff;color:#4b61df;display:grid;place-items:center;font-weight:950;font-size:19px;flex:0 0 auto}.lesson-card-body{min-width:0;flex:1}.lesson-ta{font-size:18px;font-weight:900;line-height:1.25}.lesson-en{font-size:12px;color:var(--muted);margin-top:3px}.lesson-count{font-size:12px;color:#75839a;margin-top:7px}.lesson-arrow{font-size:25px;color:#6a7cf0;font-weight:900}.lesson-progress-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.activity-count-label{font-size:12px;color:var(--muted);font-weight:800;margin-top:3px}.lesson-progress{height:8px;background:#e9edf6;border-radius:99px;overflow:hidden;margin-bottom:14px}.lesson-progress span{display:block;height:100%;background:#5d75ff;border-radius:99px}.activity-card .activity-badge{margin-bottom:8px;display:inline-block;background:#e9eeff;color:#415ddd;border-radius:18px;padding:7px 12px;font-weight:900;font-size:12px}
@media(max-width:650px){.lesson-grid{grid-template-columns:1fr}.lessons-heading{padding:18px;border-radius:22px}.subject-bubble{width:58px;height:58px;font-size:32px}.lesson-ta{font-size:17px}}

/* True / False and Yes / No */
.binary-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.binary-options .option{min-height:76px;font-size:20px;border-width:3px}.binary-options .option:first-child{background:#f3fff8}.binary-options .option:last-child{background:#fff7f7}.binary-options .option img{width:42px;height:42px}@media(max-width:420px){.binary-options{grid-template-columns:1fr}.binary-options .option{min-height:62px}}
