:root {
  --navy: #101b3c;
  --deep: #101b3c;
  --blue: #244bd2;
  --royal: #315ef5;
  --violet: #8758ff;
  --cream: #f5f7fc;
  --ink: #1d2948;
  --muted: #4e5b74;
}

.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; }
.brand-depth { perspective: 400px; }
.brand-depth img {
  width: 172px;
  filter: drop-shadow(0 3px 2px #1523542b);
  transition: transform 220ms ease, filter 220ms ease;
}
.brand-depth:hover img { transform: rotateY(-12deg) rotateX(6deg) translateY(-2px); filter: drop-shadow(2px 6px 4px #15235436); }
.main-nav a, .nav-more summary { font-size: .98rem; padding-inline: .65rem; }
.nav-more { position: relative; }
.nav-more summary { display: flex; align-items: center; min-height: 44px; gap: .55rem; font-weight: 600; padding-block: .42rem; }
.nav-more summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.nav-more-links { background: white; border: 1px solid var(--line); border-radius: 14px; padding: .35rem; min-width: 11rem; box-shadow: 0 16px 34px #101b3c20; }
.nav-more-links a { display: flex; }
.main-nav .nav-account { background: var(--navy); color: #fff; margin-inline-start: .25rem; }
.main-nav .nav-account:hover { background: var(--blue); color: #fff; }

.premium-home { background: #f5f7fc; }
.premium-home .wrap { max-width: 1240px; }
.premium-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #101b3c;
}
.premium-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at 83% 26%, #5044a9 0%, transparent 52%),
    radial-gradient(ellipse at 67% 105%, #1b49a1 0%, transparent 55%),
    linear-gradient(118deg, #0d1736 14%, #151e51 72%, #282457);
  background-size: 125% 125%;
  animation: hero-gradient 18s ease-in-out infinite alternate;
}
@keyframes hero-gradient { to { background-position: 35% 32%; } }
.premium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 530px;
  gap: 1.2rem;
  padding-block: clamp(2.4rem, 5vw, 4.25rem) clamp(3.75rem, 6vw, 5.5rem);
}
.premium-copy { position: relative; z-index: 1; }
.hero-range { margin-bottom: .8rem; color: #cedbff; font-weight: 600; }
.premium-hero h1 {
  color: white;
  font: 400 clamp(2.5rem, 5.6vw, 5.1rem)/1.16 "Tiro Bangla Hero", "Noto Serif Bengali", serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(8, 12, 40, .35);
}
.premium-hero h1 em { color: #beb7ff; font-style: normal; }
.premium-lead { max-width: 39ch; margin-top: 1.05rem; color: #e0e7ff; font-size: 1.09rem; }
.premium-hero .actions { margin-top: 1.25rem; }
.premium-hero .actions .btn { padding: .65rem 1.12rem; border-radius: 12px; }
.premium-hero .actions .btn-primary { background: #315ef5; box-shadow: 0 5px 0 #243d9c, 0 10px 22px #0b123f68; }
.premium-hero .actions .btn-primary:hover { background: #355df0; transform: translateY(-2px); }
.premium-hero .actions .btn-primary:active { box-shadow: 0 1px 0 #243d9c; transform: translateY(4px); }
.premium-hero .actions .btn-secondary { background: #ffffff12; color: #fff; border-color: #c0cdff55; }
.premium-hero .actions .btn-secondary:hover { background: #ffffff26; }
.premium-hero :focus-visible { outline-color: #d8e3ff; }
.premium-hero .search-form { margin-top: 1.4rem; max-width: 29rem; color: var(--ink); border-radius: 13px; }
.premium-hero .search-form :focus-visible { outline-color: #315ef5; }

.learning-preview { min-width: 0; }
.learning-scene {
  --scene-x: 0deg;
  --scene-y: 0deg;
  position: relative;
  width: 100%;
  height: clamp(280px, 29vw, 405px);
  perspective: 950px;
  margin-inline: auto;
  user-select: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .learning-scene { cursor: ew-resize; }
}
.scene-halo {
  position: absolute;
  inset: 2% -2%;
  opacity: .8;
  background: radial-gradient(circle at 47% 50%, #8c92ff55, transparent 58%),
    radial-gradient(circle, #cdd5ff62 1px, transparent 1.4px) 50% 50% / 22px 22px;
  mask-image: radial-gradient(ellipse, black 15%, #0009 58%, transparent 75%);
}
.scene-assembly {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--scene-x)) rotateY(var(--scene-y));
  transition: transform 250ms ease-out;
}
.scene-art {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateZ(-70px) rotateY(-15deg);
  transform-style: preserve-3d;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(.2,.7,.2,1), visibility 0s 420ms;
}
.scene-art.is-current {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.scene-platform, .scene-orbit { position: absolute; display: block; left: 8%; top: 52%; width: 84%; height: 37%; border-radius: 50%; }
.scene-platform {
  background: radial-gradient(ellipse at 44% 40%, #586ae8 2%, #293886 55%, #1e295a 78%);
  border: 2px solid #9db2ff65;
  box-shadow: 0 12px 0 #111c48, 0 22px 0 -5px #172754, 0 36px 48px #0a1137a2, inset 0 0 26px #a9b9ff45;
  transform: rotateX(45deg) translateY(24%) translateZ(-40px);
}
.scene-orbit { width: 93%; left: 4%; border: 1px solid #b2c0ff66; transform: rotate(-14deg); height: 45%; }
.scene-orbit-two { top: 17%; left: 14%; width: 76%; height: 66%; border-color: #b2c0ff34; transform: rotate(28deg); }
.scene-book-stack {
  position: absolute;
  inset: 15% 17% 18% 14%;
  transform-style: preserve-3d;
  animation: float-book 7s ease-in-out infinite;
}
@keyframes float-book { 0%, 100% { transform: translateY(0) rotateZ(-3deg); } 50% { transform: translateY(-13px) rotateZ(-1deg); } }
.scene-book {
  --edge: #617af0;
  --cover: #5a70f5;
  --highlight: #9bafff;
  position: absolute;
  width: 77%;
  height: 54%;
  left: 15%;
  top: 41%;
  border: 2px solid #cad5ff70;
  border-radius: 9% 8% 8% 12%;
  background: linear-gradient(135deg, var(--highlight), var(--cover) 45%, var(--edge));
  box-shadow: inset 11px 0 14px #151c672f, inset -2px -3px 13px #ffffff35, 0 4px 0 var(--edge), 0 7px 0 #16295e;
  transform-style: preserve-3d;
  transform: rotateX(49deg) rotateZ(-19deg) translateZ(0);
}
.scene-book::before, .scene-book::after { content: ""; display: block; position: absolute; }
.scene-book::before {
  inset: 9% auto 5% -3%;
  width: 11%; border-radius: 25% 10% 10% 30%;
  background: linear-gradient(90deg, #172866b3, #d4dbff55 52%, #1523572f);
}
.scene-book::after {
  inset: 99% 1% auto 6%;
  height: 23%;
  background: repeating-linear-gradient(0deg, #afc0ec 0 1px, transparent 1px 4px), linear-gradient(90deg, #8995c8, #ebefff 34%, #bac8ef);
  border-bottom: 5px solid var(--edge); border-radius: 0 0 8px 11px;
  transform-origin: top;
  transform: rotateX(-88deg);
  filter: drop-shadow(0 3px 3px #08113a7d);
}
.scene-book-middle { --cover: #6f46d9; --edge: #482d99; --highlight: #c09dff; top: 27%; left: 11%; transform: rotateX(49deg) rotateZ(-27deg) translateZ(25px); }
.scene-book-top { --cover: #4066ee; --edge: #273eae; --highlight: #a0b3ff; top: 13%; left: 16%; transform: rotateX(45deg) rotateZ(-16deg) translateZ(57px); }
.book-cover { display: grid; position: absolute; inset: 17% 13% 16% 20%; place-items: center; border: 1px solid #e5eaff83; border-radius: 9%; box-shadow: inset 0 0 15px #cad8ff2c; }
.book-cover i { font: normal 700 clamp(2.1rem, 6vw, 5rem)/1 system-ui, sans-serif; color: #e8efff; text-shadow: 0 3px 0 #3572d7, 0 6px 17px #18387d; }
.scene-token, .scene-orb { position: absolute; display: grid; place-items: center; }
.scene-token {
  left: 9%; top: 26%; width: 17%; aspect-ratio: 1;
  border: 2px solid #f0dcff9c; border-radius: 18%;
  transform: rotate(-13deg) translateZ(60px);
  color: #fff;
  background: linear-gradient(138deg, #dfc7ff, #a17af2 55%, #6747bc);
  box-shadow: 8px 9px 0 #6543aa, inset 1px 1px 8px #ffffff64, 17px 20px 30px #10174291;
  animation: float-token 8s ease-in-out infinite;
}
.scene-token span { text-shadow: 0 3px 0 #6b48ba; font: 650 clamp(1.7rem, 5vw, 3.6rem)/1 system-ui, sans-serif; }
@keyframes float-token { 0%, 100% { transform: rotate(-13deg) translateZ(60px); } 50% { transform: translateY(-10px) rotate(-9deg) translateZ(60px); } }
.scene-orb { width: 16%; aspect-ratio: 1; right: 8%; top: 22%; border-radius: 50%; background: radial-gradient(circle at 31% 24%, #e3fbff 1%, #94e9ff 14%, #52aaff 39%, #393fbd 77%, #5f50d1); box-shadow: 0 1px 18px #7ca3ff93; transform: translateZ(40px); }
.scene-spark, .scene-star { position: absolute; font: 600 clamp(1.2rem, 3vw, 2.6rem)/1 system-ui, sans-serif; color: #b7caff; }
.scene-spark { top: 12%; left: 37%; } .scene-star { right: 9%; top: 56%; color: #f1e4ff; }

.scene-notebook, .scene-question {
  position: absolute;
  top: 43%;
  left: 50%;
  color: #202954;
  box-shadow: 0 5px 0 #a6b3e4, 0 11px 0 #394f9a, 0 34px 46px #09133691;
}
.scene-notebook {
  width: min(82%, 430px);
  min-height: clamp(156px, 19vw, 218px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid #d8dcfd;
  border-radius: 1rem .8rem .85rem 1rem;
  background: linear-gradient(90deg, #f8faff 0 43%, #d5dbf3 50%, #f7f7fe 54% 100%);
  transform: translate(-50%, -50%) rotateX(14deg) rotateZ(-5deg) translateZ(34px);
}
.scene-notebook-art {
  position: relative;
  align-self: center;
  margin-inline: 10%;
  min-height: 6rem;
  aspect-ratio: 1.15;
  background: linear-gradient(152deg, #f1e6fd, #e5edf8 78%, #dcefe7);
  border: 1px solid #d3d8f4;
  border-radius: .6rem;
}
.scene-flight {
  position: absolute;
  inset: 27% 23% 20%;
  border-top: 2px dashed #9879bdaa;
  border-radius: 50%;
}
.scene-flower {
  position: absolute;
  width: 27%;
  aspect-ratio: 1;
  bottom: 20%;
  left: 9%;
  background: radial-gradient(circle closest-side at 50% 50%, #e5b349 0 32%, transparent 34%),
    radial-gradient(circle at 51% 23%, #bd77cb 0 20%, transparent 21%),
    radial-gradient(circle at 75% 46%, #a262b8 0 20%, transparent 21%),
    radial-gradient(circle at 63% 73%, #ab6bc4 0 20%, transparent 21%),
    radial-gradient(circle at 34% 73%, #a962be 0 20%, transparent 21%),
    radial-gradient(circle at 24% 45%, #d08ad0 0 20%, transparent 21%);
}
.scene-flower + .scene-flower { left: 64%; }
.scene-flower::after {
  position: absolute;
  left: 48%;
  top: 87%;
  height: 33%;
  width: 7%;
  background: #54866b;
  border-radius: 0 0 1rem 1rem;
  content: "";
}
.scene-bee {
  position: absolute;
  width: 27%;
  aspect-ratio: 2.1;
  top: 23%;
  left: 36%;
  border-radius: 65% 50% 50% 65%;
  background: repeating-linear-gradient(90deg, #624236 0 16%, #f5c451 16% 35%);
  box-shadow: inset 0 -4px 0 #6e452e33, 0 4px 7px #29204233;
  transform: rotate(-11deg);
}
.scene-bee::before, .scene-bee::after {
  content: "";
  position: absolute;
  bottom: 63%;
  left: 42%;
  width: 39%;
  height: 81%;
  border-radius: 70% 80% 22% 30%;
  border: 1px solid #a0b3cf;
  background: linear-gradient(155deg, #fff, #cedbf0);
  transform: rotate(-28deg);
}
.scene-bee::after { left: 59%; transform: rotate(23deg) scale(.9); }
.scene-notebook-copy { align-self: center; padding: .9rem .9rem .9rem .85rem; }
.scene-notebook-copy strong {
  font: 800 clamp(1.15rem, 2.6vw, 2rem)/1.25 var(--heading);
  color: #392975;
}
.scene-notebook-copy p { margin-top: .4rem; font-size: clamp(.81rem, 1.45vw, 1.13rem); }
.scene-question {
  width: min(78%, 380px);
  display: grid;
  gap: .48rem;
  padding: clamp(.8rem, 2.7vw, 1.65rem);
  border: 1px solid #e2dcfb;
  border-top: .28rem solid #8a70dc;
  border-radius: .85rem;
  background: linear-gradient(146deg, #fff 62%, #f1edfd);
  transform: translate(-50%, -50%) rotateX(7deg) rotateZ(3deg) translateZ(38px);
}
.scene-question-type { color: #5d408f; font-size: .82rem; font-weight: 700; }
.scene-question strong { font-size: clamp(.91rem, 1.65vw, 1.25rem); line-height: 1.47; }
.scene-question span { font-size: .87rem; color: #414574; }
.scene-dock {
  width: min(100%, 480px);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(.45rem, 2vw, 1rem);
  min-height: 76px;
  padding: .68rem clamp(.65rem, 2.3vw, 1.2rem);
  margin-inline: auto;
  color: #f5f6ff;
  background: #15234cdc;
  border: 1px solid #a9baff63;
  border-radius: 1rem;
  box-shadow: 0 12px 23px #0b13334a;
}
.scene-stage { color: #c5d2ff; font-size: .86rem; }
.scene-captions a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-block: .15rem;
  color: #f9f6ff;
  font-weight: 700;
  line-height: 1.37;
  text-underline-offset: .19em;
}
.scene-captions a:hover { color: #e1ceff; }
.scene-navigation { display: flex; align-items: center; flex: 0 0 auto; gap: clamp(.26rem, 1vw, .5rem); }
.scene-navigation button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font: 1rem/1 system-ui, sans-serif;
  color: #eff1ff;
  background: #334576;
  border: 1px solid #a7b7fa6b;
  border-radius: 50%;
  cursor: pointer;
}
.scene-navigation button:hover { background: #4b5999; }
.scene-count { color: #e2e6ff; font-size: .88rem; font-weight: 600; white-space: nowrap; }

.premium-stats { position: relative; z-index: 1; margin-top: -2.45rem; }
.premium-stats dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: .9rem .5rem;
  border: 1px solid #e0e7fd;
  border-radius: 19px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 30px #101b3c12;
  backdrop-filter: blur(14px);
}
.premium-stats dl > div { display: flex; flex-direction: column-reverse; padding: .4rem .85rem; align-items: center; text-align: center; }
.premium-stats dl > div + div { border-inline-start: 1px solid #e0e7fd; }
.premium-stats dd { margin: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 700; color: #203caa; line-height: 1.15; font-variant-numeric: tabular-nums; }
.premium-stats dt { color: var(--muted); margin-top: .25rem; font-size: .93rem; }
.premium-section .section-head h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
.premium-section .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.premium-home .class-card, .premium-home .tool-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  border-color: #dfE6f7;
  border-radius: 16px;
  background: linear-gradient(150deg, white, #f7f8ff);
  box-shadow: 0 4px 0 #e3e9f8, 0 9px 24px #1829500e;
  transition: transform 185ms ease, box-shadow 185ms ease, border-color 185ms ease;
}
.premium-home .class-card { padding: 1rem; gap: .85rem; min-height: 5rem; }
.premium-home .class-badge, .premium-home .tool-icon {
  background: #e9eefd;
  color: #233ca0;
  border: 1px solid #d8e2fe;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d7e0f6;
}
.premium-home :is(.class-card,.tool-card):is(:hover,:focus-visible) { border-color: #91a6ff; box-shadow: 0 6px 0 #dce4ff, 0 14px 25px #263c8326; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .premium-home :is(.class-card,.tool-card):hover { transform: perspective(750px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-4px); }
}
.subject-section { background: #eef2fc; border-block: 1px solid #e0e6f6; }
.subject-head { display: flex; align-items: end; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.subject-class { display: flex; gap: .5rem; align-items: center; }
.subject-class select, .bank-filters select, .bank-filters input { width: 100%; min-height: 45px; border: 1px solid #c7d2eb; border-radius: 9px; padding: .44rem .65rem; background: white; }
.subject-class select { width: auto; }
#homeSubjectsMore { margin-top: 1.25rem; }
.subject-count { font-size: .93rem; color: #465779; }
.resource-actions { margin-top: auto; }
.practice-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: 22px; background: linear-gradient(110deg, #e7edff, #f0eaff); border: 1px solid #dbe3fa; }
.practice-band p { color: var(--muted); margin-top: .3rem; }

.bank-filters { margin-bottom: 1.15rem; padding: clamp(.85rem, 2.6vw, 1.5rem); background: white; }
.bank-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bank-filter-grid label { display: grid; gap: .25rem; font-size: .98rem; font-weight: 600; }
.bank-filter-grid input { font-weight: 400; }
.bank-filter-grid :disabled { color: #58647a; background: #f3f5fa; }
.bank-results { max-width: 880px; margin-inline: auto; }
.bank-result-tools { margin-block: .65rem .95rem; }
.bank-question { padding: 0; margin-bottom: .7rem; scroll-margin-top: 6rem; }
.question-feedback { margin-top: .8rem; font-size: .92rem; }
.bank-archive { margin-top: 1rem; }
.bank-archive .actions { list-style: none; padding: 0; }
.bank-question summary { min-height: 49px; padding: .8rem 1rem; font-weight: 600; color: #162547; }
.bank-question .question-lines { white-space: pre-line; }
.bank-question-inner { padding: 0 1rem 1rem; }
.bank-provenance { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: #4e5b74; font-size: .94rem; margin-bottom: .6rem; }
.bank-provenance a { touch-action: manipulation; }
.bank-question .q-options { margin-top: .5rem; }
.bank-question .short-answer { margin-top: .65rem; }
.bank-question .short-answer summary { padding: .4rem 0; min-height: 44px; }
.bank-read-section { padding-top: clamp(1rem, 3vw, 2.3rem); }
.bank-results .status-box { margin-top: .8rem; }
.paper-scholarship { grid-column: 1 / -1; }
.paper-scholarship h1 { font-size: clamp(1.5rem, 4vw, 2.35rem); }
.paper-scholarship h1 + p, .paper-scholarship h2 + p { margin-top: .45rem; color: var(--muted); }
.paper-scholarship a[aria-current="page"] { border-color: var(--royal); color: var(--blue); background: #edf1ff; }
.model-paper-instructions { margin-block: 1rem; }
.model-paper-group { margin-block: 1.2rem; }
.model-paper-group h4 { margin: 0 0 .5rem; break-after: avoid; }
@media screen {
  .paper-workspace[hidden] + .paper-output,
  .paper-layout:has(.paper-workspace[hidden]) > .paper-scholarship {
    grid-column: 1 / -1;
    width: min(100%, 820px);
    justify-self: center;
  }
}
#quizOptions .option[aria-pressed="true"]:not(.correct):not(.wrong) { background: #e7edff; border-color: #8199fc; }
.bank-loading::before {
  content: "";
  display: inline-block;
  width: .85em;
  height: .85em;
  margin-inline-end: .55em;
  border: 2px solid #bdcafa;
  border-top-color: var(--royal);
  border-radius: 50%;
}

@media (min-width: 981px) {
  .nav-more-links { position: absolute; top: 100%; right: 0; }
}
@media (max-width: 980px) {
  .nav-more { flex-basis: 100%; }
  .nav-more-links { box-shadow: none; }
  .main-nav .nav-account { margin-inline-start: 0; }
}
@media (max-width: 740px) {
  .premium-hero-grid { grid-template-columns: 1fr; gap: .6rem; min-height: 0; padding-block: 2.35rem 2.9rem; }
  .premium-hero h1 { font-size: clamp(2.4rem, 9vw, 4.3rem); }
  .learning-scene { height: clamp(205px, 59vw, 337px); width: min(100%, 415px); }
  .scene-dock { width: min(100%, 415px); margin-bottom: .75rem; }
  .scene-notebook, .scene-question { top: 45%; }
  .premium-stats { margin-top: -1.85rem; }
  .premium-stats dl > div { padding-inline: .35rem; }
  .premium-section .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .premium-stats dl { grid-template-columns: 1fr 1fr; }
  .premium-stats dl > div:nth-child(3) { border-inline-start: 0; }
  .premium-stats dl > div:nth-child(n + 3) { border-top: 1px solid #e0e7fd; }
  .premium-home .class-card { padding: .6rem; gap: .55rem; }
  .premium-home .class-badge { flex-basis: 2.45rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .section-enter { animation: section-enter 370ms ease-out backwards; }
  @keyframes section-enter { from { opacity: .50; translate: 0 12px; } }
  .bank-loading::before { animation: bank-loading .8s linear infinite; }
  @keyframes bank-loading { to { transform: rotate(1turn); } }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 170ms; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-hero::before, .scene-book-stack, .scene-token { animation: none; }
  .brand-depth img, .scene-assembly, .scene-art, .premium-home .class-card, .premium-home .tool-card { transition: none; }
  .brand-depth:hover img, .premium-hero .actions .btn-primary:is(:hover,:active) { transform: none; }
}
@media print {
  .question-feedback, .bank-archive { display: none !important; }
  .bank-filters, .bank-result-tools, .bank-empty-action, .bank-more { display: none !important; }
  .bank-question, .bank-question-inner { break-inside: avoid; box-shadow: none; }
  .paper-scholarship { display: none !important; }
}

/* সচরাচর জিজ্ঞাসা (FAQ) */
.faq-list { display: grid; gap: .85rem; max-width: 980px; }
.faq-item {
  --faq-accent: #1f9d6b;
  --faq-soft: #e6f6ee;
  border: 1px solid var(--line);
  border-left: 5px solid var(--faq-accent);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 2px 10px rgba(21, 47, 97, .04);
  transition: box-shadow .2s ease, background .2s ease;
}
.faq-blue   { --faq-accent: #3b82f6; --faq-soft: #e7f0fe; }
.faq-purple { --faq-accent: #8b5cf6; --faq-soft: #f0eafe; }
.faq-orange { --faq-accent: #f59e0b; --faq-soft: #fef3dc; }
.faq-item[open] { background: var(--surface); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.15rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--faq-accent); outline-offset: 2px; border-radius: 10px; }
.faq-icon {
  flex: none; display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--faq-soft); color: var(--faq-accent);
  font-size: .95rem; font-weight: 800;
}
.faq-q { flex: 1; }
.faq-chevron {
  flex: none; width: .6rem; height: .6rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: .3rem;
}
.faq-item[open] .faq-chevron { transform: rotate(-135deg); }
.faq-a { padding: 0 1.15rem 1.1rem calc(1.15rem + 2.75rem); color: var(--muted); line-height: 1.75; }
.faq-a p { margin: 0 0 .55rem; }
.faq-link { color: var(--faq-accent); font-weight: 700; text-decoration: none; filter: brightness(.82); }
.faq-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .faq-item summary { padding: .9rem; font-size: 1rem; }
  .faq-a { padding: 0 .9rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .faq-chevron, .faq-item { transition: none; } }

/* হিরো: ল্যাম্পের আলোয় পড়া শিক্ষার্থী */
.scene-study { display: grid; place-items: center; }
.study-svg { width: min(100%, 470px); height: 100%; overflow: visible; filter: drop-shadow(0 18px 24px #070c2a66); }
.study-light { animation: study-glow 3.6s ease-in-out infinite alternate; transform-origin: 190px 186px; }
.study-letter { opacity: 0; transform-box: fill-box; transform-origin: center; animation: study-rise-left 5.4s ease-in infinite; }
.study-right { animation-name: study-rise-right; }
.study-letter-2 { animation-delay: 1.35s; }
.study-letter-3 { animation-delay: 2.7s; }
.study-letter-4 { animation-delay: 4.05s; }
.study-steam path { animation: study-steam 2.8s ease-in-out infinite; }
.study-steam path + path { animation-delay: 1.1s; }
.study-twinkle circle { animation: study-twinkle 2.4s ease-in-out infinite alternate; }
.study-twinkle circle:nth-child(2n) { animation-delay: 1.2s; }
@keyframes study-glow { from { opacity: .78; } to { opacity: 1; } }
@keyframes study-rise-left {
  0% { opacity: 0; transform: translate(0, 0) scale(.8); }
  15% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translate(-70px, -120px) scale(1.2); }
}
@keyframes study-rise-right {
  0% { opacity: 0; transform: translate(0, 0) scale(.8); }
  15% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translate(60px, -125px) scale(1.2); }
}
@keyframes study-steam { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .8; transform: translateY(-5px); } }
@keyframes study-twinkle { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .study-light, .study-steam path, .study-twinkle circle { animation: none; }
  .study-letter { animation: none; opacity: .9; }
}

/* ── বইয়ের তাক: শ্রেণি বাছাই ── */
.shelf {
  --plank: #9a5b2c;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: clamp(.45rem, 1.2vw, .9rem);
  padding: 0 clamp(.4rem, 2vw, 1.4rem) 1.15rem;
  margin-top: 1.4rem;
}
.shelf::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1.15rem;
  border-radius: 4px;
  background: linear-gradient(#b47440, var(--plank) 55%, #74431f);
  box-shadow: 0 10px 18px -8px #5b331566;
}
.book {
  --cover: #2848a8;
  --ink: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15.5rem;
  padding: 1.1rem .9rem 1rem;
  border-radius: 5px 10px 10px 5px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22) 0 7px, rgba(255,255,255,.14) 7px 9px, transparent 9px),
    var(--cover);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 12px -6px rgba(15,26,61,.55);
  transition: transform .22s ease, box-shadow .22s ease;
}
.book::before, .book::after {
  content: "";
  position: absolute;
  inset-inline: 9px 0;
  height: 2px;
  background: rgba(255,255,255,.35);
}
.book::before { top: 2.2rem; }
.book::after { bottom: 2.6rem; }
.book:nth-child(1) { min-height: 14.2rem; }
.book:nth-child(2) { min-height: 15.6rem; }
.book:nth-child(3) { min-height: 15rem; }
.book:nth-child(4) { min-height: 16.4rem; }
.book:nth-child(5) { min-height: 17.4rem; }
.book:nth-child(6) { min-height: 16.2rem; }
.book-c5 { --cover: #2e7d4f; }
.book-c6 { --cover: #a93a37; }
.book-c7 { --cover: #1f6f8b; }
.book-c8 { --cover: #e0a325; --ink: #2b1d04; }
.book-c9 { --cover: #2848a8; }
.book-c11 { --cover: #5b3496; }
.book-num {
  margin-top: 1.55rem;
  font: 400 clamp(2.3rem, 4.2vw, 3.6rem)/1 "Tiro Bangla Hero", "Noto Serif Bengali", serif;
}
.book-title { margin-top: auto; font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.book-stage { font-size: .88rem; opacity: .85; }
.book-meta { min-height: 2.6rem; margin-top: .55rem; padding-top: .5rem; font-size: .8rem; line-height: 1.35; opacity: .9; }
.book:is(:hover, :focus-visible) { transform: translateY(-12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 18px 22px -10px rgba(15,26,61,.6); }
.book:focus-visible { outline: 3px solid #f5b335; outline-offset: 3px; }

/* ── তিন ধাপের উপকরণ ── */
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: 1.2rem; }
.path { --accent: #12306e; padding: 1.4rem 1.3rem .6rem; border-radius: 16px; background: #fff; border: 1px solid #dde4f3; border-top: 5px solid var(--accent); }
.path-practice { --accent: #2848a8; }
.path-forward { --accent: #6a5ae0; }
.path h3 { margin: 0; color: var(--accent); font: 400 clamp(1.7rem, 2.6vw, 2.15rem)/1.15 "Tiro Bangla Hero", "Noto Serif Bengali", serif; }
.path-intro { margin: .35rem 0 .7rem; color: var(--muted); font-size: .95rem; }
.path-list { list-style: none; margin: 0; padding: 0; }
.path-list li + li { border-top: 1px solid #e8ecf6; }
.path-list a { display: grid; gap: .1rem; padding: .75rem .5rem; margin-inline: -.5rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
.path-list strong { font-size: 1.04rem; color: #14204a; }
.path-list span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.path-list a:is(:hover, :focus-visible) { background: #f2f5fd; }
.path-list a:is(:hover, :focus-visible) strong { color: var(--accent); }

/* ── এসএসসি ও বৃত্তি ── */
.focus-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1rem, 2.4vw, 1.6rem); }
.focus { padding: clamp(1.4rem, 3.4vw, 2.2rem); border-radius: 18px; }
.focus h2 { margin: 0 0 .5rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.focus p { margin: 0 0 1.2rem; max-width: 52ch; }
.focus-ssc { background: linear-gradient(135deg, #0f1a3d, #2b2f78); color: #fff; }
.focus-ssc h2 { color: #fff; }
.focus-ssc p { color: #d9e0ff; }
.focus-britti { background: #fff7e6; border: 1px solid #f1dfb2; }
.focus-britti p { color: #5b4a24; }
.focus-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.focus-links a { padding: .5rem .95rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.focus-ssc .focus-links a { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.focus-ssc .focus-links a:is(:hover, :focus-visible) { background: #f5b335; color: #1b1405; border-color: #f5b335; }
.focus-britti .focus-links a { background: #fff; color: #7a5310; border: 1px solid #e8cf8f; }
.focus-britti .focus-links a:is(:hover, :focus-visible) { background: #e0a325; color: #2b1d04; }
.focus-dua { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1.5rem; background: #fbf4ee; border: 1px solid #ecd9c8; }
.focus-dua h2 { color: #6e1c2a; }
.focus-dua p { color: #5a4636; margin-bottom: 0; }
.focus-dua .focus-links { grid-row: 1 / span 2; grid-column: 2; }
.focus-dua .focus-links a { background: #fff; color: #8a2232; border: 1px solid #e4c6b4; }
.focus-dua .focus-links a:is(:hover, :focus-visible) { background: #9b2335; color: #fff; border-color: #9b2335; }
@media (max-width: 900px) { .focus-dua { grid-template-columns: 1fr; } .focus-dua .focus-links { grid-row: auto; grid-column: auto; margin-top: .8rem; } }

/* প্রশ্নোত্তর: এক রঙের শান্ত নকশা */
.faq-item { --faq-accent: #2848a8; --faq-soft: #e9eefc; border-left-width: 3px; }

@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.2rem; padding-bottom: 1rem; }
  .shelf::after { display: none; }
  .book, .book:nth-child(n) { min-height: 12.5rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 0 -4px #9a5b2c, 0 14px 12px -6px #5b331555; }
  .path-grid, .focus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-num { margin-top: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .book { transition: none; } .book:is(:hover, :focus-visible) { transform: none; } }
.book-num { white-space: nowrap; }
.book-c9 .book-num, .book-c11 .book-num { font-size: clamp(1.75rem, 3vw, 2.75rem); }

/* বিষয়: বইয়ের সূচিপত্রের মতো সারি */
.premium-home .premium-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.2rem, 4vw, 3rem); }
.premium-home .premium-subjects .tool-card {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: baseline; gap: .7rem; min-height: 0;
  padding: .95rem .2rem; border: 0; border-bottom: 1px solid #dfe5f2; border-radius: 0;
  background: none; box-shadow: none; transform: none;
}
.premium-home .premium-subjects .tool-icon { flex: none; width: auto; height: auto; padding: 0; background: none; border: 0; box-shadow: none; color: #2848a8; font-size: 1.15rem; }
.premium-home .premium-subjects h3 { margin: 0; font-size: 1.12rem; white-space: nowrap; }
.premium-home .premium-subjects .subject-count { flex: 1; display: flex; gap: .6rem; align-items: baseline; justify-content: flex-end; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.premium-home .premium-subjects .subject-count::before { content: ""; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #c7d0e6; transform: translateY(-.25em); }
.premium-home .premium-subjects .tool-card:is(:hover, :focus-visible) { background: none; box-shadow: none; transform: none; border-bottom-color: #2848a8; }
.premium-home .premium-subjects .tool-card:is(:hover, :focus-visible) h3 { color: #2848a8; }
@media (max-width: 700px) { .premium-home .premium-subjects { grid-template-columns: 1fr; } .premium-home .premium-subjects .subject-count { font-size: .85rem; } }

.model-sets{list-style:none;margin:.6rem 0 0;padding:0;display:grid;gap:.35rem}
.model-sets li{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.35rem 0;border-bottom:1px dotted currentColor;border-bottom-color:color-mix(in srgb,currentColor 30%,transparent)}
.model-sets li:last-child{border-bottom:0}
.model-sets span{font-weight:600;min-width:3.5rem}
.model-sets a{color:inherit;text-decoration:none;padding:.2rem .7rem;border:1px solid color-mix(in srgb,currentColor 45%,transparent);border-radius:999px;font-size:.92em}
.model-sets a:hover,.model-sets a:focus-visible{background:color-mix(in srgb,currentColor 14%,transparent)}
.model-sets-heading{margin-top:1.5rem;color:inherit}
.focus-junior { background: #e8f4fb; border-color: #cfe2ee; }
.focus-junior h2 { color: #17324d; }
.focus-junior p { color: #4d6479; }
.focus-junior .focus-links a { color: #17324d; border-color: #cfe2ee; }
.focus-junior .focus-links a:is(:hover, :focus-visible) { background: #17324d; color: #fff; border-color: #17324d; }
