:root {
  --lime: #f3f757;
  --lime-2: #fff875;
  --green-950: #062c1d;
  --green-900: #073a23;
  --green-800: #075c34;
  --green-700: #0b8747;
  --green-600: #10aa57;
  --blue-900: #041b52;
  --blue-700: #075eda;
  --red: #ec1f2e;
  --gold: #f7c631;
  --ink: #273245;
  --muted: #687486;
  --line: #e6ebf1;
  --soft: #f8fafc;
  --white: #fff;
  --shadow: 0 16px 42px rgba(21, 42, 74, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #dfe4ea;
  color: var(--ink);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page { width: min(1080px, 100%); margin: 0 auto; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(7, 58, 35, 0.08); }
.wrap { width: min(910px, calc(100% - 56px)); margin: 0 auto; }
.topbar { background: linear-gradient(90deg, var(--lime), #f7ff73 55%, #e6f942); border-bottom: 1px solid rgba(4, 82, 48, 0.1); }
.topbar .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--green-800); font-size: 42px; font-weight: 950; line-height: 1; }
.logo-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 16px; color: var(--gold); background: linear-gradient(135deg, #0fb764, #064b2e); box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), 0 10px 22px rgba(8,122,64,.24); }
.logo b { color: #123052; }
.actions, .hero-actions { display: flex; align-items: center; gap: 14px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 0 23px; color: #fff; font-size: 14px; font-weight: 950; white-space: nowrap; box-shadow: 0 8px 18px rgba(15,81,49,.16); }
.btn.primary { background: linear-gradient(180deg, var(--green-600), var(--green-800)); border-color: rgba(255,255,255,.55); }
.btn.ghost { background: var(--white); color: var(--green-900); border-color: var(--green-800); box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #fff975, var(--gold)); color: #06351f; }
.nav { background: var(--lime-2); border-bottom: 1px solid rgba(7,58,35,.1); }
.nav .wrap { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 28px; overflow-x: auto; }
.nav a { position: relative; padding: 18px 0 16px; color: var(--red); font-size: 14px; font-weight: 950; white-space: nowrap; }
.nav a.active::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 999px; background: var(--green-700); }
.hero { min-height: 430px; position: relative; color: #fff; background-image: linear-gradient(90deg, rgba(5,39,99,.12) 0%, rgba(6,44,29,.08) 36%, rgba(2,18,55,.82) 70%, rgba(2,14,42,.96) 100%), url("/assets/kingtaka-hero.png"); background-size: cover; background-position: center; }
.hero .wrap { min-height: 430px; display: flex; align-items: center; justify-content: flex-end; }
.hero-panel { width: 445px; padding: 26px 0 24px; }
.pill { min-height: 34px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px; color: #06351f; background: linear-gradient(180deg, #fff975, var(--gold)); font-size: 13px; font-weight: 950; box-shadow: 0 10px 26px rgba(247,198,49,.28); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 18px 0 14px; color: #fff; font-size: clamp(42px, 5vw, 58px); line-height: .98; font-weight: 950; text-shadow: 0 5px 0 rgba(0,0,0,.22), 0 16px 32px rgba(0,0,0,.28); }
.hero h1 span { display: block; color: var(--gold); }
.hero p { max-width: 390px; color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.75; }
.official { padding: 26px 0; background: #eef4f8; }
.official-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.official-left { display: flex; align-items: center; gap: 16px; }
.shield { display: grid; width: 58px; height: 58px; place-items: center; flex: 0 0 auto; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-900)); font-size: 28px; font-weight: 950; }
.official h2, .story h2, .table-title h2, .section-head h2, .page-hero h1 { margin: 0; color: var(--green-950); font-size: clamp(26px, 4vw, 38px); line-height: 1.12; font-weight: 950; }
.official p, .story p, .feature-card p, .post p, .step-card p, .article-card p, .aside p, .info-table td { color: var(--muted); line-height: 1.75; }
.feature-icons { padding: 34px 0; background: #fff; }
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature-card { min-height: 190px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(21,42,74,.08); }
.icon { display: grid; width: 48px; height: 48px; margin-bottom: 12px; place-items: center; border-radius: 16px; color: var(--green-950); background: linear-gradient(180deg, #fff975, var(--gold)); font-size: 22px; font-weight: 950; }
.feature-card h3 { margin-bottom: 8px; color: var(--green-900); font-size: 19px; }
.content-band, .table-band, .news { padding: 42px 0; background: var(--soft); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 28px; align-items: start; }
.story, .timeline, .table-card, .post, .article-card, .aside { border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.story { padding: 28px; }
.story h2 span, .section-head h2 span { color: var(--green-700); }
.story-visual { overflow: hidden; margin-top: 22px; border-radius: 20px; border: 1px solid var(--line); background: #eef7f2; }
.story-visual img { width: 100%; height: 230px; object-fit: cover; }
.visual-caption { padding: 12px 16px; color: var(--muted); font-weight: 800; }
.timeline { padding: 20px; }
.steps-title { margin: 0 0 14px; color: var(--green-950); font-size: 24px; }
.step-card { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step-card:last-child { border-bottom: 0; }
.step-number { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--green-950); background: var(--lime-2); font-weight: 950; }
.step-card h3 { margin-bottom: 4px; color: var(--green-900); }
.table-card { padding: 26px; }
.table-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.table-title small { color: var(--red); font-weight: 950; }
.info-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; }
.info-table th, .info-table td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 180px; color: var(--green-900); background: #eefaf2; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-head a, .readmore { color: var(--red); font-weight: 950; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { overflow: hidden; }
.post-media { display: block; min-height: 172px; background: url("/assets/kingtaka-categories.png") center / cover no-repeat, #0b8747; }
.post-body { padding: 18px; }
.post h3 { color: var(--green-950); font-size: 20px; line-height: 1.25; }
.page-hero { padding: 74px 0; color: #fff; background: linear-gradient(90deg, rgba(6,44,29,.92), rgba(4,27,82,.65)), url("/assets/kingtaka-hero.png") center / cover no-repeat, var(--green-900); }
.page-hero h1 { color: #fff; max-width: 850px; }
.page-hero p { max-width: 720px; margin: 14px 0 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.75; }
.article-section { padding: 42px 0; background: var(--soft); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.article-card, .aside { padding: 28px; }
.article-card h2 { color: var(--green-950); }
.list { margin: 0; padding-left: 24px; color: var(--muted); }
.list li { margin: 10px 0; }
.aside { position: sticky; top: 74px; }
.aside a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--red); font-weight: 950; }
.footer { padding: 38px 0 0; color: #dff6e8; background: linear-gradient(180deg, var(--green-900), #041b52); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .85fr .9fr .9fr; gap: 28px; }
.footer .logo { color: #fff; font-size: 32px; margin-bottom: 12px; }
.footer .logo b { color: #e8ff75; }
.footer h3 { color: #fff; margin: 0 0 12px; }
.footer p { color: #c9f0d8; }
.footer a { display: block; margin: 7px 0; color: #effff5; }
.copyright { margin-top: 30px; padding: 14px; text-align: center; background: rgba(0,0,0,.18); color: #c9f0d8; }
@media (max-width: 900px) {
  .topbar .wrap, .official-card { flex-direction: column; align-items: stretch; }
  .hero .wrap { justify-content: center; }
  .hero-panel { width: 100%; }
  .icon-grid, .news-grid, .content-layout, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 910px); }
  .logo { font-size: 32px; }
  .actions, .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav .wrap { justify-content: flex-start; gap: 20px; }
  .hero h1 { font-size: 40px; }
  .hero, .hero .wrap { min-height: 520px; }
  .official-left { align-items: flex-start; }
  .table-title { display: block; }
  .info-table th, .info-table td { display: block; width: 100%; }
}
