:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --dark: #1f2937;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #1f2937;
  background-color: #f6f7f9;
}

body.has-bg-image {
  background-image: linear-gradient(rgba(246,247,249,.94), rgba(246,247,249,.94)), var(--site-bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; }

.navbar { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.navbar-brand img { border-radius: 6px; }
.navbar .nav-link { font-weight: 500; }

.hero-section { position: relative; overflow: hidden; }
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .85rem;
  backdrop-filter: blur(4px);
}

.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(17,24,39,.12); }

.btn { border-radius: 8px; font-weight: 600; }
.btn-danger { background: var(--primary); border-color: var(--primary); }
.btn-danger:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.section-title { position: relative; display: inline-block; margin-bottom: 2rem; }
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: .6rem auto 0;
}

footer a:hover { color: #fff !important; }

.sidebar .badge-count {
  background: #ef4444;
  border-radius: 999px;
  font-size: .7rem;
  padding: .15rem .5rem;
  margin-left: auto;
}
.sidebar a { display: flex; align-items: center; }
