:root {
  --ink: #11161c;
  --ink-2: #05080b;
  --panel: #151a21;
  --blue: #416aaa;
  --blue-2: #153a7d;
  --gold: #ffd93d;
  --gold-2: #f2a81d;
  --green: #23d26f;
  --white: #ffffff;
  --soft: #f4f7fb;
  --muted: #6d7783;
  --line: rgba(17, 22, 28, 0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, "Noto Sans Bengali", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: #171717; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--gold), #ffb129); color: #111; font-size: 22px; font-weight: 950; box-shadow: 0 10px 30px rgba(255, 211, 61, .26); }
.brand-name strong { display: block; color: var(--gold); font-size: 34px; line-height: 1; font-weight: 950; }
.brand-name span { display: block; color: rgba(255,255,255,.76); font-size: 12px; font-weight: 900; }
.top-note { color: rgba(255,255,255,.86); font-weight: 900; text-align: center; }
.top-note b { color: var(--gold); margin-left: 8px; }
.auth { display: flex; gap: 12px; }
.auth a, .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-weight: 950; font-size: 14px; }
.auth a { background: var(--blue); color: var(--white); min-width: 112px; box-shadow: 0 8px 20px rgba(65,106,170,.28); }
.nav { background: #050505; color: var(--white); }
.nav-inner { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a { position: relative; flex: 0 0 auto; font-weight: 950; white-space: nowrap; color: rgba(255,255,255,.92); }
.nav a.active, .nav a:hover { color: var(--gold); }
.nav a.active::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 4px; background: var(--gold); border-radius: 999px; }
.hero { background-color: #06100f; background-image: linear-gradient(90deg, rgba(5,8,11,.98), rgba(5,8,11,.86) 44%, rgba(5,8,11,.46)), url("/assets/5z777/5z777-hero.jpg"); background-size: cover; background-position: right center; color: var(--white); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 42px; padding: 48px 0; }
.hero-label, .crumb { display: inline-flex; border: 1px solid rgba(255,217,61,.54); color: var(--gold); border-radius: 7px; padding: 7px 14px; font-size: 13px; font-weight: 950; margin-bottom: 22px; }
.hero h1, .page-hero h1, .article-hero h1 { margin: 0 0 18px; font-size: 54px; line-height: 1.08; font-weight: 950; max-width: 760px; }
.hero p, .page-hero p, .article-hero p { margin: 0; max-width: 660px; color: rgba(255,255,255,.86); font-size: 18px; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-gold { background: linear-gradient(180deg, #ffe873, #f3b21f); color: #141414; box-shadow: 0 12px 28px rgba(255,217,61,.28); }
.btn-ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2); color: var(--white); }
.hero-panel { padding: 24px; border-radius: 10px; border: 1px solid rgba(255,217,61,.24); background: rgba(17,17,17,.78); box-shadow: 0 20px 50px rgba(0,0,0,.32); backdrop-filter: blur(10px); }
.hero-panel h2 { color: var(--gold); font-size: 30px; margin: 0 0 18px; }
.rank-row { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 14px; align-items: center; margin-bottom: 12px; padding: 14px; border-radius: 8px; background: rgba(255,255,255,.08); }
.rank-row > span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--gold); color: #111; font-weight: 950; }
.rank-row strong, .rank-row small { display: block; }
.rank-row small { color: rgba(255,255,255,.62); }
.rank-row em { color: var(--green); font-style: normal; font-weight: 950; }
.quick-strip { background: #09100f; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white); }
.quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.quick-item { min-height: 92px; display: flex; align-items: center; gap: 16px; padding: 18px 26px; border-left: 1px solid rgba(255,255,255,.1); }
.quick-item:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.quick-item b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 9px; background: var(--gold); color: #111; font-size: 20px; }
.quick-item strong, .quick-item span span { display: block; }
.quick-item span span { color: rgba(255,255,255,.62); font-size: 13px; }
.section { padding: 72px 0; }
.soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
h2 { margin: 0 0 14px; font-size: 34px; line-height: 1.2; font-weight: 950; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.28; font-weight: 950; }
p { margin-top: 0; }
.section-head p, .intro-card p, .topic-card p, .news-card p, .footer p, .side-panel li { color: var(--muted); }
.intro-grid, .content-grid, .page-grid, .media-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 34px; align-items: start; }
.intro-card, .info-table, .topic-card, .news-card, .side-panel, .article-body { border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 18px 38px rgba(17,22,28,.08); }
.intro-card { padding: 30px; }
.info-table { overflow: hidden; }
.table-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.table-row:last-child { border-bottom: 0; }
.table-row span { color: var(--muted); }
.topic-grid, .news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.topic-card { overflow: hidden; }
.topic-card img, .news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.topic-card div, .news-card div { padding: 20px; }
.topic-card span, .news-card span, .date-chip, .mini-list span { display: inline-block; margin-bottom: 8px; color: var(--blue); font-size: 13px; font-weight: 950; }
.readmore { color: var(--blue-2); font-weight: 950; }
.dark-band { background: var(--ink-2); color: var(--white); }
.dark-band p { color: rgba(255,255,255,.75); }
.media-grid { grid-template-columns: minmax(0, .9fr) minmax(360px,1.1fr); align-items: center; }
.image-pair { display: grid; gap: 16px; }
.image-pair img { border-radius: 10px; border: 1px solid rgba(255,255,255,.14); aspect-ratio: 16/7; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.page-hero, .article-hero { background: linear-gradient(120deg, #061019, #0b2344 62%, #141414); color: var(--white); padding: 58px 0; }
.page-hero.simple { background: linear-gradient(120deg, #061019, #173d7b); }
.page-grid { grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); align-items: center; }
.page-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; box-shadow: 0 20px 48px rgba(0,0,0,.25); }
.crumb a { color: var(--gold); }
.content-grid { grid-template-columns: minmax(0,1fr) 320px; }
.news-list { display: grid; gap: 18px; }
.news-card.compact { display: grid; grid-template-columns: 220px minmax(0,1fr); overflow: hidden; }
.news-card.compact .news-media img { height: 100%; min-height: 180px; }
.side-panel { position: sticky; top: 16px; padding: 24px; }
.side-panel h2 { font-size: 24px; }
.side-panel ul { margin: 0 0 22px; padding-left: 22px; }
.full { width: 100%; }
.article-body { padding: 30px; }
.article-cover { width: 100%; border-radius: 10px; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 28px; }
.article-body h2 { margin-top: 30px; font-size: 28px; }
.safe-note { margin-top: 28px; padding: 20px; border-radius: 10px; background: #fff6ca; color: #3b2c00; border: 1px solid #f1d55f; }
.mini-list { display: grid; gap: 14px; }
.mini-list a { display: block; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 900; }
.mini-list span { margin-right: 6px; }
.legacy { margin-top: 22px; color: var(--muted); font-size: 13px; }
.narrow { max-width: 860px; }
.footer { background: #11161c; color: var(--white); padding: 50px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3,minmax(170px,.6fr)); gap: 30px; }
.footer h3 { font-size: 18px; }
.footer a { display: block; margin-bottom: 8px; color: rgba(255,255,255,.76); }
.copy { width: min(1160px, calc(100% - 40px)); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; color: rgba(255,255,255,.62); }
@media (max-width: 980px) {
  .topbar-inner { flex-direction: column; align-items: stretch; padding: 16px 0; }
  .top-note { text-align: left; }
  .auth a { flex: 1; }
  .nav-inner { justify-content: flex-start; gap: 26px; }
  .hero-grid, .intro-grid, .content-grid, .page-grid, .media-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { background-image: linear-gradient(90deg, rgba(5,8,11,.98), rgba(5,8,11,.75)), url("/assets/5z777/5z777-hero.jpg"); }
  .quick-grid, .topic-grid, .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .side-panel { position: static; }
}
@media (max-width: 640px) {
  .wrap, .copy { width: min(100% - 28px, 1160px); }
  .brand-name strong { font-size: 30px; }
  .auth { width: 100%; }
  .hero h1, .page-hero h1, .article-hero h1 { font-size: 34px; }
  .hero p, .page-hero p, .article-hero p { font-size: 16px; }
  .hero-grid { min-height: 560px; padding: 38px 0; }
  .hero-panel { padding: 18px; }
  .rank-row { grid-template-columns: 48px minmax(0,1fr); }
  .rank-row em { grid-column: 2; }
  .quick-grid, .topic-grid, .news-grid { grid-template-columns: 1fr; }
  .quick-item { border-right: 1px solid rgba(255,255,255,.1); }
  .section { padding: 52px 0; }
  h2 { font-size: 28px; }
  .news-card.compact { grid-template-columns: 1fr; }
  .article-body { padding: 20px; }
}
