/* ═══════════════════════════════════════════════
   GOLPER LORAI — Shared Design System
   ═══════════════════════════════════════════════ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&family=Noto+Serif+Bengali:wght@400;700&display=swap');

/* ─── TOKENS ─── */
:root {
  --gold: #D4A017;
  --gold-light: #F5D76E;
  --gold-dark: #9A720E;
  --ink: #1A1208;
  --cream: #FBF6EE;
  --cream-dark: #F0E8D6;
  --warm-white: #FFFDF8;
  --accent-red: #C0392B;
  --text-muted: #6B5C3E;
  --card-border: rgba(212,160,23,0.25);
  --shadow: 0 4px 32px rgba(26,18,8,0.10);
  --shadow-hover: 0 8px 40px rgba(26,18,8,0.16);
  --radius: 14px;
  --radius-lg: 20px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

.tester-badge {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 9999;
  background: #E24B4A;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 6px;
  border-radius: 0 8px 8px 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  box-shadow: 2px 0 10px rgba(226, 75, 74, 0.4);
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,253,248,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(26,18,8,0.12); }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white; font-weight: 700;
  box-shadow: 0 2px 8px rgba(212,160,23,0.4);
  flex-shrink: 0;
}
.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--cream); }
.nav-links a.active { color: var(--gold-dark); }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.nav-cta {
  background: var(--ink) !important;
  color: var(--gold-light) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; color: white !important; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 0.4rem;
  background: none; border: none;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 110;
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ─── */
.mobile-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(255,253,248,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  flex-direction: column; gap: 0;
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 32px rgba(26,18,8,0.12);
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  text-decoration: none; color: var(--text-muted);
  font-size: 1rem; font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--card-border);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold-dark); }
.mobile-nav-cta {
  background: var(--ink) !important;
  color: var(--gold-light) !important;
  border-radius: 8px !important;
  justify-content: center !important;
  margin-top: 0.5rem;
  border-bottom: none !important;
  padding: 0.85rem 1.5rem !important;
  font-weight: 600 !important;
}

/* ─── PAGE WRAPPER ─── */
.page-wrapper { padding-top: 64px; min-height: 100vh; }

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 64px);
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212,160,23,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,160,23,0.12);
  border: 1px solid var(--card-border);
  color: var(--gold-dark);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 780px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-dark);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: lineGrow 0.8s 0.8s ease both;
  transform-origin: left;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 540px; margin: 1.5rem auto 2.5rem;
  font-weight: 400; line-height: 1.65;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 4rem;
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--ink);
  display: block;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.scroll-hint-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ─── ANIMATIONS ─── */
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.22s; text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--ink); color: var(--gold-light); box-shadow: 0 2px 16px rgba(26,18,8,0.20); }
.btn-primary:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(154,114,14,0.35); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(26,18,8,0.25); }
.btn-outline:hover { background: var(--cream-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(154,114,14,0.35); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(255,253,248,0.25); }
.btn-ghost:hover { background: rgba(255,253,248,0.08); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ─── SECTIONS ─── */
section { padding: 5rem 2rem; }
section.compact { padding: 3.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 680px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 1rem;
}
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ─── CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-radius: 16px; padding: 1.75rem;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0; transition: opacity 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  background: var(--cream-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 1.1rem;
}
.card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── STORY THUMB COLORS ─── */
.thumb-horror   { background: linear-gradient(135deg, #1a0a0a, #3d1010); }
.thumb-romance  { background: linear-gradient(135deg, #1a0a14, #3d1030); }
.thumb-adventure{ background: linear-gradient(135deg, #0a1a0a, #103d10); }
.thumb-mystery  { background: linear-gradient(135deg, #0a0a1a, #101040); }
.thumb-scifi    { background: linear-gradient(135deg, #0a1a10, #103d20); }
.thumb-drama    { background: linear-gradient(135deg, #1a100a, #3d250a); }

/* ─── FEATURED STORY STRIP (home) ─── */
.story-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.story-card {
  background: white; border: 1px solid var(--card-border);
  border-radius: 14px; overflow: hidden;
  transition: all 0.25s; cursor: pointer; text-decoration: none; display: block; color: inherit;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  position: relative;
}
.story-body { padding: 1.1rem; }
.story-tag {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold-dark);
  background: rgba(212,160,23,0.10);
  padding: 0.2rem 0.6rem; border-radius: 4px;
  display: inline-block; margin-bottom: 0.5rem;
}
.story-title { font-family: 'Playfair Display', serif; font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.story-author { font-size: 0.8rem; color: var(--text-muted); }
.story-meta { display: flex; gap: 0.75rem; margin-top: 0.75rem; font-size: 0.78rem; color: var(--text-muted); }

/* ─── FOMO BANNER ─── */
.fomo-banner {
  background: linear-gradient(90deg, rgba(192,57,43,0.06), rgba(212,160,23,0.10), rgba(192,57,43,0.06));
  border-top: 1px solid rgba(192,57,43,0.15);
  border-bottom: 1px solid rgba(192,57,43,0.15);
  padding: 0.75rem 2rem;
  text-align: center; font-size: 0.88rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.fomo-dot { width: 7px; height: 7px; background: #C0392B; border-radius: 50%; animation: pulse 1.5s infinite; flex-shrink: 0; }

/* ─── SOCIAL PROOF ─── */
.social-proof {
  background: var(--cream); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: white;
  margin-left: -8px; background: var(--gold-dark);
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: #2c3e50; }
.avatar:nth-child(3) { background: #8e44ad; }
.avatar:nth-child(4) { background: #c0392b; }
.social-proof-text { font-size: 0.88rem; color: var(--text-muted); flex: 1; min-width: 200px; }
.social-proof-text strong { color: var(--ink); }

/* ─── COMPETITION PAGE ─── */
.comp-hero {
  background: var(--ink); color: white;
  padding: 5rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.comp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(212,160,23,0.18) 0%, transparent 70%);
}
.comp-hero-inner { position: relative; }
.comp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.comp-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  color: var(--cream); margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.comp-hero-sub { color: rgba(255,253,248,0.65); font-size: 1rem; max-width: 480px; margin: 0 auto 2.5rem; }
.comp-countdown {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.cd-unit { text-align: center; }
.cd-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  display: block; min-width: 64px;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 10px; padding: 0.4rem 0.8rem;
}
.cd-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,253,248,0.5); margin-top: 0.4rem; }
.prize-bar {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem;
}
.prize-item {
  background: rgba(212,160,23,0.10);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 10px; padding: 0.85rem 1.5rem;
  text-align: center; min-width: 120px;
}
.prize-rank { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,253,248,0.5); margin-bottom: 0.25rem; }
.prize-amt { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-light); }

.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.comp-card {
  background: white; border: 1px solid var(--card-border);
  border-radius: 16px; padding: 1.75rem;
  transition: all 0.25s; position: relative;
}
.comp-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.comp-status {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.65rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.07em;
}
.status-open   { background: rgba(16,185,129,0.12); color: #059669; }
.status-soon   { background: rgba(212,160,23,0.12); color: var(--gold-dark); }
.status-closed { background: rgba(107,92,62,0.12); color: var(--text-muted); }
.comp-cat { font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
.comp-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.comp-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.comp-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; flex-wrap: wrap; }
.comp-meta span { display: flex; align-items: center; gap: 4px; }
.progress-bar { height: 4px; background: var(--cream-dark); border-radius: 2px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; transition: width 1s ease; }
.progress-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }

.gform-card {
  background: linear-gradient(135deg, rgba(245,196,0,0.10), rgba(255,253,248,0.92));
  border: 1px solid rgba(212,160,23,0.28);
  border-radius: 16px;
  margin-top: 2rem;
  overflow: hidden;
}
.gform-card .card__accent {
  height: 4px;
  background: linear-gradient(90deg, #F5C400 0%, #D4A800 100%);
}
.gform-card .card__body {
  padding: 1.5rem;
}
.gform-btn {
  font-weight: 600;
}
.gform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,196,0,0.3);
}
.gform-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

/* ─── HOW IT WORKS STEPS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.step-item { text-align: center; padding: 2rem 1rem; }
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-title { font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--card-border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 0; font-size: 0.95rem; font-weight: 600;
  color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: 'DM Sans', sans-serif; transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-dark); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s; color: var(--text-muted); flex-shrink: 0; }
.faq-a { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; padding-bottom: 1rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ─── STORIES PAGE ─── */
.story-hero { background: var(--cream); padding: 5rem 2rem 4rem; }
.search-bar-wrap {
  position: relative; max-width: 480px; margin: 1.5rem auto 0;
}
.search-bar-wrap::before {
  content: '🔍';
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1rem; pointer-events: none;
}
#story-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1.5px solid var(--card-border);
  border-radius: 100px;
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--ink);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
#story-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
}
#story-search::placeholder { color: var(--text-muted); }

.story-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1.25rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--card-border);
  background: white; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--ink); color: var(--gold-light); border-color: var(--ink);
}

/* Featured story */
.story-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  margin-top: 3rem; cursor: pointer; transition: all 0.25s;
  background: white; text-decoration: none; color: inherit;
}
.story-featured:hover { box-shadow: var(--shadow); }
.sf-image {
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative;
}
.sf-image-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.sf-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.sf-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); margin-bottom: 0.75rem; }
.sf-title { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.2; }
.sf-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.sf-author { display: flex; align-items: center; gap: 10px; }
.sf-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-dark); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; font-weight: 700; }
.sf-author-info { font-size: 0.85rem; }
.sf-author-name { color: var(--ink); font-weight: 600; }
.sf-author-meta { color: var(--text-muted); }

/* Story grid */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.sg-card {
  background: white; border: 1px solid var(--card-border);
  border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none; display: block; color: inherit;
}
.sg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sg-card.hidden-card { display: none; }
.sg-card.search-hidden { display: none; }
.sg-thumb { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.sg-body { padding: 1rem; }
.sg-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-dark); margin-bottom: 0.35rem; }
.sg-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; line-height: 1.3; }
.sg-author { font-size: 0.78rem; color: var(--text-muted); }
.sg-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--card-border); font-size: 0.78rem; color: var(--text-muted); }

.load-more-wrap { text-align: center; margin-top: 3rem; }
.no-results {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-muted); display: none;
}
.no-results-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ─── STORY READER ─── */
.reader-page { background: var(--warm-white); }
.reader-nav-bar {
  background: var(--cream); border-bottom: 1px solid var(--card-border);
  padding: 1rem 2rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.reader-nav-bar a { color: var(--gold-dark); text-decoration: none; }
.reader-nav-bar a:hover { text-decoration: underline; }
.reader-hero {
  background: var(--cream); padding: 4rem 2rem 3rem;
  text-align: center;
}
.reader-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold-dark);
  background: rgba(212,160,23,0.12);
  padding: 0.3rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.25rem;
}
.reader-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 1.25rem;
}
.reader-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.reader-meta .sep { color: var(--card-border); }
.reader-author-inline { display: flex; align-items: center; gap: 8px; }
.reader-author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-dark); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
}
.reader-award {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,160,23,0.12);
  border: 1px solid var(--card-border);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.8rem; color: var(--gold-dark); font-weight: 600;
}

.reader-body-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.reader-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 0 auto 3rem;
}
.reader-body {
  font-family: 'Noto Serif Bengali', 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 2;
  color: var(--ink);
}
.reader-body p { margin-bottom: 1.5rem; }
.reader-body .dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 900;
  float: left; line-height: 1;
  margin-right: 0.1em; margin-top: 0.08em;
  color: var(--gold-dark);
}
.reader-end-mark {
  text-align: center; margin-top: 3rem;
  font-size: 1.5rem; color: var(--gold);
  letter-spacing: 0.5rem;
}
.reader-cta-box {
  background: var(--ink); border-radius: 16px;
  padding: 2.5rem; text-align: center;
  margin-top: 4rem;
}
.reader-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--cream); margin-bottom: 0.75rem;
}
.reader-cta-box p { color: rgba(255,253,248,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ─── VERIFY PAGE ─── */
.verify-hero {
  background: var(--cream); padding: 5rem 2rem 4rem;
  text-align: center;
}
.verify-card {
  max-width: 560px; margin: 3rem auto 0;
  background: white; border: 1px solid var(--card-border);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: var(--shadow);
}
.verify-input-wrap { position: relative; margin-top: 0.75rem; }
#cert-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; color: var(--ink);
  letter-spacing: 0.1em;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
}
#cert-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
}
#cert-input::placeholder { text-transform: none; letter-spacing: normal; color: var(--text-muted); }
.verify-btn-wrap { margin-top: 1rem; }
.verify-result { margin-top: 2rem; display: none; }
.verify-result.show { display: block; }
.result-valid {
  background: rgba(16,185,129,0.06);
  border: 1.5px solid rgba(16,185,129,0.3);
  border-radius: 14px; padding: 1.75rem;
  text-align: center;
}
.result-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.result-valid h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--ink); margin-bottom: 0.5rem;
}
.result-valid .cert-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--gold-dark);
  margin-bottom: 1rem;
}
.cert-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.cert-detail {
  background: white; border: 1px solid var(--card-border);
  border-radius: 8px; padding: 0.75rem;
}
.cert-detail-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.2rem; }
.cert-detail-value { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.result-invalid {
  background: rgba(192,57,43,0.06);
  border: 1.5px solid rgba(192,57,43,0.25);
  border-radius: 14px; padding: 1.75rem;
  text-align: center;
}
.result-invalid h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #c0392b; margin: 0.5rem 0; }
.result-invalid p { font-size: 0.9rem; color: var(--text-muted); }

.verify-info { max-width: 560px; margin: 2rem auto 0; }
.verify-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.verify-info-item {
  background: var(--cream); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1.25rem;
  text-align: center;
}
.verify-info-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.verify-info-title { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.25rem; }
.verify-info-desc { font-size: 0.8rem; color: var(--text-muted); }

/* ─── TESTIMONIALS ─── */
.testimonial-band { background: var(--cream); padding: 3rem 2rem; overflow: hidden; }
.testimonials-scroll { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; max-width: 1100px; margin: 1.5rem auto 0; padding: 0 0 1rem; }
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testimonial {
  background: white; border: 1px solid var(--card-border);
  border-radius: 14px; padding: 1.5rem; min-width: 280px; flex-shrink: 0;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.testimonial-place { font-size: 0.78rem; color: var(--text-muted); }

/* ─── ENGAGE STRIP ─── */
.engage-strip {
  background: var(--ink); padding: 4rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.engage-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.engage-strip-inner { position: relative; }
.engage-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream); font-weight: 700; margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.engage-strip p { color: rgba(255,253,248,0.6); max-width: 440px; margin: 0 auto 2rem; font-size: 1rem; }
.engage-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── ABOUT PAGE ─── */
.about-hero { background: var(--cream); padding: 5rem 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  background: var(--ink); border-radius: 20px; padding: 3rem;
  text-align: center; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
}
.brand-mark { font-size: 4rem; }
.brand-tagline { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold-light); font-style: italic; line-height: 1.3; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.value-item { background: var(--cream); border: 1px solid var(--card-border); border-radius: 12px; padding: 1.5rem; }
.value-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.value-title { font-weight: 600; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.3rem; }
.value-desc { font-size: 0.85rem; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.team-card {
  background: white; border: 1px solid var(--card-border);
  border-radius: 14px; padding: 1.5rem 1rem; text-align: center;
  transition: all 0.25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-dark); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; margin: 0 auto 0.75rem;
}
.team-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.team-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

.timeline { margin-top: 2.5rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--card-border); }
.tl-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; position: relative; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--ink); z-index: 1; }
.tl-year { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-dark); margin-bottom: 0.25rem; }
.tl-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.tl-desc { font-size: 0.88rem; color: var(--text-muted); }

/* ─── CHIPS ─── */
.chip { display: inline-block; padding: 0.25rem 0.75rem; background: var(--cream-dark); border-radius: 100px; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.gold-chip { background: rgba(212,160,23,0.12); color: var(--gold-dark); border: 1px solid rgba(212,160,23,0.2); }

/* ─── FOOTER ─── */
footer { background: var(--ink); color: rgba(255,253,248,0.7); padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold-light); margin-bottom: 0.75rem; }
.footer-brand-desc { font-size: 0.88rem; line-height: 1.65; max-width: 260px; color: rgba(255,253,248,0.55); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,253,248,0.08);
  border: 1px solid rgba(255,253,248,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,253,248,0.6);
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-col-title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,253,248,0.4); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,253,248,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,253,248,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,253,248,0.35); }

/* ─── HELPERS ─── */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.divider { border: none; border-top: 1px solid var(--card-border); margin: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 1.25rem; }
  section { padding: 3.5rem 1.25rem; }
  .about-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  .story-featured { grid-template-columns: 1fr; }
  .sf-image { min-height: 180px; }
  .hero { padding: 3rem 1.25rem 4rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .verify-info-grid { grid-template-columns: 1fr; }
  .cert-details { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .comp-countdown { gap: 0.75rem; }
  .cd-num { font-size: 2rem; min-width: 48px; }
  .prize-bar { flex-direction: column; align-items: center; }
  .verify-card { padding: 1.5rem; }
}

/* --- WINNER CARDS CSS --- */
.winner-full-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.winner-full-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-left: 5px solid var(--color-yellow);
  background: var(--color-bg-cream);
}

.winner-pos-emoji {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.winner-pos-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.winner-pos-label-bn {
  font-family: var(--font-bangla);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.winner-story-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-ink);
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.winner-author-name {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

.winner-story-body {
  padding: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--color-text-body);
  border-top: 1px solid var(--color-border);
}

.winner-story-body p {
  margin-bottom: var(--space-5);
}

.winner-story-body p:last-child {
  margin-bottom: 0;
}

/* Decorative quote mark at start of story */
.winner-story-body::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--color-yellow);
  opacity: 0.18;
  line-height: 0;
  display: block;
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
}

/* Missing card style */
.winner-full-card--missing {
  border-style: dashed;
  border-color: #D0CCCC;
  background: #FAFAFA;
}

.winner-full-card--missing .winner-full-card__header {
  background: #F5F5F5;
  border-left-color: #B0B0B0;
}

.winner-missing-notice {
  padding: var(--space-10) var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.winner-missing-notice p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 380px;
  line-height: var(--leading-loose);
}

/* Winners section label update */
#winnersSection .sec-label {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

/* --- MAY COMPETITION HIGHLIGHT BANNER --- */
.may-highlight {
  background: linear-gradient(
    135deg,
    var(--color-yellow) 0%,
    var(--color-yellow-deep) 100%
  );
  padding: var(--space-6) 0;
}

.may-highlight__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.may-highlight__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,0,0,0.1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.may-highlight__text {
  flex: 1;
  min-width: 200px;
}

.may-highlight__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-ink);
  line-height: 1.25;
  margin-bottom: var(--space-1);
}

.may-highlight__sub {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: rgba(26,26,26,0.75);
  line-height: 1.6;
}

.may-highlight__btn {
  background: var(--color-text-ink);
  color: var(--color-yellow);
  flex-shrink: 0;
}

.may-highlight__btn:hover {
  background: #333;
  color: var(--color-yellow);
}

@media (max-width: 600px) {
  .may-highlight__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .may-highlight__btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }
}

/* --- HOME ANNOUNCEMENT BAr --- */
.home-announcement {
  background: var(--color-bg-dark);
  padding: var(--space-3) 0;
  border-bottom: 2px solid var(--color-yellow);
}

.home-announcement__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.home-announcement__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-yellow);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.home-announcement__inner p {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: rgba(240,237,216,0.85);
  flex: 1;
  margin: 0;
}

.home-announcement__inner strong {
  color: var(--color-yellow);
}

.home-announcement__inner a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-yellow);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-announcement__inner a:hover {
  text-decoration: underline;
}

/* --- SEARCH PANEL --- */
.search-panel {
  background: var(--color-bg-cream);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.search-panel__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.search-panel__heading {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-ink);
  margin-bottom: var(--space-1);
}

.search-panel__sub {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.search-panel__row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 220px;
}

.search-input-icon {
  position: absolute;
  left: 12px;
  color: var(--color-text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--color-text-ink);
  background: var(--color-bg-card);
  outline: none;
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
}

.search-input::placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.search-input:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px var(--color-yellow-glow);
}

/* Remove native search clear button (X) from Chrome */
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-select {
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-ink);
  background: var(--color-bg-card);
  cursor: pointer;
  outline: none;
  transition: border-color var(--duration-fast);
  min-width: 130px;
}

.search-select:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px var(--color-yellow-glow);
}

/* Active state — when a filter has a value selected */
.search-select.has-value {
  border-color: var(--color-yellow-deep);
  color: var(--color-text-ink);
  font-weight: 500;
}

.search-clear-btn {
  padding: 10px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: background var(--duration-fast),
              color var(--duration-fast),
              border-color var(--duration-fast);
  white-space: nowrap;
}

.search-clear-btn:hover {
  background: var(--color-bg-cream);
  color: var(--color-text-ink);
  border-color: var(--color-border-strong);
}

/* Disabled state — shown when no filters are active */
.search-clear-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Results count row */
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.results-count {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.results-count strong {
  color: var(--color-text-ink);
  font-weight: 500;
}

/* Highlight matched search text in card titles */
mark.search-highlight {
  background: var(--color-yellow-light);
  color: var(--color-text-ink);
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
  .search-panel__row {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input-wrap { min-width: unset; }
  .search-select { min-width: unset; }
  .search-clear-btn { width: 100%; }
}
