:root {
  --bg: #ffffff;
  --ink: #19120f;
  --muted: #62514a;
  --black: #090706;
  --red: #d80716;
  --red-deep: #9c050d;
  --gold: #ffd45a;
  --gold-deep: #ffb31f;
  --line: rgba(176, 29, 29, .18);
  --shadow: 0 18px 48px rgba(27, 14, 10, .14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body.rana88-body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  line-height: 1.68;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-top {
  background: radial-gradient(circle at 82% 0, rgba(255, 210, 77, .18), transparent 26rem), #080706;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; }
.brand img { width: 168px; border-radius: 6px; filter: drop-shadow(0 0 14px rgba(255, 49, 30, .42)); }
.top-actions, .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-gold { color: #1a0900; background: linear-gradient(180deg, #ffe875, var(--gold-deep)); box-shadow: 0 12px 24px rgba(255, 172, 24, .22); }
.button-dark { color: #fff; background: rgba(0, 0, 0, .2); border-color: rgba(255, 210, 90, .55); }

.site-nav {
  background: linear-gradient(180deg, #ef1d28, #cf0614);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .22);
}
.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: #fff;
  font-weight: 900;
}
.nav-inner a { position: relative; min-height: 58px; display: inline-flex; align-items: center; }
.nav-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-inner a:hover::after, .nav-inner a.is-active::after { transform: scaleX(1); }

.hero {
  position: relative;
  min-height: 455px;
  overflow: hidden;
  background: #1c0502;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 4, 0, .96) 0%, rgba(34, 4, 0, .84) 38%, rgba(28, 4, 0, .24) 70%, rgba(10, 1, 0, .2) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 455px;
  display: flex;
  align-items: center;
  padding: 54px 0;
}
.hero-copy { max-width: 760px; }
.hero h1 {
  margin: 0 0 22px;
  color: #fff7c8;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 5px 0 rgba(109, 20, 0, .5);
}
.hero p { max-width: 590px; margin: 0 0 28px; color: rgba(255,255,255,.9); font-size: 18px; }

.main-section { padding: 58px 0; background: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; align-items: start; }
.section-title {
  margin: 0 0 22px;
  color: var(--red);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}
.lead { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.check-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: #2d2521; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px var(--red);
}
.side-stack { display: grid; gap: 16px; }
.side-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(216, 7, 22, .28);
  border-radius: var(--radius);
  background: #fffafa;
  box-shadow: 0 10px 30px rgba(143, 8, 17, .06);
}
.side-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--red);
  color: var(--red);
  font-size: 22px;
  font-weight: 950;
}
.side-card h3 { margin: 0 0 4px; color: var(--red); font-size: 20px; line-height: 1.2; }
.side-card p { margin: 0; color: var(--muted); font-size: 14px; }

.category-section { padding: 18px 0 58px; background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(25, 19, 15, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.category-media { display: block; height: 170px; overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover .category-media img { transform: scale(1.05); }
.category-body { min-height: 160px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.category-body h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.category-body p { margin: 0; color: var(--muted); font-size: 14px; }
.card-arrow { margin-top: auto; color: var(--red); font-size: 24px; line-height: 1; align-self: flex-end; }

.news-section { padding: 12px 0 70px; background: #fff; }
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.view-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(216, 7, 22, .44);
  border-radius: var(--radius);
  color: var(--red);
  font-weight: 900;
}
.news-list {
  overflow: hidden;
  border: 1px solid rgba(25, 19, 15, .09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(27, 14, 10, .08);
}
.news-row {
  display: grid;
  grid-template-columns: 190px 104px minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(25, 19, 15, .08);
}
.news-row:last-child { border-bottom: 0; }
.news-thumb { width: 190px; height: 92px; overflow: hidden; border-radius: 6px; background: #220603; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-date { color: var(--muted); font-size: 13px; font-weight: 800; }
.news-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(216, 7, 22, .28);
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}
.news-title { margin: 0 0 5px; font-size: 20px; line-height: 1.28; }
.news-summary { margin: 0; color: var(--muted); font-size: 14px; }
.news-arrow { color: var(--red); font-size: 32px; font-weight: 700; }
.dede-update-zone { padding-top: 22px; }
.dede-update-head h2 { margin: 0 0 10px; }
.dede-update-head p { margin: 0 0 20px; color: var(--muted); }
.update-card { padding: 18px; border-bottom: 1px solid rgba(25, 19, 15, .08); }
.update-card:last-child { border-bottom: 0; }
.update-card h3 { margin: 0 0 8px; font-size: 20px; }
.update-card p { margin: 0 0 10px; color: var(--muted); }

.footer { background: #090706; color: rgba(255, 255, 255, .82); border-top: 5px solid var(--red); }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 54px; padding: 54px 0; }
.footer .brand img { width: 145px; }
.footer p { margin: 16px 0 0; color: rgba(255, 255, 255, .68); }
.footer h3 { margin: 0 0 14px; color: #fff7c8; }
.footer a, .footer span { display: block; margin: 9px 0; color: rgba(255, 255, 255, .72); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; color: rgba(255, 255, 255, .62); text-align: center; }

.article-main { padding: 48px 0 70px; background: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-weight: 800; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #c9b4aa; }
.breadcrumb li:last-child::after { content: ""; margin-left: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.article-card, .content-card, .article-side {
  border: 1px solid rgba(25, 19, 15, .09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.article-card { overflow: hidden; }
.article-hero { min-height: 300px; padding: 44px; color: #fff7c8; background: linear-gradient(90deg, rgba(25, 4, 0, .96), rgba(34, 4, 0, .76)), url("/assets/rana88-hero.jpg") center/cover no-repeat; }
.article-hero h1 { max-width: 780px; margin: 0 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; }
.article-hero p { max-width: 640px; margin: 0; color: rgba(255,255,255,.9); }
.article-content, .content-card { padding: 34px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.article-content p, .content-card p { color: #342823; line-height: 1.88; }
.article-content h2, .content-card h2 { color: var(--red); font-size: 30px; }
.article-side { padding: 22px; }
.article-side h2 { margin: 0 0 16px; color: var(--red); }
.side-links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 7px; background: #fff5f4; color: var(--red); font-weight: 900; }
.page-image { margin: 22px 0; border-radius: var(--radius); overflow: hidden; max-height: 360px; }
.page-image img { width: 100%; height: 100%; object-fit: cover; }
.content-grid-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.note { padding: 18px; border-left: 4px solid var(--red); border-radius: var(--radius); background: #fff7f6; }
.note h3 { margin: 0 0 8px; }
.note p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .container { width: min(100% - 32px, 760px); }
  .top-inner, .footer-main { grid-template-columns: 1fr; flex-wrap: wrap; }
  .nav-inner { justify-content: flex-start; gap: 24px; overflow-x: auto; }
  .content-grid, .article-layout, .footer-main { display: grid; grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 150px minmax(0, 1fr) 24px; }
  .news-date { display: none; }
}

@media (max-width: 620px) {
  .top-actions { width: 100%; }
  .button { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .hero, .hero-inner { min-height: 520px; }
  .hero::after { background: linear-gradient(180deg, rgba(25, 4, 0, .96) 0%, rgba(34, 4, 0, .82) 56%, rgba(28, 4, 0, .32) 100%); }
  .hero h1 { font-size: 36px; }
  .category-grid, .content-grid-mini { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .news-thumb { width: 100%; height: 160px; }
  .news-arrow { display: none; }
  .article-content, .content-card, .article-hero { padding: 24px; }
}
