body { margin: 0; font-family: sans-serif; }

/* HOME */
.hero { position: relative; }
.banner { width: 100%; height: 70vh; object-fit: cover; display: block; }

.menu {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
  flex-wrap: wrap; /* FIX OVERLAPPING */
}

.menu a {
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.store-btn { background: #ffd966; }

/* SUBPAGES */
.content-body {
  background: #fafafa;
  padding: 20px;
}

.content-header {
  text-align: center;
  margin-bottom: 20px;
}

.back-home {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  background: white;
  padding: 6px 14px;
  border-radius: 6px;
}

.content-main {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
}

/* COSMIC STORE */
.store-body { background: #fff3fc; padding: 20px; }
.store-header { text-align: center; margin-bottom: 20px; }
.store-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.store-card { background: white; padding: 16px; border-radius: 12px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.store-card button { padding: 8px 16px; border: none; border-radius: 6px; background: #ffe066; font-weight: bold; }


/* FOOTER */
.site-footer {
  background: #1b1320;
  color: #fbeeff;
  padding: 18px 16px 22px;
  font-size: 13px;
}
.site-footer a { color: #ffd6ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.footer-brand {
  margin: 0;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.footer-label {
  opacity: 0.8;
  margin-right: 8px;
}
.app-badges .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #2a1a3a;
  border: 1px solid rgba(255,255,255,0.2);
  margin-right: 6px;
  font-size: 12px;
}
.social-icons .icon-pill {
  display: inline-block;
  min-width: 24px;
  text-align: center;
  padding: 3px 6px;
  border-radius: 999px;
  background: #2a1a3a;
  border: 1px solid rgba(255,255,255,0.2);
  margin-right: 4px;
}
@media (max-width: 600px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
}


/* Southern Comfort & Teaser */
.southern-comfort {
  max-width: 1100px;
  margin: 30px auto 10px;
  padding: 0 16px 20px;
}
.southern-comfort h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.southern-comfort p {
  margin-bottom: 12px;
}
.southern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 10px;
}
.southern-card {
  background: #fff4ea;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.teaser-block {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 0 16px 30px;
}
.teaser-block h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.teaser-block p {
  margin-bottom: 12px;
}
.teaser-frame {
  position: relative;
  max-width: 640px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.teaser-frame img {
  display: block;
  width: 100%;
}
.play-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 8, 40, 0.85);
  color: #fdf7ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Badge utility (for monetization page) */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fbe8ff;
  color: #5a2b6e;
  font-size: 0.8rem;
}


/* Recipes grid + zoom modal */
.recipe-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.recipe-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  text-align: left;
  border: 1px solid #f5d7ff;
}

.recipe-card h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #4a275f;
}

.recipe-card-tagline {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #7b6b90;
}

.recipe-view-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: #f6a5c3;
  color: #3b1632;
  font-size: 0.9rem;
  cursor: pointer;
}

.recipe-view-btn:hover {
  opacity: 0.9;
}

.recipe-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.recipe-modal {
  background: #ffffff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px 18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.recipe-modal h2 {
  margin-top: 0;
  color: #4a275f;
}

.recipe-modal-close {
  border: none;
  background: transparent;
  font-size: 1.3rem;
  position: absolute;
  top: 10px;
  right: 16px;
  cursor: pointer;
  color: #76466e;
}

.recipe-modal-content ul {
  padding-left: 18px;
}

.recipe-modal-content ol {
  padding-left: 18px;
}

body.modal-open {
  overflow: hidden;
}


/* Shared subpage nav for content pages */
.content-subnav {
  margin: 8px auto 18px;
  text-align: center;
}
.content-subnav a {
  display: inline-block;
  margin: 0 6px;
  font-size: 13px;
  text-decoration: none;
  color: #5b3b6f;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #f2d4ff;
}

/* Sarai Store layout */
.sarai-hero {
  text-align: center;
  padding: 18px 12px 8px;
}
.sarai-hero h1 {
  margin-bottom: 4px;
}
.sarai-hero p {
  margin-top: 0;
  color: #8a6d6d;
  font-size: 0.95rem;
}
.sarai-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.sarai-card {
  background: #fff7f4;
  border-radius: 18px;
  padding: 16px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f1cec0;
}
.sarai-card h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #6b3a35;
}
.sarai-tagline {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #9b6b63;
}
.sarai-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #f3b2a4;
  font-size: 0.78rem;
  margin-right: 4px;
  margin-bottom: 4px;
}
.sarai-price {
  font-weight: bold;
  margin: 8px 0;
  color: #5a2b24;
}
.sarai-btn-row {
  margin-top: 8px;
}
.sarai-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
}
.sarai-btn.primary {
  background: #f1a28a;
  color: #3d1710;
}
.sarai-btn.secondary {
  background: #ffe9df;
  color: #5a2b24;
}

/* Podcast episode list */
.podcast-hero {
  text-align: center;
  padding: 16px 12px 10px;
}
.podcast-hero h1 {
  margin-bottom: 4px;
}
.podcast-hero p {
  margin-top: 0;
  color: #6b4b7a;
}
.podcast-episodes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.podcast-card {
  background: #fff9ff;
  border-radius: 16px;
  padding: 12px 12px 10px;
  border: 1px solid #eed2ff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.podcast-card h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.podcast-meta {
  font-size: 0.8rem;
  color: #8a7696;
  margin-bottom: 6px;
}
.podcast-desc {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.podcast-player {
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg,#f7d7ff,#fbe6ff);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.8rem;
  color: #5a3d73;
}
.podcast-player span {
  margin-right: 6px;
}

/* Home highlight section */
.home-highlight {
  margin: 24px auto 10px;
  max-width: 960px;
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,247,240,0.95), rgba(252,230,255,0.9));
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.home-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
  margin-top: 12px;
}
.home-highlight-card {
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 10px 10px 8px;
  font-size: 0.9rem;
}
.home-highlight-card h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}
.home-highlight-card p {
  margin: 0 0 6px;
}
.home-highlight-card a {
  font-size: 0.82rem;
  text-decoration: none;
  color: #7a3e82;
}
