/* ==========================================================================
   SparkyBites — brand tokens
   Palette pulled directly from the original site + Sparky's ref sheet
   ========================================================================== */
:root {
  --bg-deep:    #221236;
  --bg-mid:     #3D1E55;
  --card:       #8858ED;
  --card-deep:  #6a3fc4;
  --cream:      #F9E8D8;
  --taupe:      #AA8A7D;
  --mauve:      #8B6564;
  --brown:      #674543;
  --plum:       #3F232F;
  --teal:       #41BAC7;
  --pale-yellow:#FDE9AE;
  --pink:       #FF2EB0;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--cream);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img.brand-icon {
  height: 64px;
  width: auto;
  object-fit: contain;
  align-self: flex-end;
}
.brand img:not(.brand-icon) { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 22px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-yt {
  background: #FF0033;
  color: white;
  box-shadow: 0 4px 0 #b8001f;
}
.btn-yt:hover { box-shadow: 0 6px 0 #b8001f; }

.btn-cream {
  background: var(--cream);
  color: var(--card-deep);
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}
.btn-cream:hover { box-shadow: 0 6px 0 rgba(0,0,0,0.2); }

.icon-yt { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(34,18,54,0.25) 0%, rgba(34,18,54,0.05) 55%, rgba(34,18,54,0.35) 100%),
    url('../images/hero-bg.avif');
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  padding: 64px 0 80px;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 25%, white, transparent),
    radial-gradient(1.5px 1.5px at 75% 15%, white, transparent),
    radial-gradient(1px 1px at 60% 60%, white, transparent),
    radial-gradient(1px 1px at 90% 40%, white, transparent),
    radial-gradient(1.5px 1.5px at 35% 80%, white, transparent),
    radial-gradient(1px 1px at 10% 65%, white, transparent),
    radial-gradient(1px 1px at 50% 10%, white, transparent);
  opacity: 0.5;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.3; }
  to   { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .stars { animation: none; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1500px;
}

.hero-card {
  background: linear-gradient(155deg, var(--card) 0%, var(--card-deep) 100%);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0 0 6px;
}

.hero-card h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 20px;
  color: white;
}

.hero-card p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-cta-row img { height: 260px; width: auto; }

.hero-art {
  position: relative;
  display: inline-block;
  max-width: 100%;
  justify-self: center;
}

.hero-art img {
  width: 100%;
  max-width: 930px;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.4));
}

/* ---------- Testimonial banners ---------- */
.banner {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  max-height: 460px;
}
.banner-head    { aspect-ratio: 3818 / 902; }
.banner-flatlay { aspect-ratio: 3818 / 764; }
.banner-paws    { aspect-ratio: 3818 / 908; }

.banner-quote {
  background: var(--bg-mid);
  padding: 22px 24px 26px;
  text-align: center;
}

.banner-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  max-width: 720px;
  margin: 0 auto 4px;
  color: var(--cream);
}

.banner-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ---------- Watch section ---------- */
.watch {
  padding: 88px 0;
  text-align: center;
  background: var(--bg-deep);
}

.watch h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.watch p.lede {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--taupe);
  font-size: 1.05rem;
}

.watch-card {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(155deg, var(--card) 0%, var(--card-deep) 100%);
  border-radius: 20px;
  padding: 28px 32px;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform 0.15s ease;
}
.watch-card:hover { transform: translateY(-3px); }

.watch-card-play {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FF0033;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.watch-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.watch-card-text strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: white;
}
.watch-card-text span {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

@media (max-width: 500px) {
  .watch-card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .watch-card-text { text-align: center; }
}

.watch-embed {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  aspect-ratio: 16/9;
  background: #000;
}

.watch-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.watch .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 1px;
}

.footer-overlay {
  background: linear-gradient(180deg, rgba(34,18,54,0.55) 0%, rgba(34,18,54,0.92) 60%, var(--bg-deep) 100%);
  padding: 64px 0 32px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand img { height: 30px; margin-bottom: 10px; }
.footer-brand p { color: var(--taupe); max-width: 320px; margin: 0; font-size: 0.95rem; }

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0 0 12px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; color: var(--cream); opacity: 0.85; }
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--taupe);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 540px; }
  .hero-card h1 { font-size: 2.4rem; }
  .wrap { padding: 0 20px; }

  .nav-inner {
    flex-wrap: wrap;
    padding: 12px 20px;
    row-gap: 10px;
  }
  .brand { order: 1; }
  .btn-yt { order: 2; padding: 9px 16px; font-size: 0.9rem; }
  .nav-links-wrap { order: 3; width: 100%; }
  .nav-links {
    justify-content: center;
    gap: 24px;
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .hero-card { padding: 32px 24px; }
  .hero-card h1 { font-size: 2rem; }
}
