/* =============================
   Bad Money Times — styles.css
   Purpose: Minimal custom CSS layered on top of Tailwind
   You can safely extend this file as the site grows.
   ============================= */

/* ---- Global ---- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* ---- Newsletter Styles ---- */
.newsletter-input {
  border-radius: 0.5rem;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  transition: border 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #dc2626; /* Tailwind red-600 */
}

.newsletter-submit {
  background: #dc2626;
  color: #fff;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-submit:hover {
  background: #b91c1c; /* red-700 */
}

/* ---- Mobile Navigation ---- */
#mobileNav a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 0;
}

/* ---- Hero Section ---- */
.hero-overlay {
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.25), transparent 55%);
}

/* ---- Live Badge Glow ---- */
.live-badge {
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
}

/* ---- Card Hover Helpers (used via Tailwind classes too) ---- */
.card-pop {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-pop:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
  border-color: rgba(248, 113, 113, 0.7);
}

/* ---- Aspect Ratio Fix (for older Tailwind CDN config) ---- */
.aspect-w-16 {
  position: relative;
  width: 100%;
}

.aspect-w-16::before {
  content: "";
  display: block;
  padding-bottom: calc(9 / 16 * 100%);
}

.aspect-w-16 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---- Animations ---- */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.7);
  }
  100% {
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
  }
}

.live-badge {
  animation: pulseGlow 1.5s infinite ease-in-out;
}

/* ---- Utility Override for Dark Theme Tweaks ---- */
.text-glow-red {
  text-shadow: 0 0 12px rgba(220, 38, 38, 0.7);
}

/* ---- Scroll Reveal Utility ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Editable Space for Future Additions ---- */
/* Add any page-specific or section-specific custom styling below. */
