/* ============ Bangla font: Li Ador Noirrit (self-hosted in assets/fonts) ============ */
@font-face { font-family: "Li Ador Noirrit"; src: local("Li Ador Noirrit Light"), url("../fonts/LiAdorNoirrit-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Li Ador Noirrit"; src: local("Li Ador Noirrit Regular"), url("../fonts/LiAdorNoirrit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Li Ador Noirrit"; src: local("Li Ador Noirrit SemiBold"), url("../fonts/LiAdorNoirrit-SemiBold.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Li Ador Noirrit"; src: local("Li Ador Noirrit Bold"), url("../fonts/LiAdorNoirrit-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

/* ============ Base ============ */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #17171c;
  --ink-2: #4a4a55;
  --ink-3: #8a8a96;
  --line: #ebe9e3;
  --line-2: #dedbd3;
  --accent: #4b47d6;
  --accent-soft: #efeefc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 8px 24px -12px rgba(20, 20, 30, .10);
  --shadow-lg: 0 2px 4px rgba(20, 20, 30, .04), 0 24px 48px -20px rgba(20, 20, 30, .18);
  --wrap: 1120px;
  --font: "Li Ador Noirrit", "Google Sans", system-ui, sans-serif;
  --font-bn: "Li Ador Noirrit", "Google Sans", "Noto Sans Bengali", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-bn);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent-soft); color: var(--accent); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-style: italic;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.nav-links a.active { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* ============ Buttons / chips ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn.is-disabled { background: #e7e5df; color: var(--ink-3); cursor: not-allowed; box-shadow: none; transform: none; }
.btn svg { width: 16px; height: 16px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  color: var(--ink-2); transition: background .15s, color .15s;
}
.icon-btn:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.chip[data-type="PDF"]      { background: #fdecec; color: #c2410c; }
.chip[data-type="Book"]     { background: #eaf5ee; color: #1f7a4d; }
.chip[data-type="Template"] { background: #efeefc; color: #4b47d6; }
.chip[data-type="Tool"]     { background: #fdf4e3; color: #a16207; }
.chip[data-type="Notes"]    { background: #e9f3fb; color: #1d6fa5; }

/* ============ Hero ============ */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -10% auto; height: 560px; z-index: -1;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(75,71,214,.10), transparent 70%),
    radial-gradient(35% 50% at 85% 20%, rgba(244,170,120,.14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-family: var(--font-bn); font-weight: 600;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -.01em;
  margin: 20px 0 20px;
}
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent); letter-spacing: 0;
}
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 480px; }
.hero-stats strong { display: block; font-family: var(--font); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.hero-stats span { font-size: 14px; color: var(--ink-3); }

.hero-card {
  position: relative; background: var(--surface); border-radius: 24px; padding: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: rotate(1.2deg);
}
.hero-card .thumb { aspect-ratio: 4/3; border-radius: 14px; }
.hero-card .body { padding: 18px 8px 8px; }
.hero-card h3 { font-size: 20px; line-height: 1.35; margin: 10px 0 6px; font-weight: 600; }
.hero-card p { font-size: 14px; color: var(--ink-3); }
.float-tag {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
  font-size: 13px; transform: rotate(-1.2deg);
}
.float-tag .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-tag .ico svg { width: 16px; height: 16px; }
.float-tag small { display: block; color: var(--ink-3); font-family: var(--font); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.float-tag b { font-weight: 600; }
.float-tag.t1 { top: -18px; left: -36px; }
.float-tag.t2 { bottom: 28px; right: -30px; }

/* ============ Hero orbit (rotating icon sphere) ============ */
.orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-left: auto; user-select: none; }
.orb-glow {
  position: absolute; inset: 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(124,108,240,.28), transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(52,211,153,.20), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(251,146,60,.16), transparent 50%);
  filter: blur(18px);
}
.orb-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(75,71,214,.16); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orb-ring.r1 { width: 58%; height: 58%; animation: spin 60s linear infinite; }
.orb-ring.r2 { width: 84%; height: 84%; border-style: solid; border-color: rgba(23,23,28,.05); }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.orb-item {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; will-change: transform, opacity;
  box-shadow: 0 10px 24px -10px rgba(20,20,45,.35), 0 0 0 1px rgba(20,20,45,.05);
}
.orb-item img { width: 28px; height: 28px; pointer-events: none; }
.orb-item img.fav { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.orb-item b { font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -.02em; }
.orb-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 100;
  width: 104px; height: 104px; border-radius: 30px; background: var(--ink); color: #fff;
  display: grid; place-content: center; text-align: center; gap: 2px;
  box-shadow: 0 24px 50px -16px rgba(23,23,28,.55), 0 0 0 8px rgba(255,255,255,.7);
}
.orb-hub span { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: .9; }
.orb-hub small { font-size: 12px; opacity: .7; }
.orb-hub::after {
  content: ""; position: absolute; inset: -8px; border-radius: 40px; border: 2px solid var(--accent);
  opacity: 0; animation: pulse 3s ease-out infinite;
}
@keyframes pulse { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.orbit .float-tag { z-index: 250; }
.orbit .float-tag.t1 { top: 6%; left: -2%; }
.orbit .float-tag.t2 { bottom: 8%; right: -2%; }

/* ============ Section head ============ */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; margin-top: 10px; letter-spacing: -.01em; }
.sec-head h2 em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.sec-head p { color: var(--ink-2); margin-top: 6px; }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--ink); white-space: nowrap; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============ Cards ============ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column; overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }

/* resource card — tall poster style */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.res-card { display: flex; flex-direction: column; gap: 10px; }
.poster-wrap { position: relative; }
.poster {
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; position: relative;
  background: var(--bg); border: 1px solid rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.res-card:hover .poster { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gen-poster { display: flex; flex-direction: column; padding: 22px 20px; }
.gp-label { font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; opacity: .75; }
.gp-title { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.22; font-weight: 600; margin-top: 18px; letter-spacing: -.01em; }
.gp-title::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--hi); margin-top: 16px; }
.gp-foot { margin-top: auto; font-size: 13px; opacity: .8; }
.gp-glyph { position: absolute; right: -10px; bottom: -28px; font-family: var(--serif); font-size: 170px; line-height: 1; color: var(--hi); opacity: .35; }
.gp-type {
  position: absolute; top: 18px; right: 18px; font-family: var(--font); font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: var(--hi); color: #17171c; letter-spacing: .04em;
}
.res-card { cursor: pointer; outline: none; }
.res-card:focus-visible .poster { box-shadow: 0 0 0 3px var(--accent); }
.res-card h3 { font-size: 16.5px; line-height: 1.45; font-weight: 600; padding: 0 2px; transition: color .15s; }
.res-card:hover h3 { color: var(--accent); }
.res-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); padding: 0 2px; margin-top: auto; }
.res-meta span { display: inline-flex; align-items: center; gap: 5px; }
.res-meta svg { width: 14px; height: 14px; }
.res-meta .dl-count { margin-left: auto; color: var(--ink-2); font-weight: 500; }
.res-meta .has-vid { width: 20px; height: 20px; border-radius: 50%; justify-content: center; background: #ffe4e6; color: #e11d48; }
.res-meta .has-vid svg { width: 9px; height: 9px; margin-left: 1px; }
.new-badge {
  position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 600;
  background: #fff; color: var(--ink); padding: 3px 10px 3px 8px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); display: inline-flex; align-items: center; gap: 6px;
}
.new-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.poster-hover {
  position: absolute; inset: 0; border-radius: 20px; padding: 20px; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  background: linear-gradient(to top, rgba(17,17,22,.92) 10%, rgba(17,17,22,.55) 55%, rgba(17,17,22,0));
  color: #fff; opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.poster-hover p { font-size: 14.5px; line-height: 1.55; transform: translateY(8px); transition: transform .3s ease; }
.hover-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink);
  font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; transform: translateY(8px); transition: transform .3s ease .03s;
}
.hover-cta svg { width: 14px; height: 14px; }
.res-card:hover .poster-hover { opacity: 1; transform: translateY(-4px); }
.res-card:hover .new-badge { opacity: 0; }
.new-badge { transition: opacity .2s; }
.res-card:hover .poster-hover p, .res-card:hover .hover-cta { transform: none; }
@media (hover: none) { .poster-hover { display: none; } }

/* shared resource detail (quick view + spotlight) */
.rd-desc { color: var(--ink-2); font-size: 16px; }
.facts { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.facts li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; min-width: 96px; }
.facts small { display: block; font-size: 12px; color: var(--ink-3); }
.facts b { font-weight: 600; font-size: 15px; }
.rd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-actions .btn svg { width: 17px; height: 17px; }
.rd-note { font-size: 13.5px; color: #15803d; }

/* quick view modal */
.modal-box { position: relative; }
.modal[data-kind="res"] .modal-box { width: min(820px, 100%); }
.modal-close { position: absolute; top: -52px; right: 0; }
.qv {
  background: var(--surface); border-radius: 24px; padding: 16px; display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); animation: pop .25s ease; max-height: calc(100vh - 120px); overflow: auto;
}
.qv-poster .poster:hover { transform: none; }
.qv-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 12px 12px 12px 0; }
.qv-body h3 { font-size: 26px; line-height: 1.3; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* spotlight banner on resources page */
.spotlight {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin-bottom: 80px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px 48px 18px 18px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.spotlight::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none;
}
.spot-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; z-index: 1; }
.spot-body h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 600; }

/* inline player + playlist */
.player { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.player-main { display: flex; flex-direction: column; gap: 18px; }
.stage { aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #111; position: relative; box-shadow: var(--shadow-lg); }
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage-cover { position: absolute; inset: 0; cursor: pointer; }
.stage-cover img { width: 100%; height: 100%; object-fit: cover; }
.play.big i { width: 76px; height: 76px; }
.play.big i svg { width: 26px; height: 26px; }
.stage-cover:hover .play i { transform: scale(1.08); }
.stage-msg {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(17,17,22,.85); color: #fff;
  font-size: 13.5px; padding: 8px 14px; border-radius: 10px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis;
}
.stage-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 0 4px; }
.si-top { display: flex; gap: 6px; }
.stage-info h3 { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; font-weight: 600; }
.stage-info p { color: var(--ink-2); font-size: 15.5px; max-width: 640px; }
.playlist { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.pl-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.pl-head b { font-weight: 600; }
.pl-head span { font-size: 13px; color: var(--ink-3); }
.pl-list { padding: 6px; display: flex; flex-direction: column; max-height: 420px; overflow: auto; }
.pl-item { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 8px; border-radius: 14px; text-align: left; transition: background .15s; position: relative; }
.pl-item:hover { background: var(--bg); }
.pl-item.on { background: var(--accent-soft); }
.pl-item.on::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--accent); }
.pl-thumb { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; position: relative; background: var(--bg); }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl-thumb .gen-thumb span { font-size: 30px; }
.pl-thumb em { position: absolute; right: 5px; bottom: 5px; font-style: normal; font-family: var(--font); font-size: 10.5px; font-weight: 600; background: rgba(17,17,22,.8); color: #fff; padding: 1px 5px; border-radius: 4px; }
.pl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pl-text b { font-weight: 600; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-text small { font-size: 12.5px; color: var(--ink-3); }

/* top chart (ranked) */
.rank-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.rank { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: .9; color: var(--accent); opacity: .9; }

/* sort toggle + chip counts */
.toolbar { align-items: center; }
.toolbar .search { margin-left: auto; }
.filters button i { font-style: normal; font-family: var(--font); font-size: 11.5px; margin-left: 6px; opacity: .55; }
.sort { display: inline-flex; background: #f0eee8; border-radius: 999px; padding: 3px; }
.sort:empty { display: none; }
.sort button { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: .15s; }
.sort button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.chip-new { background: #dcfce7; color: #15803d; }

/* ============ Resource detail page ============ */
.rp-wrap { padding: 40px 0 0; }
.rp-wrap .back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.rp-wrap .back:hover { color: var(--ink); }
.rp-wrap .back svg { width: 16px; height: 16px; }
.rp { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.rp-poster { position: sticky; top: 96px; }
.rp-poster .poster { box-shadow: var(--shadow-lg); }
.rp-body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 640px; }
.rp-tags { display: flex; gap: 8px; }
.rp-body h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.rp-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: 14.5px; }
.rp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.rp-meta svg { width: 15px; height: 15px; }
.rp-desc { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.rp-box { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.rp-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.rp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-lg svg { width: 18px; height: 18px; }
.rp-fb { box-shadow: inset 0 0 0 1px var(--line-2); width: 46px; height: 46px; color: #1877f2; }
.rp-fb svg { width: 20px; height: 20px; }
.rp-video { width: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.rp-vstage { aspect-ratio: 16/9; position: relative; cursor: pointer; background: #111; }
.rp-vstage img { width: 100%; height: 100%; object-fit: cover; }
.rp-vstage iframe { width: 100%; height: 100%; border: 0; display: block; }
.rp-vstage:hover .play i { transform: scale(1.08); }
.rp-vtext { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.rp-vtext svg { width: 30px; height: 30px; flex: none; }
.rp-vtext b, .rp-vl-text b { display: block; font-weight: 600; font-size: 15px; }
.rp-vtext small, .rp-vl-text small { color: var(--ink-3); font-size: 13px; }
.rp-video-link {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(100deg, #fff1f2, #fff); border: 1px solid #fecdd3; transition: transform .2s, box-shadow .2s;
}
.rp-video-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rp-yt svg { width: 40px; height: 40px; display: block; }
.rp-vl-text { flex: 1; }
.rp-go { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px #fecdd3; color: #e11d48; }
.rp-go svg { width: 16px; height: 16px; }
.rp-missing { font-size: 36px; font-weight: 600; margin-bottom: 10px; }
.rp-more { padding-top: 96px; }
.rp-sticky { display: none; }
.sub-label { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 48px 0 18px; }
.yt-ico { width: 15px; height: 15px; flex: none; }

/* post card */
.post-card .thumb { aspect-ratio: 16/9; }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 19px; line-height: 1.4; font-weight: 600; }
.post-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); font-family: var(--font-bn); }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

/* post list (blog page) */
.post-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.post-row .thumb { aspect-ratio: 16/10; border-radius: 14px; }
.post-row h3 { font-size: 22px; line-height: 1.35; font-weight: 600; margin: 8px 0 6px; transition: color .15s; }
.post-row:hover h3 { color: var(--accent); }
.post-row p { color: var(--ink-2); }
.post-row .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .2s; }
.post-row:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-row .go svg { width: 18px; height: 18px; }

/* generated thumbnail */
.thumb { position: relative; overflow: hidden; background: var(--bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.gen-thumb { display: grid; place-items: center; padding: 20px; text-align: center; }
.gen-thumb span {
  font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; opacity: .9;
}

/* video card — borderless */
.vid-card { cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.vthumb { aspect-ratio: 16/9; border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.vid-card:hover .vthumb { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vid-card h3 { font-size: 16.5px; line-height: 1.45; font-weight: 600; padding: 0 2px; }
.vid-card .meta { padding: 0 2px; }
.vid-feature .vthumb:hover .play i, .vid-card:hover .play i { transform: scale(1.08); }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.play i {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .2s;
}
.play i svg { width: 20px; height: 20px; margin-left: 3px; color: var(--ink); }
.vid-card:hover .play i { transform: scale(1.08); }
.duration {
  position: absolute; right: 10px; bottom: 10px; font-family: var(--font); font-size: 12px; font-weight: 600;
  background: rgba(17,17,22,.78); color: #fff; padding: 3px 8px; border-radius: 6px;
}

/* ============ Feature strip ============ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.values > div { padding: 30px; }
.values > div + div { border-left: 1px solid var(--line); }
.values .num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); line-height: 1; }
.values h4 { font-size: 18px; font-weight: 600; margin: 14px 0 4px; }
.values p { color: var(--ink-2); font-size: 15px; }

/* ============ Newsletter / CTA ============ */
.cta {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 64px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -200px;
  background: radial-gradient(circle, rgba(124,120,255,.35), transparent 65%);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; }
.cta h2 em { font-family: var(--serif); font-weight: 400; color: #b7b4ff; }
.cta p { color: rgba(255,255,255,.7); margin-top: 12px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn-light { background: #fff; color: var(--ink); }
.cta .btn-outline { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff; }
.cta .btn-outline:hover, .cta .btn-light:hover { transform: translateY(-1px); }

/* ============ Page header ============ */
.page-head { padding: 64px 0 36px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; font-weight: 600; margin-top: 14px; letter-spacing: -.01em; }
.page-head h1 em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.page-head p { font-size: 18px; color: var(--ink-2); margin-top: 12px; max-width: 620px; }

/* toolbar: search + filters */
.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: .15s;
}
.filters button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.filters button.on { background: var(--ink); color: #fff; box-shadow: none; }
.search {
  display: flex; align-items: center; gap: 10px; min-width: 280px;
  background: var(--surface); border-radius: 999px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .15s;
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--ink-3), 0 0 0 4px var(--accent-soft); }
.search svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 11px 0; width: 100%; color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); grid-column: 1 / -1; }

/* ============ Article ============ */
.article { max-width: 720px; margin-inline: auto; padding: 56px 0 40px; }
.article .back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.article .back:hover { color: var(--ink); }
.article .back svg { width: 16px; height: 16px; }
.article h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.2; font-weight: 600; margin: 16px 0 18px; letter-spacing: -.01em; }
.article .cover { aspect-ratio: 16/8; border-radius: var(--radius); margin: 32px 0 40px; }
.prose { font-size: 18px; line-height: 1.85; color: #2a2a33; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; line-height: 1.35; margin-top: 1.8em; color: var(--ink); font-weight: 600; }
.prose h3 { font-size: 21px; margin-top: 1.5em; color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; font-size: 21px; color: var(--ink);
  font-weight: 500;
}
.prose img { border-radius: var(--radius-sm); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { color: var(--ink-3); font-size: 14px; margin-right: 6px; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; padding: 64px 0 24px; }
.about-photo {
  aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(150deg, #efeefc, #fdf1e8); display: grid; place-items: center;
  position: sticky; top: 100px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .initial { font-family: var(--serif); font-style: italic; font-size: 160px; color: var(--accent); opacity: .85; }
.about-body h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.15; font-weight: 600; margin: 14px 0 8px; }
.about-body h1 em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.about-body .role { color: var(--ink-3); font-size: 17px; }
.about-body .prose { margin-top: 28px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.about-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.about-stats strong { display: block; font-size: 28px; font-weight: 600; line-height: 1.2; }
.about-stats span { color: var(--ink-3); font-size: 14px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 48px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--ink-3); font-size: 15px; margin-top: 12px; max-width: 320px; }
.foot-grid h5 { font-family: var(--font); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-weight: 600; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--ink-2); font-size: 15px; }
.foot-grid ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; gap: 16px; flex-wrap: wrap; }

/* ============ Video modal ============ */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,20,.72); backdrop-filter: blur(6px); display: none; place-items: center; padding: 24px; }
.modal.open { display: grid; animation: fade .2s ease; }
.modal-box { width: min(960px, 100%); }
.modal-frame { aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-frame .no-vid { color: #fff; display: grid; place-items: center; height: 100%; text-align: center; padding: 24px; opacity: .8; }
.modal-close { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .15s; }
.modal-close:hover { background: rgba(255,255,255,.26); }
.modal { overflow: auto; }
.modal-close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Bangla accent words: colored + soft highlighter (serif italic has no Bangla glyphs) */
.hero h1 em, .sec-head h2 em, .cta h2 em, .page-head h1 em, .about-body h1 em {
  font-family: inherit; font-style: normal; font-weight: inherit;
  background: linear-gradient(transparent 68%, var(--accent-soft) 68%, var(--accent-soft) 92%, transparent 92%);
  padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cta h2 em { background: linear-gradient(transparent 68%, rgba(183,180,255,.22) 68%, rgba(183,180,255,.22) 92%, transparent 92%); }

/* tighter tracking for Li Ador Noirrit (its default spacing is quite open) */
body { letter-spacing: -0.015em; }
h1, h2, h3, .gp-title, .hero h1, .page-head h1, .article h1, .rp-body h1, .sec-head h2 { letter-spacing: -0.025em; }
.eyebrow, .gp-label, .foot-grid h5 { letter-spacing: .02em; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { max-width: 460px; margin-inline: auto; }
  .orbit { margin-inline: auto; max-width: 460px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .player { grid-template-columns: 1fr; }
  .pl-list { max-height: 340px; }
  .spotlight { grid-template-columns: 220px 1fr; gap: 28px; padding-right: 28px; }
  .rp { grid-template-columns: 280px 1fr; gap: 36px; }
  .cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-actions { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { position: static; max-width: 360px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--bg); padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .menu-btn { display: block; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .gen-poster { padding: 16px 14px; }
  .gp-title { font-size: 18px; margin-top: 12px; }
  .gp-type { display: none; }
  .gp-label { font-size: 9.5px; letter-spacing: .12em; }
  .res-card h3 { font-size: 15px; }
  .new-badge { bottom: 8px; right: 8px; font-size: 11px; }
  .res-meta { flex-wrap: wrap; gap: 6px 10px; }
  .qv { grid-template-columns: 1fr; padding: 12px; }
  .qv-poster { max-width: 200px; }
  .qv-body { padding: 4px 6px 10px; }
  .qv-body h3 { font-size: 22px; }
  .spotlight { grid-template-columns: 1fr; padding: 14px 14px 24px; gap: 20px; }
  .spot-poster { max-width: 220px; }
  .spot-body { padding: 0 8px; }
  .toolbar .search { margin-left: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filters button { flex: none; }
  .pl-item { grid-template-columns: 112px 1fr; }
  .rank { font-size: 42px; }
  .rp-wrap { padding-top: 24px; }
  .orb-item { width: 48px; height: 48px; }
  .orb-item img { width: 22px; height: 22px; }
  .orb-item img.fav { width: 26px; height: 26px; border-radius: 7px; }
  .orb-item b { font-size: 11.5px; }
  .orb-hub { width: 88px; height: 88px; border-radius: 26px; }
  .orb-hub span { font-size: 38px; }
  .orbit .float-tag { font-size: 12px; padding: 8px 10px; }
  .orbit .float-tag .ico { width: 24px; height: 24px; }
  .rp { grid-template-columns: 1fr; gap: 28px; }
  .rp-poster { position: static; max-width: 240px; }
  .rp-actions .btn-lg { flex: 1; justify-content: center; }
  .rp-more { padding-top: 64px; }
  .rp-sticky {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; align-items: center; gap: 12px;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px;
    padding: 10px 10px 10px 16px; box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .rp-sticky.show { transform: none; }
  .rp-sticky span { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rp-sticky .btn svg { width: 15px; height: 15px; }
  .values { grid-template-columns: 1fr; }
  .values > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sec-head { flex-direction: column; align-items: start; }
  .post-row { grid-template-columns: 1fr; gap: 14px; }
  .post-row .go { display: none; }
  .search { min-width: 0; width: 100%; }
  .float-tag.t1 { left: -6px; } .float-tag.t2 { right: -6px; }
  .hero-stats { gap: 28px; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .about-stats div { padding: 14px; }
  .about-stats strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
