:root {
  --maroon: #3b1020;
  --maroon-deep: #2a0b16;
  --pink: #e11d74;
  --pink-soft: #f48fb1;
  --rose: #ff4d8d;
  --blush: #fff4f7;
  --card: #ffffff;
  --ink: #3a2430;
  --muted: #8a6b78;
  --line: #f3d6e0;
  --gold: #f7c7d7;
  --radius: 18px;
  --max: 1180px;
  --display: "Great Vibes", "Tiro Bangla", cursive;
  --head: "Tiro Bangla", "Noto Serif Bengali", serif;
  --sans: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--blush);
  color: var(--ink);
  line-height: 1.6;
}
img, iframe, video, audio { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }

.top {
  background: var(--maroon-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(42, 11, 22, 0.28);
}
.top-inner {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: grid; line-height: 1.1; }
.logo .hearts {
  font-family: var(--display);
  font-size: 34px;
  color: #ff8ab8;
  letter-spacing: 0.01em;
}
.logo small {
  color: #f7c7d7;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.nav a {
  color: #f8dce7;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 14.5px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.nav a.on, .nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav a.on { color: #ff8ab8; }
.searchbox {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  min-width: 180px;
}
.searchbox input {
  border: 0;
  padding: 8px 12px;
  width: 140px;
  outline: none;
  color: var(--ink);
}
.searchbox button {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 430px;
  background: #2a0b16 center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42,11,22,0.78) 0%, rgba(42,11,22,0.28) 48%, rgba(42,11,22,0.12) 100%),
    linear-gradient(180deg, transparent 55%, rgba(42,11,22,0.35));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 430px;
  display: grid;
  align-content: center;
  padding: 42px 0 48px;
  max-width: 620px;
  margin-left: max(16px, calc((100% - var(--max)) / 2));
}
.script {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  color: #ffd0e1;
  margin: 0 0 6px;
}
.hero h1 {
  font-family: var(--head);
  font-size: clamp(44px, 6vw, 72px);
  color: #ff8ab8;
  margin: 0 0 6px;
  font-weight: 400;
  line-height: 1.05;
}
.hero h1 span {
  font-family: var(--display);
  font-size: 0.7em;
}
.hero h2 {
  font-family: var(--head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 12px;
}
.hero p { max-width: 460px; color: #f7dce6; margin: 0 0 18px; }
.pink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(225, 29, 116, 0.35);
}
.pink-btn:hover { filter: brightness(1.05); }
.hero-quote {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100% - var(--max)) / 2));
  top: 54px;
  max-width: 230px;
  text-align: right;
  font-family: var(--head);
  font-size: 18px;
  color: #fff;
  text-shadow: 0 6px 16px rgba(0,0,0,.45);
}

.catbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: -28px auto 28px;
  position: relative;
  z-index: 2;
}
.cat-chip {
  background: #fff;
  border-radius: 16px;
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(59, 16, 32, 0.08);
  border: 1px solid #ffe4ee;
}
.cat-chip .ico {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffe6ef;
  color: var(--pink);
  font-size: 18px;
}
.cat-chip strong { display: block; }
.cat-chip small { color: var(--muted); font-size: 12px; }
.cat-chip:hover { transform: translateY(-2px); }

.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 10px 0 50px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
  color: var(--pink);
  font-weight: 700;
}
.section-head a { color: var(--muted); font-size: 14px; }

.feed {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.post {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(59,16,32,0.08);
  border: 1px solid #ffe8f0;
}
.post-media {
  display: block;
  background: #fff4f7;
  line-height: 0;
}
.post-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #1a0a10;
}
.meta {
  display: flex;
  gap: 14px;
  padding: 8px 12px 10px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  align-items: center;
}

.verse-box {
  margin: 0 10px 12px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,143,176,.28), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(255,192,203,.35), transparent 46%),
    linear-gradient(180deg, #fff8fb 0%, #ffeef5 100%);
  border: 1px solid #f4c9d8;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  position: relative;
}
.verse-box::before,
.verse-box::after {
  position: absolute;
  font-size: 16px;
  opacity: .7;
}
.verse-box::before { content: "✿"; top: 8px; left: 10px; color: #e11d74; }
.verse-box::after { content: "❀"; bottom: 8px; right: 10px; color: #ff7aa8; }
.verse-badge {
  display: inline-block;
  background: #ff4fa0;
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 700;
  margin: 0 0 8px 12px;
}
.verse-title {
  font-family: var(--head);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  margin: 0 8px 8px;
  color: #3a2430;
}
.verse-text {
  margin: 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a3040;
  white-space: pre-wrap;
}
.watch-verse {
  margin: 0 0 18px;
  padding: 22px 20px 24px;
}
.watch-verse .verse-title,
.watch-verse h1 {
  font-family: var(--head);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.4;
  margin: 6px 8px 12px;
  color: #2a0b16;
}
.watch-verse .verse-text {
  font-size: 20px;
  margin: 0 8px 10px;
}
.verse-desc {
  margin: 8px 8px 0;
  color: var(--muted);
  font-size: 15px;
}
.watch-cat {
  color: var(--pink);
  font-weight: 700;
  margin: 0 0 10px;
}

.meta-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}
.like-btn.on { color: var(--pink); font-weight: 700; }
.cmt-box {
  border-top: 1px solid #f8e3ea;
  padding: 10px 12px 12px;
  background: #fffafc;
}
.cmt-item { margin-bottom: 8px; }
.cmt-item strong { color: var(--pink); font-size: 13px; }
.cmt-item p { margin: 2px 0 0; font-size: 13px; color: var(--ink); }
.cmt-empty { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.cmt-form { display: grid; gap: 8px; }
.cmt-form input, .cmt-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
  background: #fff;
}
.cmt-form textarea { min-height: 64px; resize: vertical; }
.cmt-form button {
  justify-self: start;
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-weight: 600;
}
.engage {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 10px 0 16px;
  flex-wrap: wrap;
}
.engage .meta-btn { font-size: 16px; }
.views-count { cursor: default; }
.comments-panel {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #ffe8f0;
  margin-top: 10px;
}
.comments-panel h3 { margin: 0 0 10px; color: var(--pink); }

.side { display: flex; flex-direction: column; gap: 16px; }
.panel {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(59,16,32,0.08);
  border: 1px solid #ffe8f0;
}
.panel h3 { margin: 0 0 10px; color: var(--pink); font-size: 18px; }
.cat-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  border-bottom: 1px solid #f8e3ea;
  color: #5a3746;
}
.cat-row:last-child { border: 0; }
.quote-card {
  min-height: 230px;
  border-radius: 18px;
  background: #2a0b16 center/cover no-repeat;
  color: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 0 2000px rgba(24,8,14,.42);
}
.quote-card p {
  font-family: var(--head);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.news p { color: var(--muted); font-size: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  outline: none;
}
.news-form button {
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
}

.page-hero {
  background: linear-gradient(90deg, #3b1020, #7a1848);
  color: #fff;
  padding: 28px 0;
}
.page-hero h1 {
  font-family: var(--head);
  font-weight: 400;
  margin: 0;
  font-size: 36px;
}
.watch-frame {
  background: #11060b;
  border-radius: 18px;
  overflow: visible;
  margin: 0 auto 14px;
  max-width: 560px;
  width: 100%;
}
.watch-frame .full-photo {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #11060b;
  cursor: zoom-in;
  border-radius: 18px;
}
.watch-frame img,
.watch-frame .full-photo img {
  width: 100% !important;
  height: auto !important;
  max-width: 560px !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border: 0;
  background: #11060b;
  margin: 0 auto !important;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 4, 8, .94);
  display: grid;
  place-items: center;
  padding: 56px 16px 24px;
  overflow: auto;
}
.lightbox img {
  width: auto !important;
  height: auto !important;
  max-width: min(720px, 92vw) !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}
.lb-close {
  position: fixed;
  top: 12px;
  right: 14px;
  z-index: 10000;
  border: 0;
  background: #e11d74;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
html.lb-open, html.lb-open body { overflow: hidden; }
.watch-copy h1 { font-family: var(--head); font-weight: 400; font-size: 36px; margin: 0 0 8px; }
.empty {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 28px 0 50px;
}
.about-grid img { width: 100%; border-radius: 18px; object-fit: cover; height: 360px; }
.about-kicker {
  color: var(--pink);
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0 0 14px;
}
.about-copy p { margin: 0 0 12px; }
.about-join {
  font-family: var(--head);
  font-weight: 400;
  font-size: 26px;
  margin: 22px 0 8px;
  color: var(--maroon);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.social-btn:hover { background: var(--pink); color: #fff; }
.social-btn .s-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.social-btn.compact { padding: 6px 9px; }
.social-btn.compact .s-txt { display: none; }
.social-btn.large {
  background: #fff;
  color: var(--maroon);
  border: 1px solid var(--line);
  padding: 11px 16px;
}
.social-btn.large:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.about-socials { justify-content: flex-start; margin-top: 8px; }
.foot .social-row { justify-content: flex-end; }

.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(42,11,22,.72), rgba(42,11,22,.9)), url("images/hero.jpg") center/cover;
}
.admin-card {
  width: min(1040px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.login-box { width: min(440px, 100%); }
.login-box h1, .admin-card h1 { font-family: var(--head); font-weight: 400; color: var(--pink); }
label { display: block; margin: 12px 0 6px; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}
textarea { min-height: 90px; resize: vertical; }
.creds {
  background: #fff0f5;
  padding: 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.staff-grid { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }
.item-list { display: flex; flex-direction: column; gap: 8px; max-height: 70vh; overflow: auto; }
.item {
  text-align: left;
  background: #fff4f7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.item.on { border-color: var(--pink); }
.btn {
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}
.btn.ghost { background: #fff; color: var(--pink); border: 1px solid var(--pink); }
.btn.danger { background: #c62828; }
.note {
  background: #fff0f5;
  border: 1px solid #f3d6e0;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}
.role-pill {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.foot {
  background: linear-gradient(180deg, rgba(20,6,12,.55), rgba(20,6,12,.72)), url("images/footer.jpg") center/cover no-repeat;
  color: #f7dce6;
  margin-top: 20px;
}
.foot-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  min-height: 150px;
  padding: 28px 0 10px;
}
.logo.light .hearts { color: #ff8ab8; }
.foot-tag { text-align: center; font-size: 20px; }
.socials, .bye { text-align: right; }
.copy {
  text-align: center;
  margin: 0;
  padding: 8px 0 18px;
  font-size: 13px;
  color: #e7b8c8;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 1000px) {
  .catbar, .feed, .layout, .foot-inner, .staff-grid, .about-grid { grid-template-columns: 1fr 1fr; }
  .hero-quote { display: none; }
  .nav { display: none; }
}
@media (max-width: 700px) {
  .catbar, .feed, .layout, .foot-inner, .about-grid { grid-template-columns: 1fr; }
  .hero-inner { max-width: none; }
  .watch-frame { max-width: 420px; }
  .watch-frame img,
  .watch-frame .full-photo img { max-width: 420px !important; }
  .lightbox img { max-width: min(420px, 92vw) !important; }
}
