/* === NEW HOMEPAGE SECTIONS (Redesign v1) === */

/* Current Episode Card */
.current-episode {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px clamp(18px, 5vw, 64px) 32px;
}
.current-episode .eyebrow {
  text-align: center;
  margin-bottom: 16px;
}
.current-episode .issue-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}
.current-episode .issue-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(185, 93, 120, 0.15);
}
.current-episode .microcopy {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.current-episode .microcopy a {
  color: var(--hot-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .current-episode .issue-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .current-episode .issue-card img {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* This Week Teaser */
.this-week-teaser {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(18px, 5vw, 64px);
  text-align: center;
}
.this-week-teaser h2 {
  margin-bottom: 24px;
}
.goss-teaser-list {
  text-align: left;
  margin: 0 auto 24px;
  max-width: 620px;
}
.goss-teaser-list p {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.5;
}
.goss-teaser-list p:last-child {
  border-bottom: none;
}
.goss-teaser-list strong {
  color: var(--ink);
}

/* Origin Snippet */
.origin-snippet {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px clamp(18px, 5vw, 64px);
  text-align: center;
}
.origin-snippet p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}
.origin-snippet h2 {
  margin-bottom: 16px;
}

/* ==========================================
   THE FUN SHELF — Visual Game Card Grid
   ========================================== */
.fun-shelf {
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(170deg, rgba(252, 228, 242, 0.5) 0%, rgba(255, 248, 252, 0.95) 40%, rgba(230, 252, 255, 0.3) 100%);
}

.fun-shelf-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.fun-shelf-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}

.fun-shelf-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.fun-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 1100px;
  margin: 0 auto;
}

.fun-shelf-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(252, 228, 242, 0.94)),
    repeating-linear-gradient(135deg, rgba(185, 93, 120, 0.12) 0 8px, rgba(36, 123, 131, 0.1) 8px 16px);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.fun-shelf-card:hover,
.fun-shelf-card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
  border-color: var(--hot-pink);
}

.fun-shelf-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.fun-shelf-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fun-shelf-card-body strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.fun-shelf-card-body span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.fun-shelf-cta {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 560px) {
  .fun-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .fun-shelf-card img {
    height: 120px;
  }
  .fun-shelf-card-body {
    padding: 10px 12px 14px;
  }
  .fun-shelf-card-body strong {
    font-size: 0.95rem;
  }
  .fun-shelf-card-body span {
    font-size: 0.75rem;
  }
}

/* ==========================================
   COMMUNITY TEASER
   ========================================== */
.community-teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.community-teaser-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.community-teaser-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.community-room-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.community-room-preview span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: rgba(252, 228, 242, 0.5);
  color: var(--plum);
}

.community-teaser-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink);
  border: 2px solid var(--ink);
}

@media (max-width: 560px) {
  .community-teaser {
    grid-template-columns: 1fr;
  }
  .community-teaser-image {
    order: -1;
  }
  .community-teaser-image img {
    max-height: 200px;
    object-fit: cover;
  }
}

/* ==========================================
   REFERENCE CLOSET TEASER
   ========================================== */
.reference-closet-teaser {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.reference-closet-teaser-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink);
  border: 2px solid var(--ink);
}

.reference-closet-teaser-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.reference-closet-teaser-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 560px) {
  .reference-closet-teaser {
    grid-template-columns: 1fr;
  }
  .reference-closet-teaser-image img {
    max-height: 200px;
    object-fit: cover;
  }
}

/* Episode quick links */
.episode-quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.episode-quick-links .button {
  font-size: 0.82rem;
}


/* ═══════════════════════════════════════════
   BUTTON ENHANCEMENTS — Soft Pulse + Archive Links
   ═══════════════════════════════════════════ */

/* All primary buttons get the soft alive pulse */
.button.primary {
  animation: aliveCtaPulse 3.4s ease-in-out infinite;
}

/* Episode archive link buttons — smaller, softer, muted pink */
.button.episode-archive-link {
  font-size: 0.78rem;
  padding: 8px 16px;
  min-height: 36px;
  background: rgba(185, 93, 120, 0.12);
  color: #3a0928;
  border-color: rgba(185, 93, 120, 0.3);
  animation: softPinkPulse 5.4s ease-in-out infinite;
  border-radius: 999px;
}
.button.episode-archive-link:hover {
  background: rgba(185, 93, 120, 0.22);
  border-color: rgba(185, 93, 120, 0.5);
}

/* All secondary buttons get a subtle version of the glow */
.button.secondary {
  animation: aliveCtaPulse 4.8s ease-in-out infinite;
}

/* Game cards and fun-shelf cards get the alive pulse on their links */
.fun-shelf-card,
.game-card.is-live {
  animation: softPinkPulse 6s ease-in-out infinite;
}

/* Reduce animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .button.primary,
  .button.secondary,
  .button.episode-archive-link,
  .fun-shelf-card,
  .game-card.is-live {
    animation: none;
  }
}

/* === LAIDIES Brand Polish: homepage modules === */
.fun-shelf {
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 220, 224, 0.34), transparent 24rem),
    linear-gradient(170deg, rgba(255, 253, 251, 0.98), rgba(247, 238, 238, 0.92) 46%, rgba(232, 197, 200, 0.24));
}

.fun-shelf-card {
  border: 1px solid rgba(75, 33, 72, 0.18);
  background: rgba(255, 253, 251, 0.88);
  box-shadow: 0 20px 44px rgba(75, 33, 72, 0.12);
  animation: none;
}

.fun-shelf-card:hover,
.fun-shelf-card:focus-visible {
  border-color: rgba(111, 38, 63, 0.38);
  box-shadow: 0 24px 52px rgba(75, 33, 72, 0.16);
}

.fun-shelf-card img {
  border-bottom: 1px solid rgba(75, 33, 72, 0.16);
}

.community-room-preview span {
  border-color: rgba(75, 33, 72, 0.2);
  background: rgba(255, 253, 251, 0.72);
  color: var(--wine);
}

.community-teaser-image img,
.reference-closet-teaser-image img {
  border: 1px solid rgba(75, 33, 72, 0.18);
  box-shadow: 0 20px 44px rgba(75, 33, 72, 0.12);
}

.button.primary,
.button.secondary,
.button.episode-archive-link {
  animation: none;
}

.button.episode-archive-link {
  background: rgba(255, 253, 251, 0.72);
  border-color: rgba(75, 33, 72, 0.2);
  color: var(--wine);
}

.button.episode-archive-link:hover {
  background: rgba(232, 197, 200, 0.22);
  border-color: rgba(111, 38, 63, 0.36);
}
