:root{
  --bg:#eef4fb;--panel:#fff;--line:#d8e3f0;--ink:#10214b;--muted:#64748b;
  --blue:#0b7dff;--blue-soft:#e3edfa;--violet:#7c5cfc;--green:#14532d;--green2:#22a447;--lime:#7ed321;
  --shadow:0 2px 8px rgba(16,33,75,.08);--header-h:60px;--side-w:224px;
}
html[data-theme="dark"]{
  --bg:#0f1830;--panel:#16223f;--line:#24345a;--ink:#e7eefc;--muted:#93a3c0;--blue-soft:#1d2d55;
  --shadow:0 2px 10px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"Be Vietnam Pro","Noto Sans Devanagari",system-ui,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}

/* Header */
.site-header{position:fixed;inset:0 0 auto 0;height:var(--header-h);display:flex;align-items:center;gap:14px;padding:0 16px;
  background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);z-index:50}
.menu-btn{display:none;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);align-items:center;justify-content:center}
.menu-btn svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.logo{display:flex;align-items:center;gap:8px;width:calc(var(--side-w) - 30px);flex:none}
.logo svg{width:38px;height:38px;flex:none}
.logo .name{font-weight:900;font-size:19px;letter-spacing:-.3px}
.logo .g{color:var(--green)}.logo .j{color:var(--green2)}.logo .h{color:var(--lime)}
html[data-theme="dark"] .logo .g{color:#a7f3c0}
.top-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0}
.top-link{display:flex;align-items:center;gap:6px;height:38px;padding:0 10px;border-radius:11px;font-size:15px;font-weight:800;color:var(--muted);white-space:nowrap}
.top-link:hover{background:var(--blue-soft);color:var(--blue)}
.top-link.kids{background:linear-gradient(90deg,#ffb24c,#ff7bac);color:#fff;border-radius:999px;padding:0 13px}
.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.icon-btn{height:36px;min-width:36px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:14px}
.lang-wrap{position:relative}
.lang-menu{position:absolute;right:0;top:44px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(15,53,87,.18);padding:6px;min-width:150px;display:none}
.lang-menu.open{display:block}
.lang-menu button{display:flex;width:100%;gap:8px;align-items:center;border:0;background:none;color:var(--ink);padding:9px 10px;border-radius:8px;font-weight:700;font-size:14px;text-align:left}
.lang-menu button:hover,.lang-menu button.active{background:var(--blue-soft);color:var(--blue)}
.login-btn{height:36px;padding:0 12px;border-radius:8px;background:linear-gradient(90deg,#0b7dff,#7c5cfc);color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center}

/* Sidebar */
.sidebar{position:fixed;top:var(--header-h);left:0;bottom:0;width:var(--side-w);background:var(--bg);border-right:1px solid var(--line);padding:12px 10px 20px;overflow-y:auto;z-index:40;scrollbar-width:thin}
.side-title{font-size:12px;font-weight:800;letter-spacing:1.4px;color:var(--muted);margin:10px 10px 8px;text-transform:uppercase}
.side-link{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:11px;font-size:15px;font-weight:700;color:var(--ink)}
.side-link:hover{background:var(--blue-soft)}
.side-link.active{background:var(--blue-soft);color:var(--blue)}
.side-icon{width:22px;text-align:center;font-size:16px}
.overlay-mask{display:none;position:fixed;inset:0;background:rgba(10,20,40,.45);z-index:39}

/* Main */
.main{margin-left:var(--side-w);padding:76px 16px 24px 16px;min-height:100vh}
.wrap{max-width:1180px;margin:0 auto}
.home-section{margin-bottom:22px}
.section-title{display:flex;align-items:center;gap:8px;font-size:21px;font-weight:800;margin:0 0 8px}
.section-title .count{color:var(--muted);font-weight:700;font-size:17px}

/* Hero showcase */
.showcase{display:grid;grid-template-columns:44% 56%;border-radius:26px;overflow:hidden;min-height:330px;
  background:#c9f3f3 url(/banner.webp) center/cover no-repeat;position:relative;margin-bottom:18px}
.side-icon img{width:22px;height:22px;object-fit:contain;vertical-align:middle;display:block;margin:0 auto}
.promo{position:relative;z-index:1;padding:22px 26px 22px 30px}
.promo-brand{display:flex;align-items:center;gap:8px;font-weight:900;font-size:22px;margin-bottom:6px}
.promo-brand svg{width:40px;height:40px}
.promo h1{margin:0;font-size:48px;line-height:1.02;font-weight:900;color:#0f3d22;letter-spacing:-1px;text-shadow:0 2px 0 rgba(255,255,255,.7)}
.promo h1 em{font-style:normal;color:#1fa83f;-webkit-text-stroke:1px #0f5c2a}
.promo p{margin:10px 0 14px;font-weight:800;color:#0f2a1a;font-size:15px;max-width:340px;text-shadow:0 1px 0 rgba(255,255,255,.8)}
.promo-brand span span{text-shadow:0 1px 0 #fff}
.play-btn{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(90deg,#ff7a1a,#ff5a1f);color:#fff;font-weight:800;font-size:19px;padding:12px 22px 12px 14px;border-radius:999px;box-shadow:0 6px 0 #d4430f}
.play-btn .dot{width:30px;height:30px;border-radius:50%;background:#fff;color:#ff5a1f;display:grid;place-items:center;font-size:14px}
.features{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}
.feature{background:#fff;border-radius:10px;padding:8px 6px;width:88px;text-align:center;font-size:11px;font-weight:700;color:#10214b;box-shadow:var(--shadow)}
.feature b{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 4px;border-radius:9px;color:#fff;font-size:15px}
.featured-panel{position:relative;z-index:1;margin:26px 14px 22px 0;background:#fff;border:2px solid rgba(255,255,255,.9);border-radius:18px;box-shadow:0 12px 28px rgba(15,53,87,.18);overflow:hidden;display:flex;flex-direction:column}
.kicker{position:absolute;top:0;left:0;background:#22a447;color:#fff;font-weight:800;font-size:14px;padding:8px 14px;border-radius:0 0 14px 0;z-index:2}
.stage{flex:1;min-height:200px;background:repeating-linear-gradient(45deg,#eef4fb 0 14px,#e5eef9 14px 28px);display:grid;place-items:center;color:var(--muted);font-weight:800}
.thumbs{display:flex;gap:8px;padding:10px;background:#fff}
.thumbs span{flex:1;aspect-ratio:1;border-radius:10px;background:#eef4fb;border:1px dashed #c9d7ea}
.thumbs span:first-child{border:2px solid #22a447}

/* Cards */
.row{display:grid;grid-auto-flow:column;grid-auto-columns:180px;gap:12px;overflow-x:auto;padding:1px 2px 8px;scrollbar-width:none}
.row::-webkit-scrollbar{display:none}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:5px;display:block}
.thumb{height:168px;border-radius:9px;background:linear-gradient(110deg,var(--blue-soft) 8%,var(--bg) 18%,var(--blue-soft) 33%);background-size:200% 100%;animation:shine 1.6s linear infinite;display:grid;place-items:center;font-size:34px;opacity:.9}
.meta{padding:7px 3px 3px}
.meta .t{height:11px;border-radius:6px;background:var(--blue-soft);width:80%;margin-bottom:6px}
.meta .s{height:8px;border-radius:6px;background:var(--blue-soft);width:45%}
@keyframes shine{to{background-position-x:-200%}}
.empty-note{grid-column:1/-1;text-align:center;color:var(--muted);font-weight:700;padding:6px 0 0;font-size:14px}

/* About block */
.about{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin-top:10px}
.about h2{margin:0 0 8px;font-size:20px}
.about p{margin:0;color:var(--muted);line-height:1.65;font-size:15px}

/* Footer */
.footer{margin-left:var(--side-w);background:var(--bg);color:var(--muted);padding:22px 16px 18px;border-top:1px solid var(--line)}
.footer-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px}
.footer h4{color:var(--ink);margin:0 0 10px;font-size:15px}
.footer a{display:block;font-size:14px;margin-bottom:7px}
.footer a:hover{color:var(--blue)}
.footer .desc{font-size:14px;line-height:1.6;margin:8px 0 12px}
.social{display:flex;gap:8px}
.social a{width:34px;height:34px;border-radius:9px;background:var(--panel);border:1px solid var(--line);display:grid;place-items:center;font-weight:800;margin:0}
.copy{max-width:1180px;margin:16px auto 0;padding-top:14px;border-top:1px solid var(--line);font-size:13px}

/* Bottom nav (mobile) */
.bottom-nav{display:none}

@media (max-width:1100px){.top-link span.lbl{display:none}.top-link.kids span.lbl{display:inline}}
@media (max-width:900px){
  .menu-btn{display:flex}
  .logo{width:auto}
  .top-nav{display:none}
  .sidebar{transform:translateX(-100%);transition:transform .25s;box-shadow:0 0 30px rgba(0,0,0,.15)}
  body.side-open .sidebar{transform:none}
  body.side-open .overlay-mask{display:block}
  .main,.footer{margin-left:0}
  .main{padding-bottom:84px}
  .showcase{grid-template-columns:1fr;background-position:left center}
  .featured-panel{margin:0 14px 18px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer{padding-bottom:84px}
  .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:64px;background:var(--panel);border-top:1px solid var(--line);z-index:45;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom)}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:700;color:var(--muted)}
  .bottom-nav a.active{color:var(--blue)}
  .bottom-nav a i{font-style:normal;font-size:20px}
}
@media (max-width:560px){
  .promo h1{font-size:36px}
  .promo{padding:22px 16px 18px}
  .features{flex-wrap:nowrap;gap:6px}
  .feature{flex:1;width:auto;font-size:10px;padding:7px 3px}
  .row{grid-auto-columns:150px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .thumb{height:140px}
  .login-btn{display:none}
  .header-actions{gap:6px}
}
