﻿/* WhereTooEat — discovery cinematic seams + heat chapters (phase 1)
   Linked after dish-carousel.css. Does not edit carousel JS.
   Cards/CTAs keep strong gold borders; section hairlines become washes.
*/

.discovery-stack {
  border-top: 0 !important;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, rgba(255, 194, 74, 0.13), transparent 58%),
    radial-gradient(ellipse 70% 28% at 80% 42%, rgba(255, 170, 60, 0.05), transparent 55%),
    linear-gradient(180deg, #061822 0%, #0a2434 32%, #0c1e28 58%, #07141c 100%);
  isolation: isolate;
}

/* Kill Signature hairline without editing dish-carousel.css */
.discovery-stack .disc-dish-carousel,
.disc-section.disc-dish-carousel {
  border-bottom: 0 !important;
  border-top: 0 !important;
}

/* Exclusive / Featured: no hard chapter strokes */
.discovery-stack .premium-showcase,
.discovery-stack .disc-exclusive.premium-showcase {
  border-top: 0 !important;
}

.discovery-stack .featured-showcase,
.discovery-stack .disc-featured.featured-showcase {
  border-top: 0 !important;
}

.site-footer,
footer.site-footer {
  border-top: 0 !important;
}

/* --- Section seams: gradient wash + optional fog --- */
.discovery-stack .disc-section {
  position: relative;
  border-bottom: 0 !important;
  overflow: hidden;
}

.discovery-stack .disc-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 24, 34, 0.35) 45%,
    rgba(7, 20, 28, 0.72) 100%
  );
}

/* Heat chapter washes (rising warmth toward Exclusive, then cool-down) */
.discovery-stack .disc-promoted {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 194, 74, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(6, 24, 34, 0.2), rgba(8, 32, 48, 0.15));
}

.discovery-stack .disc-dish-carousel {
  background:
    radial-gradient(ellipse 85% 55% at 50% 10%, rgba(255, 194, 74, 0.11), transparent 58%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(255, 220, 160, 0.04), transparent 70%),
    linear-gradient(180deg, rgba(10, 28, 40, 0.25), rgba(12, 26, 34, 0.2));
}

.discovery-stack .disc-promoted-near {
  background:
    radial-gradient(ellipse 75% 45% at 50% 0%, rgba(255, 194, 74, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(10, 30, 40, 0.22), rgba(8, 28, 38, 0.18));
}

/* reviewfix P2-6: Exclusive background owned by uifix-8765.css section 3 */

/* Featured: warm gold chapter (not cyan cut) */
.discovery-stack .disc-featured.featured-showcase,
.discovery-stack .featured-showcase {
  /* reviewfix P2-6: background removed (transparent-fire-8765.css makes Featured transparent) */
}

.discovery-stack .featured-showcase .premium-kicker {
  color: rgba(255, 210, 122, 0.85) !important;
}

.discovery-stack .featured-showcase .premium-showcase-head h2,
.discovery-stack .featured-showcase .disc-head h2 {
  color: var(--gold-soft, #ffd27a) !important;
}

.discovery-stack .disc-newest {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 194, 74, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(6, 24, 34, 0.35), rgba(7, 20, 28, 0.5));
}

/* Fog / steam band — food chapters only */
.discovery-stack .disc-promoted::before,
.discovery-stack .disc-dish-carousel::before,
.discovery-stack .disc-promoted-near::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8px;
  height: 36px;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 50% 80% at 35% 50%, rgba(255, 255, 255, 0.035), transparent 70%),
    radial-gradient(ellipse 45% 70% at 65% 60%, rgba(255, 220, 170, 0.03), transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
}

/* Keep content above seam layers */
.discovery-stack .disc-section > * {
  position: relative;
  z-index: 3;
}

/* Parallax gold ribbon shimmer on Signature edges */
.discovery-stack .disc-dish-carousel .dish-parallax-layer--mid {
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 194, 74, 0.07) 50%, transparent 62%),
    linear-gradient(180deg, transparent 0%, rgba(255, 194, 74, 0.04) 48%, transparent 100%) !important;
  opacity: 0.95;
}

/* Scroll-cue = only chapter break UI between Signature and Near you */
.premium-scroll-cue {
  border: 0 !important;
  width: auto !important;
  max-width: max-content;
  margin: -4px auto 8px !important;
  padding: 10px 18px 12px !important;
  position: relative;
  z-index: 4;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 194, 74, 0.22), 0 10px 28px #0006;
  backdrop-filter: blur(8px);
}

/* Footer: wash seam instead of hard gold rule */
.site-footer,
footer.site-footer {
  background:
    linear-gradient(180deg, rgba(7, 20, 28, 0) 0%, rgba(6, 24, 34, 0.85) 18%, #0a2434 55%, #07141c 100%),
    linear-gradient(180deg, #061822 0%, #0a2434 55%, #07141c 100%) !important;
  box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .discovery-stack .disc-promoted::before,
  .discovery-stack .disc-dish-carousel::before,
  .discovery-stack .disc-promoted-near::before {
    filter: none;
    opacity: 0.45;
  }
  .premium-scroll-cue span {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .discovery-stack .disc-section::after {
    height: 48px;
  }
  .premium-scroll-cue {
    font-size: 11px;
    padding: 9px 14px 10px !important;
  }
}
