@font-face {
  font-family: 'Codepotro Abu Sayed';
  src: url('../assets/fonts/Codepotro Abu Sayed.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Li Chhatrish July Unicode';
  src: url('../assets/fonts/Li%20Chhatrish%20July%20Unicode.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Li Chhatrish July Unicode';
  src: url('../assets/fonts/Li%20Chhatrish%20July%20Unicode%20Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* July 24 Archive — Red Blood Theme (custom, on top of Bootstrap) */
:root {
  --blood: #8b0000;
  --blood-bright: #c0392b;
  --blood-deep: #5a0000;
  --bg: #0a0607;
  --bg-2: #120a0b;
  --surface: #1a0f11;
  --surface-2: #241417;
  --border: #3a1f24;
  --text: #f2e8e8;
  --text-muted: #b89a9e;
  --text-soft: #7a5a5e;
  --accent: #e74c3c;
  --accent-2: #ff6b5b;
  --gold: #c9a227;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Li Chhatrish July Unicode", "Codepotro Abu Sayed", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: "Li Chhatrish July Unicode", "Codepotro Abu Sayed", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif; font-weight: 700; color: var(--text); }
a { color: var(--accent-2); }
a:hover { color: var(--accent); }

/* Navbar override */
.navbar { background: rgba(10,6,7,.85) !important; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); min-height: 72px; padding-top: 8px; padding-bottom: 8px; z-index: 1030; }
.navbar-brand img { height: 56px; width: auto; }
.navbar-brand { font-weight: 700; color: var(--text) !important; }
.navbar .nav-link { color: var(--text-muted) !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--text) !important; }
.btn-blood { background: var(--blood-bright); color: #fff; border: 1px solid var(--blood-bright); }
.btn-blood:hover { background: var(--blood); color: #fff; border-color: var(--blood); }
.btn-outline-blood { color: var(--accent-2); border: 1px solid var(--border); background: var(--surface); }
.btn-outline-blood:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }

/* Page hero (inner pages) — card hero inspired by unseenbangladesh.com */
.page-hero-wrap { padding-top: 28px; }
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 40px 44px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(192,57,43,.16) 0%, rgba(192,57,43,0) 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(139,0,0,.28) 0%, rgba(139,0,0,0) 62%),
    linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
}
.page-hero .pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ffb3aa;
  background: rgba(192,57,43,.18);
  border: 1px solid rgba(192,57,43,.38);
  padding: 6px 14px;
  border-radius: 99px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.15; letter-spacing: -.02em; margin: 16px 0 14px; }
.page-hero h1 span {
  background: linear-gradient(90deg, #ff8a7a, #e74c3c 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead { color: var(--text-muted); font-size: clamp(15px, 2vw, 18px); max-width: 560px; margin: 0 0 24px; }
.page-hero .ph-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero .ph-art { justify-self: center; width: 100%; max-width: 300px; height: auto; }
.page-hero .ph-art .pin { animation: phPin 2.4s ease-in-out infinite; }
.page-hero .ph-art .pin.p2 { animation-delay: -.6s; }
.page-hero .ph-art .pin.p3 { animation-delay: -1.2s; }
@keyframes phPin { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .page-hero .ph-art .pin { animation: none; } }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; padding: 32px 24px; gap: 16px; text-align: center; }
  .page-hero .lead { margin-left: auto; margin-right: auto; }
  .page-hero .ph-btns { justify-content: center; }
  .page-hero .ph-art { max-width: 220px; }
}

/* Hero video (homepage) — must be a containing block for the absolute video/overlay */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,7,.55) 0%, rgba(10,6,7,.85) 70%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(139,0,0,.04) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.hero h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.05; }
.hero .lead { color: var(--text-muted); font-size: clamp(16px, 2vw, 20px); max-width: 760px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--accent-2); font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(24px, 4vw, 40px); }
.section .lead { color: var(--text-muted); max-width: 760px; }

/* Cards */
.card-blood {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: .2s;
  height: 100%;
}
.card-blood:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(139,0,0,.25); }
.card-blood h3 { font-size: 18px; margin-bottom: 8px; }
.card-blood p { color: var(--text-muted); font-size: 14px; margin: 0; }
.tag { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); margin-right: 6px; }
.tag.danger { background: rgba(192,57,43,.18); color: #f5a59f; border-color: rgba(192,57,43,.5); }
.tag.blood { background: rgba(139,0,0,.25); color: #ff9a90; border-color: rgba(139,0,0,.6); }

/* Stats */
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; text-align: center; }
.stat .num { font-size: 34px; font-weight: 800; color: var(--accent-2); }
.stat .label { font-size: 13px; color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blood-bright); border: 2px solid var(--bg); box-shadow: 0 0 0 3px rgba(192,57,43,.25); }
.tl-date { font-size: 13px; color: var(--accent-2); font-weight: 600; margin-bottom: 4px; }
.tl-title { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.tl-body { color: var(--text-muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); font-size: 14px; background: var(--bg-2); }

/* Forms */
.form-control, .form-select { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.form-control:focus, .form-select:focus { background: var(--surface-2); color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(192,57,43,.25); }
.form-label { color: var(--text-muted); }

/* Placeholder */
.placeholder { border: 1px dashed var(--border); padding: 14px; border-radius: 8px; color: var(--text-soft); font-size: 13px; background: var(--bg-2); }

/* Archive grid */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.archive-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: .2s; }
.archive-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.archive-item .thumb { aspect-ratio: 4/3; background: var(--surface-2); display: grid; place-items: center; color: var(--text-soft); font-size: 13px; }
.archive-item .body { padding: 14px; }
.archive-item h4 { margin: 0 0 4px; font-size: 16px; }
.archive-item p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* Lang visibility */
body[data-lang="en"] .bn { display: none; }
body[data-lang="bn"] .en { display: none; }
body[data-lang="en"] { font-family: "Inter", "Segoe UI", system-ui, sans-serif; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blood-bright); }
