/* ইরুদোরি ভাইয়ের মকটেস্ট থেরাপী — LMS ওয়েবসাইট
   ক্লাসিক একাডেমিক ডিজাইন: নেভি + ক্রিমসন + সোনালি, সেরিফ শিরোনাম */
:root {
  --navy: #0e2a47; --navy-2: #0a1f36; --navy-3: #16395f;
  --crimson: #a3192f; --crimson-2: #861426;
  --gold: #c9a54c; --gold-2: #b38f37; --gold-soft: #f3e7c6;
  --cream: #faf7f0; --paper: #ffffff; --line: #e7e1d3; --line-2: #eef0f4;
  --ink: #1d2433; --ink-2: #3b4456; --muted: #6b7385;
  --ok: #1f7a4a; --ok-bg: #e8f5ee; --warn: #9a6400; --warn-bg: #fff4dc; --bad: #a3192f; --bad-bg: #fcebee; --info-bg: #e9f0fa;
  --serif: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif;
  --serif-bn: 'Noto Serif Bengali', 'Playfair Display', Georgia, serif;
  --sans: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 12px; --r-lg: 18px;
  --sh: 0 1px 2px rgba(14, 42, 71, .06), 0 6px 20px rgba(14, 42, 71, .07);
  --sh-lg: 0 20px 50px rgba(10, 31, 54, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--crimson); }
h1, h2, h3 { font-family: var(--serif-bn); color: var(--navy); line-height: 1.3; margin: 0 0 .5em; }
html[lang=en] h1, html[lang=en] h2 { font-family: var(--serif); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 32px; }
.ok-text { color: var(--ok); } .bad-text { color: var(--bad); }
body.no-scroll { overflow: hidden; }
.center-screen { min-height: 100vh; display: grid; place-items: center; }
.center-pad { padding: 80px 0; display: grid; place-items: center; }
.boot { display: grid; place-items: center; gap: 18px; }
.boot img { width: 110px; height: 110px; border-radius: 50%; box-shadow: var(--sh); }
.jp, .jp-big { font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; letter-spacing: .04em; }

/* ---------- বাটন ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: .98rem; line-height: 1.2; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; background: var(--line-2); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn.lg { padding: 14px 30px; font-size: 1.05rem; }
.btn.block { display: flex; width: 100%; margin-top: 10px; white-space: normal; }
.btn.primary { background: var(--crimson); color: #fff; box-shadow: 0 6px 16px rgba(163, 25, 47, .25); }
.btn.primary:hover { background: var(--crimson-2); color: #fff; }
.btn.gold { background: linear-gradient(180deg, #d8b85d, var(--gold-2)); color: #1d1606; box-shadow: 0 8px 20px rgba(201, 165, 76, .35); }
.btn.gold:hover { color: #000; }
.btn.outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn.outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn.ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn.wa { background: #1fa855; color: #fff; }
.btn.wa:hover { background: #178a45; color: #fff; }
.btn.danger { background: var(--bad-bg); color: var(--bad); }
.btn.link { background: none; color: var(--navy-3); padding: 8px; }
.link-arrow { font-weight: 600; color: var(--crimson); }

/* ---------- উপরের ছোট বার ---------- */
.utility { background: var(--navy-2); color: #c9d3e2; font-size: .86rem; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.utility a { color: #fff; }
.u-left, .u-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sep { opacity: .4; margin: 0 4px; }
.u-pill { background: var(--crimson); color: #fff; padding: 2px 12px; border-radius: 999px; font-weight: 600; font-size: .8rem; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(163, 25, 47, .6); } 50% { box-shadow: 0 0 0 6px rgba(163, 25, 47, 0); } }
.lang-btn { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 6px; padding: 2px 10px; font-size: .82rem; }
.lang-btn.dark { border-color: var(--line); color: var(--navy); background: #fff; padding: 5px 12px; }

/* ---------- হেডার ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--gold), var(--crimson)); opacity: .9; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14, 42, 71, .1); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.crest { width: 46px; height: 52px; flex: none; filter: drop-shadow(0 3px 6px rgba(14, 42, 71, .25)); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt b { font-family: var(--serif-bn); font-size: 1.12rem; font-weight: 700; }
.brand-txt small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-top: 3px; }
.brand.light, .brand.light:hover { color: #fff; }
.brand.light .brand-txt small { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 8px; position: relative; font-size: .97rem; }
.main-nav > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--crimson); transform: scaleX(0); transition: transform .2s; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.active { color: var(--navy); }
.nav-cta { display: flex; gap: 8px; margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--navy); border-radius: 10px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger.x span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- নিউজ টিকার ---------- */
.ticker { background: var(--gold-soft); border-bottom: 1px solid #ead9a8; font-size: .93rem; }
.ticker-in, .ticker.in-portal { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.ticker-label { flex: none; background: var(--crimson); color: #fff; font-weight: 700; padding: 6px 14px; font-size: .82rem; letter-spacing: .04em; }
.ticker-track { overflow: hidden; flex: 1; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; animation: tick var(--dur, 30s) linear infinite; padding-left: 20px; }
.ticker-move:hover { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker.in-portal { border-radius: var(--r); border: 1px solid #ead9a8; margin-bottom: 18px; }

/* ---------- হিরো ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #1d4a7a 0%, transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy) 55%, #123659); color: #fff; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 26px 26px; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(179, 25, 47, .55), transparent 70%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding: 84px 0 96px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: 12px; position: relative; padding-left: 34px; }
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.22; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); position: relative; }
.hero-text > p { font-size: 1.12rem; color: #d3dceb; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; color: #b9c6da; font-size: .92rem; }
.hero-art { position: relative; justify-self: center; }
.frame { width: min(360px, 78vw); aspect-ratio: 1; border-radius: 50%; padding: 14px; background: conic-gradient(from 200deg, var(--gold), #f5e3a8, var(--gold-2), var(--gold)); box-shadow: var(--sh-lg); animation: floaty 6s ease-in-out infinite; }
.frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--navy); background: #fff; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card { position: absolute; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 16px; box-shadow: var(--sh-lg); display: flex; flex-direction: column; line-height: 1.25; }
.float-card b { font-family: var(--serif-bn); font-size: 1.2rem; color: var(--crimson); }
.float-card span { font-size: .8rem; color: var(--muted); }
.fc1 { left: -30px; top: 30px; } .fc2 { right: -20px; top: 46%; } .fc3 { left: 10px; bottom: -6px; background: var(--crimson); }
.fc3 .jp { color: #fff; font-size: .95rem; }

/* ---------- পরিসংখ্যান ---------- */
.stats-band { background: var(--paper); position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); margin-top: -46px; border-top: 4px solid var(--gold); overflow: hidden; }
.stat-item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item b { display: block; font-family: var(--serif-bn); font-size: 2.2rem; color: var(--navy); line-height: 1.1; }
.stat-item span { color: var(--muted); font-weight: 500; }
.page-banner + .section + .stats-band .stats-grid, .section + .stats-band .stats-grid { margin-top: 0; }

/* ---------- সেকশন ---------- */
.section { padding: 86px 0; }
.section.alt { background: var(--cream); }
.section.navy { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head .eyebrow { padding-left: 0; } .sec-head .eyebrow::before { display: none; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.sec-head .h2::after { content: ''; display: block; width: 70px; height: 3px; margin: 16px auto 0; background: linear-gradient(90deg, var(--crimson), var(--gold)); border-radius: 3px; }
.lead { font-size: 1.07rem; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.sign { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin: 22px 0 26px; display: flex; flex-direction: column; }
.sign b { font-family: var(--serif-bn); color: var(--navy); font-size: 1.1rem; }
.sign span { color: var(--muted); font-size: .9rem; }

/* নোটিশ বোর্ড */
.notice-board { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid var(--line); overflow: hidden; }
.nb-head { background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-family: var(--serif-bn); font-weight: 700; font-size: 1.08rem; border-bottom: 3px solid var(--gold); }
.nb-head a { color: var(--gold); font-family: var(--sans); font-size: .88rem; font-weight: 600; }
.nb-list { list-style: none; margin: 0; padding: 6px 0; max-height: 440px; overflow: auto; }
.nb-list li { display: flex; gap: 16px; padding: 14px 20px; border-bottom: 1px dashed var(--line); }
.nb-list li:last-child { border-bottom: 0; }
.nb-date { flex: none; width: 58px; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px; line-height: 1.1; }
.nb-date b { display: block; font-family: var(--serif-bn); color: var(--crimson); font-size: 1.35rem; }
.nb-date small { font-size: .7rem; color: var(--muted); }
.nb-list p { margin: 0; color: var(--ink-2); }
.nb-empty { color: var(--muted); }

/* বৈশিষ্ট্য */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.feat::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--crimson), var(--gold)); transition: width .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.feat:hover::before { width: 100%; }
.feat-ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; background: var(--gold-soft); margin-bottom: 16px; }
.feat p { color: var(--muted); margin: 0; }

/* কোর্স কার্ড */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cc-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 14px; }
.cc-ic { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-3)); box-shadow: 0 0 0 4px var(--gold-soft); }
.cc-tag { background: var(--crimson); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.course-card p { color: var(--muted); flex: 1; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.cc-price { font-family: var(--serif-bn); font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.cc-price small { font-family: var(--sans); font-size: .76rem; color: var(--muted); font-weight: 500; margin-right: 4px; }
.pk-list { list-style: none; padding: 0; margin: 0 0 14px; }
.pk-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.pk-list li b { color: var(--crimson); white-space: nowrap; }
.pk-list.big li { padding: 11px 0; font-size: 1rem; }

/* পরীক্ষার কাঠামো */
.exam-box { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; color: #fff; }
.exam-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.exam-box p { color: #c6d1e2; }
.exam-facts { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.exam-facts div { border: 1px solid rgba(201, 165, 76, .5); border-radius: 14px; padding: 12px 20px; text-align: center; min-width: 110px; }
.exam-facts b { display: block; font-family: var(--serif-bn); font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.exam-facts span { font-size: .85rem; color: #c6d1e2; }
.exam-secs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.exam-secs li { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px 18px; transition: background .2s; }
.exam-secs li:hover { background: rgba(255, 255, 255, .1); }
.es-no { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 800; flex: none; }
.exam-secs b { display: block; font-size: 1.15rem; }
.exam-secs small { color: #b9c6da; }

/* ধাপ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); }
.steps li { text-align: center; position: relative; padding: 0 8px; }
.step-no { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif-bn); font-size: 1.5rem; font-weight: 700; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold), var(--sh); position: relative; }
.steps p { color: var(--muted); font-size: .95rem; }

/* অ্যাপ */
.app-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.app-art { display: grid; place-items: center; }
.phone { width: 250px; height: 480px; border-radius: 38px; background: linear-gradient(160deg, var(--navy), var(--navy-2)); border: 10px solid #111; box-shadow: var(--sh-lg); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; }
.phone-notch { position: absolute; top: 8px; width: 90px; height: 20px; border-radius: 12px; background: #111; }
.phone img { width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--gold); background: #fff; }
.phone b { font-family: var(--serif-bn); font-size: 1.2rem; }
.phone span { font-family: 'Yu Mincho', serif; color: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding: 5px 0 5px 30px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
.ticks.light li { color: #d3dceb; }
.ticks.light li::before { background: rgba(201, 165, 76, .2); color: var(--gold); }

/* প্রশ্নোত্তর */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--navy); cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; background: var(--crimson); color: #fff; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--crimson-2), var(--crimson) 50%, #b8243c); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0); background-size: 22px 22px; }
.cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 4px; }
.cta-band p { margin: 0; color: #ffdbe0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* পাতার ব্যানার */
.page-banner { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(201, 165, 76, .12); }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 6px 0 0; }
.crumb { color: #b9c6da; font-size: .92rem; }
.crumb a { color: var(--gold); }
.crumb span { margin: 0 6px; opacity: .6; }
.values { display: grid; gap: 16px; }
.value { display: flex; gap: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.value > span { font-size: 1.8rem; }
.value p { margin: 0; color: var(--muted); }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh); }
.pay-note { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--r); padding: 14px 16px; color: var(--ink-2); margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; text-align: center; box-shadow: var(--sh); color: var(--ink); transition: transform .2s; }
.contact-card:hover { transform: translateY(-3px); color: var(--ink); }
.cc-wa { font-size: 2rem; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--ok-bg); }
.contact-card .big { font-family: var(--serif-bn); font-size: 1.5rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }

/* ফুটার */
.site-footer { background: var(--navy-2); color: #b9c6da; padding-top: 64px; border-top: 4px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--serif-bn); font-size: 1.05rem; margin: 6px 0 16px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.site-footer a { display: block; color: #b9c6da; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.foot-brand p { margin-top: 16px; font-size: .95rem; }
.foot-brand .jp { color: var(--gold); font-size: 1.1rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .86rem; text-align: center; }

/* উঠে আসার এনিমেশন */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .frame, .ticker-move, .u-pill { animation: none; } }

/* ---------- লগইন/রেজিস্ট্রেশন ---------- */
.auth-sec { background: var(--cream); padding: 60px 0; min-height: calc(100vh - 124px); }
.auth-shell { width: min(1000px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); overflow: hidden; }
.auth-side { background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 44px 38px; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(201, 165, 76, .14); }
.auth-side h2 { color: #fff; margin-top: 40px; font-size: 1.7rem; }
.auth-side p { color: #c6d1e2; }
.auth-side .jp { color: var(--gold); font-size: 1.2rem; margin-top: 30px; }
.auth-main { padding: 44px 46px; }
.auth-tabs { display: flex; background: var(--line-2); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.auth-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.auth-tabs a.active { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.auth-main h1 { font-size: 1.8rem; }

/* ফর্ম */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; font-size: .94rem; }
.field input, .field select { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(22, 57, 95, .12); }
.field small { color: var(--muted); }
.pw-wrap { position: relative; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.1rem; padding: 6px; opacity: .6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- পোর্টাল ---------- */
.portal { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; background: #f4f6fa; }
.p-side { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #c9d3e2; padding: 22px 16px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; height: 100vh; overflow: auto; z-index: 50; }
.p-side .crest { width: 38px; height: 44px; }
.p-side .brand-txt b { font-size: 1rem; }
.p-user { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px; }
.p-user b { color: #fff; display: block; font-size: .95rem; line-height: 1.25; word-break: break-word; }
.p-user small { font-size: .78rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-2); font-weight: 800; font-size: 1.1rem; }
.avatar.xl { width: 90px; height: 90px; font-size: 2.2rem; margin: 0 auto 14px; box-shadow: 0 0 0 5px var(--gold-soft); }
.p-nav { display: flex; flex-direction: column; gap: 3px; }
.p-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: #c9d3e2; font-weight: 500; transition: background .15s, color .15s; }
.p-nav a span { width: 22px; text-align: center; }
.p-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.p-nav a.active { background: #fff; color: var(--navy); font-weight: 700; box-shadow: inset 4px 0 0 var(--crimson); }
.p-nav a.admin-link { margin-top: 8px; border: 1px dashed rgba(201, 165, 76, .6); color: var(--gold); }
.p-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.p-side-foot a { color: #c9d3e2; padding: 6px 10px; font-size: .92rem; }
.p-side-foot button { background: rgba(163, 25, 47, .25); color: #ffd6dc; border: 0; border-radius: 10px; padding: 10px; font-weight: 600; }
.p-scrim { display: none; }
.p-main { min-width: 0; display: flex; flex-direction: column; }
.p-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 14px; padding: 14px 28px; min-height: 68px; }
.p-top h1 { font-size: 1.35rem; margin: 0; flex: 1; }
.p-top-r { display: flex; align-items: center; gap: 12px; }
.p-clock { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.burger.dark { display: none; }
.p-content { padding: 26px 28px 60px; max-width: 1240px; width: 100%; }

.banner { border-radius: var(--r); padding: 14px 18px; margin-bottom: 18px; border: 1px solid transparent; }
.banner.info { background: var(--info-bg); border-color: #cddcf1; color: var(--navy); }
.banner.notice { background: var(--gold-soft); border-color: #ead9a8; }
.banner.ok { background: var(--ok-bg); border-color: #bfe3cf; color: #135c36; }
.banner.bad { background: var(--bad-bg); border-color: #f2c4cc; color: var(--bad); }
.banner.warn { background: var(--warn-bg); border-color: #f1d9a3; color: #6b4600; }

.welcome-card { background: linear-gradient(120deg, var(--navy-2), var(--navy-3)); color: #fff; border-radius: var(--r-lg); padding: 28px 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; position: relative; overflow: hidden; margin-bottom: 20px; box-shadow: var(--sh); }
.welcome-card::after { content: ''; position: absolute; right: -50px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(179, 25, 47, .5), transparent 70%); }
.welcome-card h2 { color: #fff; margin: 0; font-size: 1.7rem; }
.wc-hi { color: #b9c6da; }
.jp-big { color: var(--gold); font-size: 1.3rem; margin: 6px 0 0; }
.jp-big small { display: block; font-family: var(--sans); font-size: .82rem; color: #b9c6da; letter-spacing: 0; }
.wc-right { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wc-label { font-size: .82rem; color: #b9c6da; }
.wc-right b { font-family: var(--serif-bn); font-size: 1.15rem; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh); border-top: 3px solid var(--navy-3); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.kpi span { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; background: var(--line-2); display: grid; place-items: center; font-size: 1.35rem; }
.kpi b { font-family: var(--serif-bn); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.kpi small { color: var(--muted); }
.kpi.warn { border-top-color: var(--crimson); } .kpi.warn b { color: var(--crimson); }

.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.panel { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh); margin-bottom: 20px; }
.panel h3 { margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel-head a { font-size: .9rem; font-weight: 600; }
.course-access { display: grid; gap: 10px; }
.ca { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); transition: border-color .15s, background .15s; }
.ca:hover { border-color: var(--navy-3); color: var(--ink); background: #fafbfd; }
.ca.off { opacity: .75; }
.ca-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.ca.on .ca-ic { background: var(--ok-bg); }
.ca-main { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.ca-main small { color: var(--muted); }
.chev { color: var(--muted); font-size: 1.4rem; }
.latest-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.latest-card { text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; transition: transform .15s; }
.latest-card:hover { transform: translateY(-2px); }
.latest-ic { font-size: 1.4rem; }
.latest-card b { color: var(--navy); line-height: 1.3; }
.latest-card small { color: var(--muted); }

.exam-card .exam-name { font-weight: 700; color: var(--navy); }
.exam-when { color: var(--ink-2); margin: 4px 0 10px; }
.cd-label { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.cd-label.live { color: var(--crimson); font-weight: 700; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.cd div { background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 4px; text-align: center; line-height: 1.15; }
.cd b { display: block; font-size: 1.4rem; font-variant-numeric: tabular-nums; font-family: var(--serif-bn); }
.cd span { font-size: .72rem; color: #b9c6da; }
.exam-done { color: var(--ok); font-weight: 600; }
.seg { display: flex; background: var(--line-2); border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.seg button { flex: 1; border: 0; background: none; padding: 8px; border-radius: 8px; font-weight: 600; color: var(--muted); }
.seg button.active { background: #fff; color: var(--navy); box-shadow: var(--sh); }

.status-hero { display: flex; gap: 20px; align-items: flex-start; border-radius: var(--r-lg); padding: 26px; margin-bottom: 20px; background: #fff; box-shadow: var(--sh); border-left: 6px solid var(--gold); }
.status-hero.danger { border-left-color: var(--crimson); }
.sh-ic { font-size: 2.4rem; }
.status-hero h2 { font-size: 1.35rem; }
.status-hero p { color: var(--ink-2); }

.course-tabs, .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ctab, .chip-btn { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.ctab.active, .chip-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ctab.locked { opacity: .65; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pl-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh); color: var(--ink); border: 1px solid transparent; transition: transform .15s, border-color .15s; }
.pl-card:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.pl-ic { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1px solid #ead9a8; }
.pl-ic.sm { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 10px; }
.pl-ic.lg { width: 72px; height: 72px; font-size: 2.2rem; }
.pl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pl-info b { color: var(--navy); font-size: 1.04rem; }
.pl-info small { color: var(--muted); }
.pl-meta { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; vertical-align: middle; }
.chip.free { background: var(--ok-bg); color: var(--ok); }
.chip.new { background: var(--bad-bg); color: var(--crimson); }
.skeleton { height: 86px; border-radius: var(--r-lg); background: linear-gradient(90deg, #eceff4, #f7f8fa, #eceff4); background-size: 200% 100%; animation: sk 1.2s infinite; margin-bottom: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--r-lg); border: 1px dashed var(--line); grid-column: 1 / -1; }

.back-link { display: inline-block; font-weight: 600; margin-bottom: 14px; }
.pl-hero { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh); margin-bottom: 18px; border-left: 5px solid var(--gold); }
.pl-hero h2 { margin: 0; font-size: 1.5rem; }
.pl-hero p { margin: 4px 0; color: var(--ink-2); }
.pl-hero small { color: var(--muted); }
.items { display: grid; gap: 10px; }
.item { display: flex; gap: 10px; align-items: stretch; }
.item-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s; color: var(--ink); }
.item-row:hover { border-color: var(--navy-3); box-shadow: var(--sh); }
.item.done .item-row { background: #fbfefc; border-color: #cfe9da; }
.item-no { width: 32px; height: 32px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-weight: 700; color: var(--navy); font-size: .9rem; flex: none; }
.item-ic { font-size: 1.3rem; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.item-main b { color: var(--navy); font-weight: 600; }
.item-main small { color: var(--muted); }
.item-go { color: var(--crimson); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.done-chip { color: var(--ok); font-weight: 700; }
.item-video { flex: none; background: var(--navy); color: #fff; border: 0; border-radius: 14px; padding: 0 16px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.item-video:hover { background: var(--crimson); }

.lock-list { display: grid; gap: 8px; }
.lock-row { display: flex; align-items: center; gap: 12px; text-align: left; background: #fafbfd; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; }
.lock-main { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.lock-main small { color: var(--muted); }
.lock-cta { margin-top: 14px; background: var(--gold-soft); border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.support h3 { margin-bottom: 4px; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pay-grid h3 { margin-top: 6px; }
.pkg-list { display: grid; gap: 8px; margin-bottom: 18px; }
.pkg { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pkg:has(input:checked) { border-color: var(--crimson); background: #fff7f8; }
.pkg input { accent-color: var(--crimson); width: 18px; height: 18px; }
.pkg span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.pkg small { color: var(--muted); }
.pkg .price { font-family: var(--serif-bn); font-weight: 700; color: var(--crimson); font-size: 1.15rem; }
.shot-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shot { position: relative; width: 90px; height: 90px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: .75rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); color: var(--ink); display: flex; flex-direction: column; transition: transform .15s; }
.post-card:hover { transform: translateY(-3px); color: var(--ink); }
.post-card img, .post-ph { width: 100%; height: 160px; object-fit: cover; }
.post-ph { display: grid; place-items: center; font-size: 2.6rem; background: linear-gradient(135deg, var(--navy), var(--navy-3)); }
.post-body { padding: 16px 18px; }
.post-body b { color: var(--navy); display: block; line-height: 1.35; margin: 4px 0; }
.post-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.post-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.post-cat { background: var(--gold-soft); color: #6b5212; padding: 1px 10px; border-radius: 999px; font-weight: 600; }
.post-full { max-width: 820px; }
.post-full h2 { margin-top: 10px; }
.post-img { border-radius: 12px; margin: 10px 0 16px; }
.post-text { white-space: normal; color: var(--ink-2); margin-bottom: 16px; word-break: break-word; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding: 20px 4px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.bar i { display: block; width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--navy-3), var(--navy)); border-radius: 6px 6px 0 0; min-height: 4px; }
.bar i.pass { background: linear-gradient(180deg, #2f9a62, var(--ok)); }
.bar-v { font-size: .78rem; font-weight: 700; color: var(--navy); }
.bar small { font-size: .7rem; color: var(--muted); padding-bottom: 4px; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; background: var(--cream); color: var(--navy); padding: 10px 12px; font-weight: 700; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:hover td { background: #fafbfd; }

.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.profile-card { text-align: center; }
.status-pill { display: inline-block; background: var(--line-2); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .9rem; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.kv b { text-align: right; }

/* ---------- টোস্ট / লোডিং / মডাল ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--navy-2); color: #fff; padding: 12px 22px; border-radius: 12px; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: all .25s; z-index: 300; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--crimson); }
#loading { position: fixed; inset: 0; z-index: 250; background: rgba(10, 31, 54, .55); display: none; place-items: center; align-content: center; gap: 14px; color: #fff; }
#loading.show { display: grid; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
.spinner.dark { border-color: rgba(14, 42, 71, .15); border-top-color: var(--crimson); }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-wrap { position: fixed; inset: 0; z-index: 200; background: rgba(10, 31, 54, .55); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.modal-wrap.show { opacity: 1; }
.modal { background: #fff; border-radius: 18px; width: min(480px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--sh-lg); transform: translateY(12px); transition: transform .2s; }
.modal-wrap.show .modal { transform: none; }
.modal-title { padding: 18px 22px 0; font-family: var(--serif-bn); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.modal-body { padding: 14px 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 20px; flex-wrap: wrap; }
.confirm-msg { font-size: 1.05rem; margin: 6px 0; }

/* ---------- WhatsApp বাটন ---------- */
.support-fab { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37, 211, 102, .45); transition: transform .2s; }
.support-fab:hover { transform: scale(1.08); }
.support-fab svg { width: 32px; height: 32px; fill: #fff; }
body.no-scroll .support-fab { display: none; }

/* ---------- টেস্ট / ভিডিও প্লেয়ার ---------- */
.player { position: fixed; inset: 0; z-index: 150; background: #0b1424; display: flex; flex-direction: column; }
.player-top, .player-bar { display: flex; align-items: center; gap: 12px; background: var(--navy-2); color: #fff; padding: 8px 14px; min-height: 50px; border-bottom: 2px solid var(--gold); }
.player-name, .player-title { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-close { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 8px; padding: 6px 14px; font-weight: 600; }
.player-bar .player-close { order: 2; }
.player-close:hover { background: var(--crimson); }
.player-body { flex: 1; position: relative; overflow: auto; background: #fff; }
.player:not(.full) .player-body { background: #0b1424; color: #fff; display: flex; flex-direction: column; align-items: center; }
.player:not(.full) .player-body > * { width: min(1100px, 100%); }
.test-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.watermark { position: absolute; inset: 52px 0 0 0; pointer-events: none; z-index: 5; background-repeat: repeat; }
.video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-desc { padding: 14px 16px; color: #d3dceb; }
.video-help { padding: 8px 16px 20px; color: #8a96aa; font-size: .86rem; }
.pop-block { position: absolute; top: 0; right: 0; width: 70px; height: 60px; z-index: 2; }
.yt-box { position: relative; background: #000; aspect-ratio: 16/9; width: 100%; overflow: hidden; --z: 1; user-select: none; }
.yt-stage { position: absolute; inset: 0; transform: scale(var(--z)); transition: transform .2s; }
.yt-stage iframe, .yt-stage > div { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.yt-shield { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; }
.yt-big { width: 70px; height: 70px; border-radius: 50%; background: rgba(163, 25, 47, .92); color: #fff; font-size: 28px; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.yt-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); transition: opacity .25s; }
.yt-ctrl.hide { opacity: 0; pointer-events: none; }
.yt-ctrl input[type=range] { width: 100%; accent-color: var(--gold); height: 18px; margin: 0; }
.yt-row { display: flex; align-items: center; gap: 2px; color: #fff; }
.yt-row button { background: none; border: 0; color: #fff; font-size: 15px; padding: 6px 8px; min-width: 34px; }
.yt-time { font-size: 12.5px; white-space: nowrap; margin-left: 4px; }
.yt-sp { flex: 1; }
.yt-menu { position: absolute; right: 10px; bottom: 60px; z-index: 4; background: rgba(20, 20, 20, .95); border-radius: 10px; padding: 4px; max-height: 70%; overflow: auto; display: flex; flex-direction: column; }
.yt-menu[hidden] { display: none; }
.yt-menu button { background: none; border: 0; color: #fff; padding: 9px 22px; font-size: 14px; text-align: left; }
.yt-menu button.on { color: var(--gold); font-weight: 700; }
.player.vid-full .player-bar { display: none; }
.yt-box.yt-full { position: fixed; inset: 0; z-index: 160; aspect-ratio: auto; height: 100%; }
.player.full .watermark, .player.vid-full .watermark { inset: 52px 0 0 0; }
.player.vid-full .watermark { inset: 0; z-index: 170; }

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 1100px) {
  .main-nav { position: fixed; left: 0; right: 0; top: 124px; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .2s; max-height: calc(100vh - 124px); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 12px 10px; border-bottom: 1px solid var(--line-2); }
  .main-nav > a::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { flex: 1; }
  .burger { display: flex; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-in, .two-col, .exam-box, .app-in, .auth-shell, .pay-grid { grid-template-columns: 1fr; }
  .hero-in { padding: 56px 0 90px; gap: 40px; }
  .hero-art { order: -1; }
  .frame { width: min(260px, 70vw); }
  .fc1 { left: -10px; } .fc2 { right: -10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .auth-side { padding: 30px 26px; }
  .auth-side h2 { margin-top: 20px; }
  .auth-main { padding: 30px 24px; }
  .portal { grid-template-columns: 1fr; }
  .p-side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--sh-lg); }
  .p-side.open { transform: none; }
  .p-scrim { position: fixed; inset: 0; background: rgba(10, 31, 54, .5); z-index: 45; }
  .p-scrim.show { display: block; }
  .burger.dark { display: flex; width: 40px; height: 40px; padding: 11px 10px; }
  .p-top { padding: 10px 16px; }
  .p-content { padding: 18px 14px 80px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .utility-in { justify-content: center; }
  .u-left { display: none; }
  .header-in { min-height: 72px; }
  .main-nav { top: 112px; max-height: calc(100vh - 112px); }
  .brand-txt b { font-size: .98rem; }
  .brand-txt small { font-size: .62rem; letter-spacing: .1em; }
  .crest { width: 38px; height: 44px; }
  .feat-grid, .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .welcome-card { padding: 22px; }
  .wc-right { align-items: flex-start; }
  .item { flex-direction: column; gap: 0; }
  .item-video { border-radius: 0 0 14px 14px; padding: 9px; justify-content: center; }
  .item:has(.item-video) .item-row { border-radius: 14px 14px 0 0; }
  .item-go { display: none; }
  .pl-grid, .post-grid { grid-template-columns: 1fr; }
  .stats-grid { margin-top: -36px; }
  .stat-item b { font-size: 1.7rem; }
  .support-fab { width: 52px; height: 52px; right: 14px; bottom: 16px; }
}
.hero-tag { font-family: var(--serif-bn); color: var(--gold); font-size: 1.08rem; margin: -6px 0 16px; }
