:root {
  --black: #101010;
  --ink: #24272d;
  --red: #e4322e;
  --red-deep: #8f1115;
  --orange: #ff8a1d;
  --gold: #f7c647;
  --teal: #22b8c8;
  --paper: #ffffff;
  --soft: #f7f1e8;
  --muted: #65717e;
  --line: rgba(36, 39, 45, .13);
  --max: 1140px;
  --shadow: 0 18px 48px rgba(30, 22, 14, .16);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; overflow-x: hidden; letter-spacing: 0; }
body.baji-page { min-width: 320px; color: var(--ink); background: var(--soft); line-height: 1.68; font-family: Arial, "Noto Sans Bengali", Helvetica, sans-serif; }
.baji-page a { color: inherit; text-decoration: none; }
.baji-page img { display: block; max-width: 100%; }
.baji-page h1, .baji-page h2, .baji-page h3, .baji-page p { margin: 0; letter-spacing: 0; overflow-wrap: anywhere; }
.baji-page p { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.top { background: var(--black); color: #fff; }
.top-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 8px; color: #241204; background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0)), linear-gradient(135deg, #ffe071 0%, #ff8a1d 47%, #22b8c8 100%); border: 2px solid rgba(247,198,71,.78); box-shadow: 0 14px 28px rgba(0,0,0,.34); font-size: 19px; font-weight: 950; }
.word { display: grid; gap: 3px; line-height: 1; min-width: 0; }
.word strong { color: var(--gold); font-size: 30px; font-weight: 950; }
.word span { color: rgba(255,255,255,.74); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); color: #fff; background: #365f8d; font-size: 13px; font-weight: 950; text-transform: uppercase; box-shadow: 0 10px 22px rgba(0,0,0,.2); text-align: center; }
.btn.gold { border-color: transparent; color: #2a1403; background: linear-gradient(180deg, #ffe98e, var(--gold) 54%, var(--orange)); box-shadow: 0 14px 28px rgba(247,198,71,.28); }
.nav-band { color: #fff; background: linear-gradient(90deg, var(--red), #ff6d1a); box-shadow: 0 10px 24px rgba(143,17,21,.18); }
.nav { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; padding: 22px 0 20px; color: rgba(255,255,255,.94); font-size: 13px; font-weight: 950; text-transform: uppercase; flex: 0 0 auto; }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 4px; border-radius: 999px; background: var(--gold); }
.hero { position: relative; min-height: 650px; color: #fff; overflow: hidden; background: #160704; isolation: isolate; }
.hero img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,5,4,.97) 0%, rgba(7,5,4,.86) 34%, rgba(7,5,4,.34) 68%, rgba(7,5,4,.1) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 130px; background: linear-gradient(180deg, transparent, #160704); }
.hero-inner { min-height: 650px; display: grid; grid-template-columns: minmax(0,630px) minmax(260px,1fr); gap: 42px; align-items: center; padding: 64px 0 76px; }
.title { max-width: 660px; color: #fff; font-size: clamp(44px,6.4vw,82px); line-height: .98; font-weight: 950; text-transform: uppercase; text-shadow: 0 14px 36px rgba(0,0,0,.48); }
.title span { display: block; color: var(--gold); }
.copy { max-width: 570px; margin-top: 24px; color: rgba(255,255,255,.84); font-size: 18px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-note { width: min(100%,430px); align-self: end; justify-self: end; margin-bottom: 20px; padding: 22px; border: 1px solid rgba(247,198,71,.4); border-radius: 8px; background: rgba(16,16,16,.72); box-shadow: 0 22px 70px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.hero-note h2 { color: var(--gold); font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.hero-note p { margin-top: 10px; color: rgba(255,255,255,.74); font-size: 14px; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 18px; overflow: hidden; border-radius: 8px; background: rgba(247,198,71,.28); }
.mini-stats span { min-height: 72px; padding: 12px 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 800; }
.mini-stats b { display: block; color: var(--gold); font-size: 20px; line-height: 1; margin-bottom: 7px; }
.section { padding: 52px 0; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .news-title h2 { color: var(--ink); font-size: clamp(30px,4vw,44px); line-height: 1.12; font-weight: 950; }
.section-head p, .news-title p { margin-top: 10px; font-size: 16px; }
.intro-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; align-items: start; }
.article, .side, .flow-card, .news-card, .article-main, .article-side { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article { padding: 32px; }
.article h3, .article-main h2, .article-main h3 { color: var(--red-deep); margin: 24px 0 10px; font-size: 22px; line-height: 1.22; }
.article h3:first-child { margin-top: 0; }
.article p + p { margin-top: 14px; }
.callout { margin-top: 20px; padding: 16px 18px; border-radius: 8px; border: 1px solid rgba(34,184,200,.32); background: linear-gradient(135deg, rgba(34,184,200,.12), rgba(247,198,71,.12)); color: var(--ink); font-weight: 900; }
.side { overflow: hidden; }
.side-head { padding: 22px; color: #fff; background: linear-gradient(135deg, var(--red-deep), var(--orange)); }
.side-head strong { display: block; font-size: 25px; line-height: 1; }
.side-head span { display: block; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 800; }
.side-list { display: grid; padding: 12px; }
.side-list a, .side-list li { padding: 13px 12px; border-radius: 7px; color: var(--ink); font-weight: 900; }
.side-list a:hover { background: var(--soft); color: var(--red-deep); }
.category-band { padding: 28px 0; background: #160704; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.baji-page .category { min-height: 112px; display: flex; align-items: flex-end; padding: 16px; border-radius: 8px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.82)), url("bajiok-categories.png") center / cover; box-shadow: 0 12px 26px rgba(0,0,0,.22); border: 1px solid rgba(247,198,71,.34); font-weight: 950; text-transform: uppercase; text-shadow: 0 3px 10px rgba(0,0,0,.72); }
.category:nth-child(2), .category:nth-child(5) { background-position: 35% center; }
.category:nth-child(3), .category:nth-child(6) { background-position: 65% center; }
.category:nth-child(4), .category:nth-child(8) { background-position: right center; }
.feature-band { background: #160704; color: #fff; }
.feature-band .section-head h2 { color: #fff; }
.feature-band .section-head p { color: rgba(255,255,255,.72); }
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.flow-card { min-height: 210px; padding: 24px; border-color: rgba(247,198,71,.26); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); color: #fff; box-shadow: none; }
.flow-card b { color: var(--gold); font-size: 34px; line-height: 1; }
.flow-card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.2; }
.flow-card p { color: rgba(255,255,255,.72); }
.promo { min-height: 315px; display: flex; align-items: center; border-radius: 8px; color: #fff; background: linear-gradient(90deg, rgba(9,5,3,.95), rgba(143,17,21,.44)), url("bajiok-app-security.png") right center / cover no-repeat; box-shadow: var(--shadow); padding: 38px; }
.promo-copy { max-width: 560px; text-shadow: 0 6px 20px rgba(0,0,0,.44); }
.promo-copy h2 { color: var(--gold); font-size: clamp(34px,4vw,48px); line-height: 1.05; font-weight: 950; text-transform: uppercase; }
.promo-copy p { margin-top: 12px; color: rgba(255,255,255,.86); font-size: 18px; font-weight: 700; }
.news-shell { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 28px; align-items: start; }
.news-list { display: grid; gap: 16px; }
.news-card { display: grid; grid-template-columns: 142px minmax(0,1fr); gap: 18px; padding: 16px; box-shadow: 0 10px 28px rgba(30,22,14,.1); }
.news-thumb { min-height: 112px; border-radius: 8px; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44)), url("bajiok-hero.png") center / cover; }
.news-card:nth-child(2n) .news-thumb { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44)), url("bajiok-categories.png"); }
.news-card:nth-child(3n) .news-thumb { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44)), url("bajiok-app-security.png"); }
.news-card h3 { color: var(--ink); font-size: 20px; line-height: 1.26; }
.news-card time { display: block; margin: 7px 0; color: var(--red); font-size: 13px; font-weight: 950; }
.news-card a.more { display: inline-flex; margin-top: 10px; color: var(--red-deep); font-weight: 950; }
.footer { margin-top: 0; background: var(--black); color: #fff; }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer strong { color: var(--gold); font-size: 28px; }
.footer span { color: rgba(255,255,255,.72); font-weight: 700; }
.article-hero { background: linear-gradient(90deg, rgba(7,5,4,.95), rgba(143,17,21,.45)), url("bajiok-hero.png") center / cover; color: #fff; padding: 76px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #ffe98e; font-weight: 950; }
.article-hero h1 { max-width: 900px; color: #fff; font-size: clamp(36px,5vw,64px); line-height: 1.06; font-weight: 950; text-transform: uppercase; }
.article-hero p { max-width: 780px; margin-top: 18px; color: rgba(255,255,255,.84); font-size: 18px; font-weight: 700; }
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; padding: 42px 0; }
.article-main { padding: 32px; }
.article-main img { width: 100%; margin-bottom: 24px; border-radius: 8px; border: 1px solid rgba(36,39,45,.12); }
.article-main p { font-size: 16px; line-height: 1.78; }
.article-side { align-self: start; padding: 24px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.plain-list a { color: var(--red-deep); font-weight: 900; }
@media (max-width: 980px) {
  .hero-inner, .intro-grid, .news-shell, .article-wrap { grid-template-columns: 1fr; }
  .hero-note { justify-self: start; align-self: start; }
  .category-grid, .flow { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .top-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .nav { justify-content: flex-start; gap: 22px; }
  .hero, .hero-inner { min-height: 0; }
  .hero-inner { padding: 48px 0 52px; }
  .title { font-size: 46px; }
  .mini-stats, .category-grid, .flow, .news-card { grid-template-columns: 1fr; }
  .section { padding: 38px 0; }
  .article { padding: 24px; }
  .promo { padding: 30px 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 26px 0; }
  .article-main { padding: 22px; }
}
