/* AI University Kids — উজ্জ্বল, বড় বোতাম, গোল কার্ড, হালকা অ্যানিমেশন। বাংলায় letter-spacing নয়। */
:root {
  --ink: #2A1B5C; --ink2: #5B4F86; --sky1: #7CC8FF; --sky2: #E6F6FF; --card: #fff;
  --r: 26px; --shadow: 0 8px 0 rgba(42, 27, 92, .12), 0 14px 30px rgba(42, 27, 92, .12);
  --fh: "Anek Bangla", "Baloo 2", "Hind Siliguri", system-ui, sans-serif;
  --fb: "Hind Siliguri", "Anek Bangla", system-ui, sans-serif;
  --ar: "Noto Naskh Arabic", "Hind Siliguri", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, var(--sky1) 0, #B9E3FF 340px, var(--sky2) 640px, #F3FBFF 100%); color: var(--ink); font-family: var(--fb); font-size: 18px; line-height: 1.55; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
#kids { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 16px 140px; }

/* আকাশ, সূর্য, মেঘ, পাহাড় */
.k-sky { position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none; z-index: 0; overflow: hidden; left: 50%; width: 100vw; transform: translateX(-50%); }
.k-sun { position: absolute; top: 22px; right: 7%; width: 96px; }
.k-rays { transform-origin: 50px 50px; animation: spin 24s linear infinite; }
.k-cloud { position: absolute; width: 130px; opacity: .95; animation: drift 38s linear infinite; }
.k-cloud.c1 { top: 70px; left: -10%; }
.k-cloud.c2 { top: 150px; left: -30%; width: 90px; animation-duration: 52s; animation-delay: -20s; }
.k-hills { position: absolute; bottom: 0; left: 0; width: 100%; height: 120px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(130vw); } }

/* উপরের বার */
.k-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.k-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--fh); font-weight: 700; font-size: 17px; background: rgba(255, 255, 255, .85); padding: 6px 14px 6px 6px; border-radius: 99px; box-shadow: 0 4px 0 rgba(42, 27, 92, .1); }
.k-brand img { border-radius: 50%; background: #fff; }
.k-brand b { color: #FF6B8B; }
.k-top-t { flex: 1; font-family: var(--fh); font-weight: 800; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-round { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(42, 27, 92, .15); color: var(--ink); text-decoration: none; }
.k-round svg { width: 24px; height: 24px; }
.k-round:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(42, 27, 92, .15); }
.k-mute { margin-left: auto; }

/* হিরো */
.k-hero { position: relative; z-index: 1; text-align: center; padding: 8px 0 26px; }
.k-hero-bird { position: relative; display: inline-block; }
.k-hero .tuni { width: 150px; height: 150px; }
.k-bubble { position: absolute; left: 100%; top: 6px; width: max-content; max-width: 230px; background: #fff; border-radius: 20px 20px 20px 4px; padding: 10px 14px; font-weight: 600; font-size: 16px; text-align: left; box-shadow: var(--shadow); animation: pop .5s .3s both cubic-bezier(.3, 1.6, .5, 1); }
.k-hero h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(36px, 8vw, 64px); line-height: 1.1; margin: 6px 0 6px; color: #fff; text-shadow: 0 4px 0 #3A7BD5, 0 8px 18px rgba(0, 40, 120, .25); }
.k-hero h1 span { color: #FFE07A; }
.k-hero-sub { margin: 0; display: inline-block; background: rgba(255, 255, 255, .9); border-radius: 99px; padding: 6px 16px; font-weight: 600; font-size: 16px; }
@media (max-width: 640px) {
  .k-bubble { position: static; display: block; margin: 0 auto 6px; border-radius: 20px; max-width: 280px; text-align: center; }
  .k-hero-bird { display: flex; flex-direction: column-reverse; align-items: center; }
  .k-hero .tuni { width: 120px; height: 120px; }
}

/* মাসকট নড়াচড়া */
.tuni .tuni-wing { transform-origin: 90px 110px; }
.tuni.wave .tuni-wing { animation: flap 1.2s ease-in-out infinite; }
.tuni.wave { animation: bob 3s ease-in-out infinite; }
.tuni .tuni-tail { transform-origin: 70px 110px; animation: tail 2.4s ease-in-out infinite; }
.tuni.hop { animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); }
.tuni.sad { animation: shake .45s; }
@keyframes flap { 50% { transform: rotate(-22deg); } }
@keyframes tail { 50% { transform: rotate(8deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes hop { 40% { transform: translateY(-22px) scale(1.06); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* কোর্স কার্ড */
.k-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.k-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); animation: pop .5s var(--d) both cubic-bezier(.3, 1.4, .5, 1); }
.k-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.k-card:active { transform: scale(.98); }
.k-card-art { background: var(--c); padding: 14px; display: grid; place-items: center; height: 150px; background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35) 0 18%, transparent 19%), radial-gradient(circle at 85% 75%, rgba(255, 255, 255, .22) 0 14%, transparent 15%); }
.k-card-art svg { height: 120px; transition: transform .3s; }
.k-card:hover .k-card-art svg { transform: scale(1.08) rotate(-3deg); }
.k-card-body { padding: 14px 18px 18px; position: relative; }
.k-card h2 { font-family: var(--fh); font-weight: 800; font-size: 26px; margin: 6px 0 2px; color: var(--c); filter: brightness(.82); }
.k-card p { margin: 0 0 12px; color: var(--ink2); font-size: 16px; }
.k-age { display: inline-block; background: #FFF4CC; color: #8A5A00; border-radius: 99px; padding: 2px 12px; font-size: 14px; font-weight: 700; }
.k-meter { height: 12px; border-radius: 99px; background: #EEF0F7; overflow: hidden; }
.k-meter i { display: block; height: 100%; min-width: 0; background: var(--c); border-radius: 99px; transition: width .6s; }
.k-stars { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 700; font-size: 15px; color: #B57800; }
.k-stars svg { width: 20px; height: 20px; color: #FFC93C; }
.k-stars.big { font-size: 18px; background: #fff; padding: 4px 12px; border-radius: 99px; }

.k-boardcta { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 16px 18px; border-radius: var(--r); text-decoration: none; color: #fff; background: linear-gradient(120deg, #9B5DE5, #FF6B8B); box-shadow: var(--shadow); transition: transform .2s; }
.k-boardcta:hover { transform: translateY(-4px); }
.k-boardcta-i { font-size: 40px; animation: bob 2.6s ease-in-out infinite; }
.k-boardcta b { display: block; font-family: var(--fh); font-size: 24px; }
.k-boardcta-go { margin-left: auto; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #9B5DE5; font-size: 22px; }

.k-parents { position: relative; z-index: 1; margin-top: 26px; background: #fff; border-radius: var(--r); padding: 4px 20px; box-shadow: 0 4px 0 rgba(42, 27, 92, .08); font-size: 16px; }
.k-parents summary { cursor: pointer; font-family: var(--fh); font-weight: 700; font-size: 19px; padding: 12px 0; }
.k-parents li { margin-bottom: 8px; }
.k-parents a { color: #3A6FE0; font-weight: 600; }

/* কোর্স পেজ */
.k-chead { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; background: var(--c); color: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); }
.k-chead-art svg { width: 150px; }
.k-chead h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(30px, 6vw, 44px); margin: 4px 0 0; line-height: 1.15; }
.k-chead p { margin: 0 0 8px; font-weight: 600; opacity: .95; }
@media (max-width: 560px) { .k-chead { flex-direction: column; text-align: center; } .k-chead-art svg { width: 130px; } }
.k-mod { position: relative; z-index: 1; margin-top: 26px; }
.k-mod h2 { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 800; font-size: 24px; margin: 0 0 10px; }
.k-mod h2 span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.k-path { display: grid; gap: 12px; }
.k-step { display: flex; align-items: center; gap: 14px; text-decoration: none; background: #fff; border-radius: 22px; padding: 12px 16px; box-shadow: 0 5px 0 rgba(42, 27, 92, .1); margin-left: calc(var(--i) * 6%); transition: transform .15s; }
.k-step:hover { transform: translateX(6px); }
.k-step:active { transform: scale(.98); }
.k-dot { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fh); font-weight: 800; font-size: 24px; background: #EEF0F7; color: var(--ink2); border: 4px solid #fff; box-shadow: 0 0 0 3px #EEF0F7; }
.k-step.done .k-dot { background: var(--c); color: #fff; box-shadow: 0 0 0 3px var(--c); }
.k-step.cur .k-dot { background: #FFF4CC; box-shadow: 0 0 0 4px #FFC93C; animation: pulse 1.6s ease-in-out infinite; }
.k-dot .tuni { width: 48px; height: 48px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 201, 60, .35); } }
.k-step-t { flex: 1; font-family: var(--fh); font-weight: 700; font-size: 19px; line-height: 1.25; }
.k-step-s { display: flex; gap: 1px; }
.k-step-s i svg { width: 20px; height: 20px; color: #E3E6EF; }
.k-step-s i.on svg { color: #FFC93C; }
.k-why { position: relative; z-index: 1; margin: 26px 0 0; color: var(--ink2); font-size: 15px; text-align: center; }

/* খেলা */
.k-play { position: relative; z-index: 1; }
.k-prog { height: 16px; background: #fff; border-radius: 99px; overflow: hidden; box-shadow: inset 0 2px 0 rgba(42, 27, 92, .08); }
.k-prog i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 99px; transition: width .4s; }
.k-stage { margin-top: 18px; background: #fff; border-radius: 30px; padding: 22px 18px 26px; box-shadow: var(--shadow); min-height: 340px; }
.k-stage.in { animation: slide .35s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateY(14px); } }
.k-show { font-size: clamp(54px, 13vw, 92px); line-height: 1.2; text-align: center; font-family: var(--fh), var(--ar); font-weight: 800; color: var(--c); margin: 4px 0 10px; word-break: break-word; }
.k-show[dir="rtl"], .k-show:lang(ar) { font-family: var(--ar); }
.k-learn { text-align: center; }
.k-learn p { font-size: 22px; font-weight: 600; max-width: 640px; margin: 0 auto 16px; }
.k-q h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(22px, 5vw, 28px); text-align: center; margin: 0 0 18px; line-height: 1.35; }
.k-say { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #EEF4FF; color: #3A6FE0; vertical-align: middle; display: inline-grid; place-items: center; }
.k-say svg { width: 22px; height: 22px; }
.k-learn .k-say { margin: 0 auto 14px; display: grid; }
.k-opts { display: grid; gap: 14px; grid-template-columns: repeat(var(--n, 3), 1fr); max-width: 720px; margin: 0 auto; }
.k-opts.n2 { --n: 2; } .k-opts.n4 { --n: 2; }
@media (max-width: 520px) { .k-opts.n3 { --n: 1; } .k-opts.n3 .k-opt { min-height: 68px; } }
.k-opt { min-height: 92px; border: 0; border-radius: 22px; background: #F4F1FF; font-family: var(--fh), var(--ar); font-weight: 800; font-size: clamp(22px, 5.5vw, 34px); color: var(--ink); box-shadow: 0 6px 0 #DCD5FA; transition: transform .1s, background .2s, opacity .2s; padding: 10px; line-height: 1.25; }
.k-opt:hover { background: #ECE6FF; }
.k-opt:active { transform: translateY(4px); box-shadow: 0 2px 0 #DCD5FA; }
.k-opt.ok { background: #D7F7E4; box-shadow: 0 6px 0 #22B573; color: #0E6B3F; animation: hop .5s; }
.k-opt.no { background: #FFE1E1; box-shadow: 0 6px 0 #FF8A8A; animation: shake .4s; opacity: .7; }
.k-opt.fade { opacity: .35; }
.k-ex { text-align: center; margin-top: 16px; }
.k-ex p { font-size: 19px; font-weight: 600; margin: 0 0 12px; color: #0E6B3F; }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 99px; padding: 14px 28px; min-height: 56px; background: var(--c, #4D7CFE); color: #fff; font-family: var(--fh); font-weight: 800; font-size: 21px; text-decoration: none; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); transition: transform .1s; }
.k-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.k-btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #E3E6EF, inset 0 0 0 3px #E3E6EF; }
.k-btn.gift { background: linear-gradient(120deg, #FF6B8B, #FF9F1C); }
.k-btn:disabled { opacity: .5; }
.k-next { animation: pop .4s both cubic-bezier(.3, 1.6, .5, 1); }

.k-slots { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.k-slot { min-width: 64px; min-height: 64px; padding: 6px 14px; border-radius: 18px; border: 3px dashed #CFC8EE; display: grid; place-items: center; font-family: var(--fh), var(--ar); font-weight: 800; font-size: 20px; color: #B9B2DA; }
.k-slot.fill { border: 3px solid var(--c); background: #F6FFF9; color: var(--ink); font-size: 24px; animation: pop .3s; }
.k-pool { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.k-chip { min-height: 60px; min-width: 64px; padding: 8px 18px; border: 0; border-radius: 18px; background: #FFF4CC; box-shadow: 0 5px 0 #F2D27A; font-family: var(--fh), var(--ar); font-weight: 800; font-size: 24px; }
.k-chip.used { visibility: hidden; }
.k-chip.no { animation: shake .4s; background: #FFE1E1; }

/* রোবট গ্রিড */
.k-grid { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; width: min(100%, calc(var(--n) * 74px)); margin: 0 auto; background: #E6F6FF; padding: 6px; border-radius: 20px; }
.k-cell { aspect-ratio: 1; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.k-cell.wall { background: repeating-linear-gradient(45deg, #FF9F7A 0 10px, #FF7A59 10px 20px); }
.k-goal svg { width: 70%; color: #FFC93C; animation: pulse-s 1.2s ease-in-out infinite; }
@keyframes pulse-s { 50% { transform: scale(1.15); } }
.k-bot { position: absolute; left: 6px; top: 6px; width: calc((100% - 12px - (var(--n) - 1) * 6px) / var(--n)); aspect-ratio: 1; transform: translate(calc(var(--x, 0) * (100% + 6px)), calc(var(--y, 0) * (100% + 6px))); transition: transform .32s cubic-bezier(.4, 1.4, .6, 1); display: grid; place-items: center; pointer-events: none; }
.k-bot svg { width: 92%; filter: drop-shadow(0 3px 0 rgba(106, 47, 192, .35)); }
.k-bot svg rect:first-of-type { fill: #fff; }
.k-bot.bump svg { animation: shake .4s; }
.k-code { min-height: 52px; margin: 14px auto 0; max-width: 520px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; padding: 8px; border-radius: 16px; background: #2A1B5C; }
.k-code span { color: #B9B2DA; font-size: 15px; }
.k-code b { width: 34px; height: 34px; display: grid; place-items: center; background: #3D2D7A; color: #fff; border-radius: 9px; font-size: 18px; }
.k-code b.hi { background: #FFC93C; color: #2A1B5C; transform: scale(1.15); }
.k-pad { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.k-arrow { width: 64px; height: 64px; border: 0; border-radius: 18px; background: #9B5DE5; color: #fff; font-size: 28px; box-shadow: 0 6px 0 #6A2FC0; }
.k-arrow:active { transform: translateY(4px); box-shadow: 0 2px 0 #6A2FC0; }
.k-del { background: #fff; color: #9B5DE5; box-shadow: 0 6px 0 #E3E6EF, inset 0 0 0 3px #E3E6EF; }

/* প্লে বোর্ড */
.k-goal-t { text-align: center; font-family: var(--fh); font-weight: 700; font-size: 20px; margin: 0 0 14px; }
.k-board-grid { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 20px; align-items: start; }
@media (max-width: 760px) { .k-board-grid { grid-template-columns: 1fr; } }
.k-palette { display: flex; flex-wrap: wrap; gap: 8px; }
.k-blk { border: 0; border-radius: 14px; padding: 10px 14px; min-height: 50px; background: var(--b); color: #fff; font-family: var(--fh); font-weight: 800; font-size: 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.k-blk:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.k-prog-list { list-style: none; counter-reset: ln; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.k-prog-list li { counter-increment: ln; display: flex; align-items: center; gap: 8px; background: #F7F5FF; border-left: 8px solid var(--b); border-radius: 14px; padding: 6px 8px; animation: pop .25s; flex-wrap: wrap; }
.k-prog-list li::before { content: counter(ln); font-weight: 700; color: #B9B2DA; width: 18px; text-align: center; }
.k-prog-list li.empty { border-left-color: #E3E6EF; color: var(--ink2); padding: 14px; }
.k-prog-list li.empty::before { content: none; }
.k-li-i { font-size: 22px; }
.k-prog-list select { flex: 1; min-width: 150px; min-height: 44px; border-radius: 12px; border: 2px solid #E3E0F5; background: #fff; padding: 4px 8px; font-weight: 600; font-size: 16px; }
.k-cnt { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.k-cnt button, .k-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 2px #E3E0F5; font-weight: 800; font-size: 18px; }
.k-cnt b { min-width: 22px; text-align: center; font-size: 18px; }
.k-x { color: #FF5A5F; }
.k-codeview { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #2A1B5C; color: #C9F2FF; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace, var(--fb); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.k-canvas-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.k-canvas-wrap canvas { display: block; width: 100%; height: auto; }
.k-board-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.k-board-btns .k-btn { font-size: 18px; padding: 10px 18px; min-height: 50px; }
.fx-jump { animation: hop .7s cubic-bezier(.3, 1.6, .5, 1) 3; }
.fx-wiggle { animation: wig .5s ease-in-out 5; }
.fx-glow { animation: glow 1s ease-in-out 3; }
.fx-jump.fx-wiggle { animation: hop .7s 3, wig .5s 5; }
@keyframes wig { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes glow { 50% { filter: brightness(1.25) saturate(1.3) drop-shadow(0 0 18px #FFE07A); } }

.k-gift { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: radial-gradient(circle, #FFF4CC, #FFB3C7); padding: 16px; animation: slide .3s; }
.k-gift-box { border: 0; background: none; display: grid; justify-items: center; gap: 8px; font-family: var(--fh); font-weight: 800; font-size: 26px; color: var(--ink); }
.k-gift-box svg { width: min(56vw, 240px); animation: wig .6s ease-in-out infinite; }
.k-gift-card { max-width: min(92vw, 420px); max-height: 86vh; border-radius: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); animation: open .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.k-gift-card.fx-jump { animation: open .7s cubic-bezier(.3, 1.5, .5, 1) both, hop .7s .8s 3; }
.k-gift-card.fx-wiggle { animation: open .7s cubic-bezier(.3, 1.5, .5, 1) both, wig .5s .8s 5; }
.k-gift-card.fx-glow { animation: open .7s cubic-bezier(.3, 1.5, .5, 1) both, glow 1s .8s 3; }
@keyframes open { from { opacity: 0; transform: scale(.2) rotate(-20deg); } }
.k-gift-x { position: absolute; top: 16px; right: 16px; font-size: 28px; }

/* জয় */
.k-win { text-align: center; padding: 10px 0; }
.k-win-stars { display: flex; justify-content: center; gap: 6px; }
.k-win-stars i svg { width: 76px; height: 76px; color: #E3E6EF; }
.k-win-stars i.on svg { color: #FFC93C; animation: pop .5s calc(var(--k) * .2s) both cubic-bezier(.3, 1.8, .5, 1); filter: drop-shadow(0 4px 0 #E0A800); }
.k-win-stars i:nth-child(2) svg { width: 96px; height: 96px; margin-top: -12px; }
.k-win h2 { font-family: var(--fh); font-weight: 800; font-size: 40px; margin: 4px 0 0; color: var(--c); }
.k-win p { margin: 0 0 18px; font-weight: 600; }
.k-win-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* কোচ টুনটুনি */
.k-coach { position: fixed; z-index: 20; left: 50%; bottom: 10px; transform: translateX(-50%); width: min(calc(100% - 24px), 560px); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.k-coach .tuni { width: 74px; height: 74px; flex: none; }
@media (max-width: 560px) { .k-coach .tuni { width: 56px; height: 56px; } .k-coach-say { font-size: 15px; padding: 8px 12px; } .k-stage { padding: 18px 12px 22px; } }
.k-coach-say { background: #fff; border-radius: 18px 18px 18px 4px; padding: 10px 16px; font-weight: 700; font-size: 17px; box-shadow: var(--shadow); }

/* ঝিলিক আর কনফেটি */
.k-spark { position: fixed; z-index: 60; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; animation: spark .7s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.k-conf { position: fixed; z-index: 60; top: -20px; width: 10px; height: 16px; border-radius: 3px; pointer-events: none; animation: fall 2.4s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* শব্দের ঝুলি */
.k-wcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 6px 0 20px; }
.k-wcard { border: 0; border-radius: 22px; background: #FFF0F4; box-shadow: 0 6px 0 #FFC9D6; padding: 12px 8px; display: grid; justify-items: center; gap: 2px; transition: transform .1s; }
.k-wcard:active { transform: translateY(4px); box-shadow: 0 2px 0 #FFC9D6; }
.k-wcard.heard { background: #F0FFF6; box-shadow: 0 6px 0 #9BE3BC; }
.k-wcard.pop .k-wcard-e { animation: hop .5s cubic-bezier(.3, 1.6, .5, 1); }
.k-wcard-e { font-size: 56px; line-height: 1.1; }
.k-wcard b { font-family: var(--fh); font-weight: 800; font-size: 24px; }
.k-wcard i { font-style: normal; font-family: "Baloo 2", var(--fb); font-weight: 700; color: #3A6FE0; font-size: 18px; }
.k-listen { text-align: center; }
.k-hear { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 128px; height: 128px; border-radius: 50%; border: 0; margin: 6px auto 22px; background: var(--c); color: #fff; font-family: var(--fh); font-weight: 800; font-size: 20px; box-shadow: 0 8px 0 rgba(0, 0, 0, .18); animation: pulse 1.8s ease-in-out infinite; }
.k-hear svg { width: 52px; height: 52px; }
.k-hear:active { transform: translateY(4px); }
.k-listen .k-age { display: table; margin: 0 auto 8px; }
.k-opts.emoji .k-opt { font-size: clamp(54px, 14vw, 76px); min-height: 120px; }
@media (max-width: 520px) { .k-opts.emoji { --n: 3; } .k-opts.emoji .k-opt { min-height: 96px; padding: 4px; } }
.k-wans { font-family: var(--fh); font-size: 24px !important; color: var(--ink) !important; }

/* অ্যাকাউন্ট, বাচ্চার প্রোফাইল, ড্যাশবোর্ড */
.k-me { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 99px; padding: 4px 14px 4px 4px; text-decoration: none; font-family: var(--fh); font-weight: 800; font-size: 17px; box-shadow: 0 4px 0 rgba(42, 27, 92, .15); max-width: 160px; }
.k-me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-me .k-ava { width: 40px; height: 40px; flex: none; }
.k-login { background: #fff; border-radius: 99px; padding: 10px 18px; text-decoration: none; font-family: var(--fh); font-weight: 800; font-size: 16px; box-shadow: 0 4px 0 rgba(42, 27, 92, .15); }
.k-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(42, 27, 92, .45); overflow-y: auto; animation: slide .25s; }
.k-kidform { width: min(100%, 460px); background: #fff; border-radius: 30px; padding: 20px 20px 24px; text-align: center; box-shadow: var(--shadow); }
.k-kidform .tuni { width: 96px; height: 96px; }
.k-kidform h2 { font-family: var(--fh); font-weight: 800; font-size: 28px; margin: 0 0 12px; }
.k-kidform p { margin: 14px 0 8px; font-weight: 700; }
.k-kidform input { width: 100%; min-height: 58px; border-radius: 18px; border: 3px solid #E3E0F5; padding: 8px 16px; font: 700 22px var(--fh); text-align: center; color: var(--ink); }
.k-kidform input:focus { outline: none; border-color: #9B5DE5; }
.k-agepick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.k-agepick button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #F4F1FF; font: 800 22px var(--fh); box-shadow: 0 4px 0 #DCD5FA; }
.k-agepick button.on { background: #9B5DE5; color: #fff; box-shadow: 0 4px 0 #6A2FC0; transform: scale(1.1); }
.k-gpick { display: flex; gap: 14px; justify-content: center; }
.k-gpick button { flex: 1; max-width: 160px; border: 0; border-radius: 22px; background: #F7F5FF; padding: 10px; display: grid; justify-items: center; gap: 4px; box-shadow: 0 5px 0 #E3E0F5; font: 800 22px var(--fh); }
.k-gpick .k-ava { width: 84px; height: 84px; }
.k-gpick button.on { background: #FFF4CC; box-shadow: 0 5px 0 #FFC93C, inset 0 0 0 3px #FFC93C; }
.k-formerr { color: #D63C3C; }
.k-kidform .k-btn { margin-top: 18px; --c: #22B573; width: 100%; }
.k-formnote { font-size: 14px; font-weight: 500 !important; color: var(--ink2); }
.k-formnote a { color: #3A6FE0; }
.k-dhead { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; background: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); }
.k-ava.big { width: 120px; height: 120px; flex: none; animation: bob 3s ease-in-out infinite; }
.k-dhead h1 { font-family: var(--fh); font-weight: 800; font-size: 36px; margin: 0; line-height: 1.15; }
.k-dhead p { margin: 2px 0 10px; font-weight: 600; color: var(--ink2); }
.k-edit { border: 0; background: #F4F1FF; border-radius: 99px; padding: 4px 12px; font: 700 14px var(--fb); margin-left: 6px; }
.k-dstats { display: flex; flex-wrap: wrap; gap: 10px; }
.k-dstats span { display: inline-flex; align-items: center; gap: 6px; background: #FFF4CC; border-radius: 99px; padding: 6px 14px; font-weight: 700; }
.k-dstats svg { width: 20px; height: 20px; color: #FFC93C; }
.k-badges { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.k-badge { background: #fff; border-radius: 20px; padding: 10px 4px; text-align: center; opacity: .45; filter: grayscale(1); box-shadow: 0 4px 0 rgba(42, 27, 92, .08); }
.k-badge.on { opacity: 1; filter: none; animation: pop .5s both; }
.k-badge i { font-style: normal; font-size: 34px; display: block; }
.k-badge span { font-size: 13px; font-weight: 700; }
.k-dh2 { position: relative; z-index: 1; font-family: var(--fh); font-weight: 800; font-size: 24px; margin: 24px 0 10px; }
.k-dcourses { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.k-dc { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 22px; padding: 10px 14px 10px 10px; text-decoration: none; box-shadow: 0 5px 0 rgba(42, 27, 92, .1); }
.k-dc-art { width: 76px; height: 64px; flex: none; border-radius: 16px; background: var(--c); display: grid; place-items: center; }
.k-dc-art svg { width: 70px; }
.k-dc-b { flex: 1; min-width: 0; }
.k-dc-b b { font-family: var(--fh); font-size: 19px; display: block; }
.k-dc-b span { font-size: 14px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; }
.k-dc-b span svg { width: 15px; height: 15px; color: #FFC93C; }
.k-dc-b .k-meter { height: 10px; margin-top: 6px; }
.k-dc-go { flex: none; min-width: 48px; height: 48px; border-radius: 99px; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--fh); font-weight: 800; padding: 0 10px; }
.k-why a { color: #3A6FE0; font-weight: 700; }
@media (max-width: 480px) { .k-dhead { flex-direction: column; text-align: center; } .k-dstats { justify-content: center; } .k-badge i { font-size: 26px; } .k-badge span { font-size: 11px; } .k-brand span { display: none; } }

/* ল্যান্ডিং */
.k-logo { display: block; width: min(92%, 440px); margin: 0 auto 4px; animation: pop .6s both cubic-bezier(.3, 1.5, .5, 1); }
.k-logo svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 0 rgba(42, 27, 92, .12)); }
.k-hero .k-hero-sub b { color: #E0457B; }
.k-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 10px; }
.k-btn.big { font-size: 24px; padding: 16px 34px; min-height: 64px; --c: #FF6B8B; }
.k-btn.white { background: #fff; color: var(--c); }
.k-hero .k-hero-bird { margin-top: 6px; }
.k-sec { position: relative; z-index: 1; margin-top: 34px; }
.k-h2 { font-family: var(--fh); font-weight: 800; font-size: clamp(26px, 5vw, 34px); text-align: center; margin: 0 0 16px; }
.k-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .k-steps { grid-template-columns: repeat(2, 1fr); } }
.k-stepc { background: #fff; border-radius: var(--r); padding: 18px 12px; text-align: center; box-shadow: var(--shadow); animation: pop .5s var(--d) both; display: grid; gap: 4px; }
.k-stepc i { font-style: normal; font-size: 46px; }
.k-stepc b { font-family: var(--fh); font-size: 20px; }
.k-stepc span { font-size: 15px; color: var(--ink2); }
.k-agefilter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.k-agefilter button { border: 0; border-radius: 99px; padding: 10px 22px; min-height: 48px; background: #fff; font: 800 18px var(--fh); box-shadow: 0 4px 0 rgba(42, 27, 92, .12); }
.k-agefilter button.on { background: #2A1B5C; color: #fff; }
.k-card[hidden] { display: none; }
.k-card-art { position: relative; }
.k-free { position: absolute; top: 12px; right: 12px; background: #fff; color: #E0457B; border-radius: 99px; padding: 2px 12px; font: 800 15px var(--fh); box-shadow: 0 3px 0 rgba(0, 0, 0, .1); }
.k-free.inline { position: static; display: inline-block; margin-left: 6px; }
.k-cmeta { display: block; font-size: 14px; color: var(--ink2); font-weight: 600; margin-top: 2px; }
.k-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .k-feats { grid-template-columns: repeat(2, 1fr); } }
.k-feats div { background: rgba(255, 255, 255, .9); border-radius: 22px; padding: 14px; display: grid; gap: 2px; text-align: center; }
.k-feats i { font-style: normal; font-size: 36px; }
.k-feats b { font-family: var(--fh); font-size: 19px; }
.k-feats span { font-size: 14px; color: var(--ink2); }
.k-sec.k-parents { padding: 18px 20px; }
.k-whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.k-whys div { background: #F7F5FF; border-radius: 18px; padding: 12px 14px; }
.k-whys b { font-family: var(--fh); font-size: 18px; }
.k-whys p { margin: 4px 0 0; font-size: 15px; }
.k-plist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-weight: 600; }
.k-plist a, .k-more a { color: #3A6FE0; }

/* কোর্সের বিস্তারিত */
.k-chead-b { flex: 1; }
.k-cstats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; justify-content: inherit; }
.k-cstats span { display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .25); border-radius: 99px; padding: 4px 12px; font-weight: 700; }
.k-cstats svg { width: 18px; height: 18px; color: #FFE07A; }
@media (max-width: 560px) { .k-cstats { justify-content: center; } }
.k-learnbox { position: relative; z-index: 1; margin-top: 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
@media (max-width: 680px) { .k-learnbox { grid-template-columns: 1fr; } }
.k-learnbox > div { background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: 0 5px 0 rgba(42, 27, 92, .08); }
.k-learnbox h2 { font-family: var(--fh); font-size: 20px; margin: 0 0 8px; }
.k-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.k-skills span { background: #F7F5FF; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 15px; }
.k-how { display: flex; align-items: center; justify-content: center; gap: 8px; }
.k-how span { display: grid; justify-items: center; font-weight: 700; font-size: 15px; }
.k-how i { font-style: normal; font-size: 34px; }
.k-how b { color: var(--c); font-size: 22px; }
.k-step-t small { display: block; font-family: var(--fb); font-weight: 500; font-size: 13px; color: var(--ink2); margin-top: 2px; }
@media (max-width: 520px) { .k-step-t small { display: none; } .k-step { margin-left: 0; } }
.k-examcard { position: relative; z-index: 1; margin-top: 26px; display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #FFF4CC, #FFE1EA); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow); }
.k-exi { font-size: 46px; }
.k-examcard div { flex: 1; }
.k-examcard b { display: block; font-family: var(--fh); font-size: 22px; }
.k-examcard span { font-weight: 600; color: var(--ink2); }
.k-lock { font-size: 30px; }
.k-certs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.k-certs a { background: var(--c); color: #fff; text-decoration: none; border-radius: 99px; padding: 10px 18px; font: 800 18px var(--fh); box-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.k-certwrap { position: relative; z-index: 1; text-align: center; }
.k-certwrap canvas { width: 100%; max-width: 900px; height: auto; border-radius: 18px; box-shadow: var(--shadow); background: #fff; }

/* খেলা: ভিডিও, বাটন, আঁকা */
.k-vid video { width: 100%; max-height: 62vh; border-radius: 22px; background: #000; display: block; }
.k-next.glow { animation: pulse 1.4s ease-in-out infinite, pop .4s both; }
.k-tap { text-align: center; }
.k-tapgrid { display: grid; grid-template-columns: repeat(var(--tn, 4), 1fr); gap: 14px; max-width: 640px; margin: 0 auto; }
.k-tapgrid.n2 { --tn: 2; } .k-tapgrid.n3 { --tn: 3; } .k-tapgrid.n5 { --tn: 5; }
@media (max-width: 520px) { .k-tapgrid { --tn: 2 !important; } }
.k-tapbtn { aspect-ratio: 1; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 8px 0 #DCD5FA, inset 0 0 0 4px #EEE9FF; font: 800 clamp(48px, 13vw, 80px) var(--fh); color: var(--c); line-height: 1; }
.k-tapbtn.f-ar { font-family: var(--ar); font-weight: 700; }
.k-tapbtn.f-en { font-family: "Baloo 2", var(--fh); }
.k-tapbtn.ok { background: var(--c); color: #fff; box-shadow: 0 8px 0 rgba(0, 0, 0, .2); animation: hop .5s; }
.k-tapbtn.no { animation: shake .4s; background: #FFE1E1; }
.k-hear.sm { width: 48px; height: 48px; margin: 0 0 0 6px; vertical-align: middle; animation: none; display: inline-grid; place-items: center; }
.k-hear.sm svg { width: 24px; height: 24px; }
.k-trace { text-align: center; }
.k-pad-wrap { position: relative; margin: 0 auto; max-width: 380px; width: 100%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; box-shadow: 0 8px 0 #DCD5FA, inset 0 0 0 4px #EEE9FF; background: #FBFAFF; touch-action: none; }
.k-pad-wrap canvas { position: absolute; inset: 0; }
.k-ink { touch-action: none; cursor: crosshair; }
.k-pad-wrap.win { animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 8px 0 #22B573, inset 0 0 0 4px #9BE3BC; }
.k-opts.f-ar .k-opt { font-family: var(--ar); font-size: clamp(40px, 10vw, 60px); }
.k-greet { display: inline-block; margin: 6px 0 0; background: #fff; border-radius: 20px 20px 20px 4px; padding: 10px 18px; font-weight: 700; box-shadow: var(--shadow); animation: pop .5s .4s both cubic-bezier(.3, 1.6, .5, 1); }

/* কোর্স পাতা v2 (বড়দের কোর্সের মতো) */
.k-c2 { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
@media (max-width: 860px) { .k-c2 { grid-template-columns: 1fr; } }
.k-c2-hero { display: flex; gap: 18px; align-items: center; background: var(--c); color: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.k-c2-art svg { width: 160px; }
.k-c2-hero h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(32px, 6vw, 48px); margin: 6px 0 0; line-height: 1.1; }
.k-c2-hero p { margin: 2px 0 10px; font-weight: 600; }
@media (max-width: 560px) { .k-c2-hero { flex-direction: column; text-align: center; } .k-c2-art svg { width: 130px; } }
.k-c2-card { position: sticky; top: 12px; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.k-who { display: flex; align-items: center; gap: 10px; background: #F7F5FF; border-radius: 18px; padding: 8px 10px; }
.k-who .k-ava, .k-who .tuni { width: 54px; height: 54px; flex: none; }
.k-who div { flex: 1; display: grid; line-height: 1.25; }
.k-who small { color: var(--ink2); font-weight: 600; }
.k-who b { font-family: var(--fh); font-size: 20px; }
.k-who.empty b { font-size: 15px; font-family: var(--fb); }
.k-who span { font-size: 14px; color: var(--ink2); }
.k-meter.big { height: 14px; }
.k-meter.big i { background: var(--c); }
.k-c2-prog { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.k-c2-prog svg { width: 18px; height: 18px; color: #FFC93C; }
.k-c2-card .k-btn.big { width: 100%; --c: #22B573; }
.k-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.k-c2-sec { position: relative; z-index: 1; margin-top: 26px; }
.k-c2-sec h2 { font-family: var(--fh); font-weight: 800; font-size: 26px; margin: 0 0 12px; }
.k-skills2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.k-skills2 span { background: #fff; border-radius: 18px; padding: 12px 14px; font-weight: 700; box-shadow: 0 4px 0 rgba(42, 27, 92, .08); }
.k-cm { display: block; background: #fff; border-radius: 22px; margin-bottom: 12px; box-shadow: 0 5px 0 rgba(42, 27, 92, .08); overflow: hidden; }
.k-cm summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.k-cm summary::-webkit-details-marker { display: none; }
.k-cm summary b, .k-cm-exam b { flex: 1; font-family: var(--fh); font-size: 20px; }
.k-cm summary small, .k-cm-exam small { color: var(--ink2); font-weight: 700; }
.k-cm summary::after { content: "▾"; font-size: 22px; color: var(--ink2); transition: transform .2s; }
.k-cm[open] summary::after { transform: rotate(180deg); }
.k-cm-n { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--fh); font-weight: 800; font-size: 20px; }
.k-cl { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 2px solid #F3F1FA; text-decoration: none; }
.k-cl:hover { background: #FBFAFF; }
.k-cl-n { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #EEF0F7; font-weight: 800; color: var(--ink2); }
.k-cl.done .k-cl-n { background: var(--c); color: #fff; }
.k-cl.cur .k-cl-n { background: #FFF4CC; box-shadow: 0 0 0 3px #FFC93C; }
.k-cl-t { flex: 1; font-family: var(--fh); font-weight: 700; font-size: 18px; }
.k-cl-t small { display: block; font-family: var(--fb); font-weight: 600; font-size: 13px; color: var(--ink2); }
.k-cl-t small i { font-style: normal; margin-right: 8px; white-space: nowrap; }
.k-cm-exam { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, #FFF4CC, #FFE1EA); }
.k-certprev { position: relative; max-width: 520px; margin: 18px auto 0; background: #FFFDF5; border-radius: 18px; padding: 24px 20px; text-align: center; display: grid; gap: 4px; box-shadow: 0 0 0 6px #FF6B6B, 0 0 0 12px #FFC93C, 0 0 0 18px #22B573, var(--shadow); }
.k-certprev small { font-family: "Baloo 2", var(--fh); font-weight: 800; }
.k-certprev b { font-family: var(--fh); font-size: 30px; color: var(--c); }
.k-certprev span { font-family: var(--fh); font-weight: 800; font-size: 36px; }
.k-certprev em { font-style: normal; font-weight: 600; color: var(--ink2); }

/* পাঠের পাশে তালিকা */
.k-lwrap { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.k-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); font-size: 15px; z-index: 2; }
.k-side-h { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--fh); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.k-side-h span { width: 54px; height: 44px; flex: none; border-radius: 12px; background: var(--c); display: grid; place-items: center; }
.k-side-h svg { width: 48px; }
.k-side .k-meter { height: 8px; }
.k-side .k-meter i { background: var(--c); }
.k-side-p { display: block; color: var(--ink2); font-weight: 600; margin: 4px 0 8px; }
.k-side-m p { margin: 10px 0 4px; font-weight: 800; color: var(--ink2); font-size: 13px; }
.k-side-m a, .k-side-x { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.k-side-m a span { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #EEF0F7; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.k-side-m a.done span { background: var(--c); color: #fff; }
.k-side-m a.cur, .k-side-x.cur { background: #FFF4CC; }
.k-side-x { margin-top: 8px; background: #FFF7E0; }
.k-sidebtn { display: none; font-size: 22px; }
@media (max-width: 900px) {
  .k-lwrap { grid-template-columns: 1fr; }
  .k-side { display: none; position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); max-height: none; border-radius: 0 22px 22px 0; z-index: 40; }
  .k-lwrap.open .k-side { display: block; animation: slide .25s; }
  .k-lwrap.open::before { content: ""; position: fixed; inset: 0; background: rgba(42, 27, 92, .4); z-index: 39; }
  .k-sidebtn { display: grid; margin-left: auto; }
  .k-sidebtn + .k-mute { margin-left: 0; }
}

/* রং-খেলার মাঠ */
.k-paint { text-align: center; }
.k-pl { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.k-pl button { min-width: 56px; height: 56px; border: 0; border-radius: 16px; background: #F4F1FF; font: 800 28px "Baloo 2", var(--fh), var(--ar); box-shadow: 0 4px 0 #DCD5FA; }
.k-pl button.on { background: var(--c); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.k-paint-grid { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; justify-content: center; }
@media (max-width: 760px) { .k-paint-grid { grid-template-columns: 1fr; justify-items: center; } }
.k-canvas-paint { background: #fff; }
.k-canvas-paint canvas { touch-action: none; cursor: crosshair; }
.k-tools { display: grid; gap: 12px; max-width: 420px; }
.k-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.k-cols button { aspect-ratio: 1; border: 4px solid #fff; border-radius: 50%; background: var(--pc); box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.k-cols button.on { transform: scale(1.15); box-shadow: 0 0 0 3px #2A1B5C; }
.k-sizes, .k-stk { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.k-sizes button { border: 0; border-radius: 99px; padding: 8px 14px; min-height: 46px; background: #F4F1FF; font: 700 16px var(--fh); }
.k-sizes button.on { background: #2A1B5C; color: #fff; }
.k-stk button { width: 54px; height: 54px; border: 0; border-radius: 16px; background: #FFF4CC; font-size: 30px; box-shadow: 0 4px 0 #F2D27A; }
.k-stk button.on { background: #FFC93C; transform: scale(1.12); }

/* ল্যান্ডিং: আসল তথ্য */
.k-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .k-stats { grid-template-columns: repeat(2, 1fr); } }
.k-stat { background: #fff; border-radius: 22px; padding: 16px 14px; text-decoration: none; box-shadow: var(--shadow); display: grid; gap: 4px; text-align: center; }
.k-stat b { font-family: var(--fh); font-weight: 800; font-size: clamp(28px, 6vw, 40px); color: #E0457B; line-height: 1.1; }
.k-stat span { font-weight: 600; font-size: 15px; }
.k-stat small { color: #3A6FE0; font-size: 12px; font-weight: 600; }
.k-ours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.k-ours div { background: #2A1B5C; color: #fff; border-radius: 18px; padding: 12px; text-align: center; display: grid; }
.k-ours b { font-family: var(--fh); font-size: 30px; color: #FFE07A; }
.k-ours span { font-weight: 600; font-size: 14px; }
@media (max-width: 520px) { .k-ours { grid-template-columns: repeat(2, 1fr); } }

/* ভাষার জাদু */
.k-w3grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.k-w3 { border: 0; border-radius: 24px; background: #FFF7EA; box-shadow: 0 6px 0 #FFD9A0; padding: 12px 10px 14px; display: grid; gap: 6px; justify-items: center; text-align: center; transition: transform .1s; }
.k-w3:active { transform: translateY(4px); box-shadow: 0 2px 0 #FFD9A0; }
.k-w3.heard { background: #F0FFF6; box-shadow: 0 6px 0 #9BE3BC; }
.k-w3-pic { font-size: 64px; line-height: 1.1; }
.k-w3-l { display: block; width: 100%; border-radius: 14px; padding: 4px 8px; font: 800 20px var(--fh); transition: background .2s, transform .2s; }
.k-w3-l small { display: block; font: 600 11px var(--fb); color: var(--ink2); }
.k-w3-l.ar b { font-family: var(--ar); font-weight: 700; font-size: 24px; }
.k-w3-l.ar i { font-style: normal; font-size: 14px; color: var(--ink2); }
.k-w3-l.on { background: var(--c); color: #fff; transform: scale(1.06); }
.k-w3-l.on small, .k-w3-l.on i { color: #fff; }
.k-opts.n4 { --n: 4; }
@media (max-width: 520px) { .k-opts.n4 { --n: 2; } }
.k-langs { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.k-langs button { border: 0; border-radius: 99px; padding: 8px 18px; min-height: 46px; background: #F4F1FF; font: 800 17px var(--fh); }
.k-langs button.on { background: var(--c); color: #fff; }
.k-scenebox { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 5 / 3; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); cursor: copy; touch-action: manipulation; }
.k-scenebox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-placed { position: absolute; transform: translate(-50%, -50%); font-size: clamp(36px, 8vw, 58px); line-height: 1; cursor: pointer; animation: pop .35s both cubic-bezier(.3, 1.6, .5, 1); user-select: none; }
.k-placed.wig { animation: wig .5s 2; }
.k-bub { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); background: #fff; color: var(--ink); border-radius: 14px; padding: 4px 10px; font: 800 18px var(--fh); white-space: nowrap; box-shadow: 0 4px 0 rgba(42, 27, 92, .15); animation: pop .3s; }
.k-bub[dir="rtl"] { font-family: var(--ar); }
.k-stk.big button { width: 62px; height: 62px; font-size: 36px; }
.k-scene3 .k-stk { margin-top: 12px; }
.k-mission h2 { font-family: var(--fh); font-size: 30px; margin: 0; }
.k-mission p { font-size: 22px; }
.k-tip { font-size: 15px !important; font-weight: 600; color: var(--ink2); background: #F7F5FF; border-radius: 14px; padding: 8px 12px; max-width: 560px; margin: 8px auto 16px !important; }
