@media (min-width: 1200px) {
  .custom-container {
    max-width: 1600px;
  }
}

.camera-card {
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.camera-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card-img-container {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-tertiary-bg);
}
.camera-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bs-tertiary-bg);
}

/* ===== Home Page: Hero ===== */

.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a3e 50%, #0d1f4b 100%);
  padding: 5rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 70% 30%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.12) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 25% 85%, rgba(255,255,255,0.18) 50%, transparent 50%),
    radial-gradient(1px 1px at 55% 10%, rgba(255,255,255,0.14) 50%, transparent 50%),
    radial-gradient(1.3px 1.3px at 80% 55%, rgba(255,255,255,0.2) 50%, transparent 50%);
  pointer-events: none;
}
.hero-logo {
  height: 120px;
  filter: drop-shadow(0 4px 20px rgba(255,255,255,0.15));
}
.hero-title {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,110,253,0.45);
  color: #fff;
}
.btn-hero-donate {
  background: transparent;
  color: #f0c040;
  border: 2px solid #f0c040;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn-hero-donate:hover {
  background: #f0c040;
  color: #1a0a3e;
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-logo { height: 80px; }
  .hero-section { padding: 3rem 1rem 2.5rem; }
}

/* ===== Home Page: Why We Need You ===== */

.why-section {
  background: var(--bs-tertiary-bg);
}
.why-card {
  background: var(--bs-body-bg);
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  transition: transform 0.15s, box-shadow 0.15s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.why-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
}
.why-icon-wrap i {
  font-size: 1.6rem;
  color: #fff;
}

/* ===== Home Page: Live Stats ===== */

.stats-section {
  background: linear-gradient(135deg, #0d1f4b, #1a0a3e);
  padding: 3rem 1rem;
}
.stats-item {
  padding: 1rem;
}
.stats-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stats-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

@media (max-width: 576px) {
  .stats-number { font-size: 2rem; }
  .stats-section { padding: 2rem 1rem; }
}

/* ===== Home Page: Feed Sections (YouTube / Medium) ===== */

.feed-section {
  padding-top: 1rem;
}
.feed-section-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.feed-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  color: inherit;
}
.feed-img-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feed-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.feed-card-blurb {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* ===== Home Page: Donate CTA Banner ===== */

.donate-section {
  background: linear-gradient(135deg, #1a0a3e, #3b1c8c);
  padding: 4rem 1rem;
}
.donate-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.donate-text {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.btn-donate-cta {
  background: linear-gradient(135deg, #f0c040, #e6a817);
  color: #1a0a3e;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-donate-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240,192,64,0.5);
  color: #1a0a3e;
}

/* ===== Dark Mode Overrides ===== */

[data-bs-theme="dark"] .camera-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

[data-bs-theme="dark"] .why-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .feed-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
