/* ============================================================
   PetFinds — petfinds.org
   Weekly trending pet gear, curated by the Pet Translator team
   ============================================================ */

:root {
  --primary: #0066FF;
  --bg: #EEF1F4;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --muted: #5A6070;
  --amazon: #FF9900;
  --radius-card: 14px;
  --radius-btn: 8px;
  --maxw: 1180px;
  --shadow-card: 0 8px 24px rgba(26, 26, 46, .06);
  --shadow-card-hover: 0 16px 40px rgba(26, 26, 46, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Mulish", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: "Poppins", system-ui, sans-serif; line-height: 1.1; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: var(--radius-btn);
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(0, 102, 255, .35); }
.btn--primary:hover { box-shadow: 0 10px 26px rgba(0, 102, 255, .45); }

.btn--ghost { background: transparent; color: var(--muted); border-color: transparent; font-weight: 600; box-shadow: none; }
.btn--ghost:hover { color: #FF0000; border-color: #FF0000; }
.btn--ghost .btn__yt { color: #FF0000; }

/* YouTube red stays; glow toned to ~half spread/opacity so it's a gentle
   accent against the brand blue, not a neon bloom. */
.btn--yt { background: #FF0000; color: #fff; box-shadow: 0 4px 11px rgba(255, 0, 0, .15); }
.btn--yt:hover { box-shadow: 0 6px 15px rgba(255, 0, 0, .22); }

/* TikTok: secondary/outline treatment on the dark banner so YouTube stays
   primary. Same height/shape as .btn (inherits padding + radius). */
.btn--tiktok {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn--tiktok:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn__tiktok { flex: none; }

.btn--amazon { background: var(--amazon); color: #1A1A2E; box-shadow: 0 4px 12px rgba(255, 153, 0, .35); width: 100%; padding: .7rem 1rem; }
.btn--amazon:hover { background: #f08c00; box-shadow: 0 8px 20px rgba(255, 153, 0, .45); }

.btn__yt { flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 241, 244, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav__logo { display: flex; align-items: center; gap: .5rem; flex: none; }
.nav__logo-mark { display: inline-flex; }
.nav__logo-mark svg { transition: transform .3s ease; }
.nav__logo:hover .nav__logo-mark svg { transform: rotate(-12deg) scale(1.08); }
.nav__logo-text { font-family: "Poppins", sans-serif; font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.nav__logo-accent { color: var(--primary); }

.nav__links { display: flex; gap: 1.15rem; margin-left: auto; flex-wrap: wrap; }
/* Wrapper holding the JS-built section links. display:contents flattens its
   anchors into the parent flex row, so the static sibling "Guides" link shares
   the same gap/styling and isn't wiped when the section links re-render. */
.nav__static-group { display: contents; }
.nav__links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding: .2rem 0;
  transition: color .15s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__badge {
  flex: none;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .38rem .7rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, .3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: max(440px, 50vh);
  padding: clamp(2rem, 3vw, 3rem) 1.25rem;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #E8F0FF 0%, #EEF1F4 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

/* Depth watermarks — static, very faint, behind paws and content */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  background: var(--primary);
  opacity: .04;
  pointer-events: none;
  z-index: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero::before { top: -25px;    left:  -30px; transform: rotate(-15deg); }
.hero::after  { bottom: -25px; right: -30px; transform: rotate(25deg); }

/* Floating paw prints — scattered, organic drift */
.hero__paws { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__paw {
  position: absolute;
  opacity: 0;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* 14 paws: random left, bottom, size, duration, delay, opacity, and drift variant */
.hero__paw--1  { left:  3%; bottom: 10%; width: 28px; height: 28px; --paw-op: .14; animation: paw-float-b 13s  0s linear infinite; }
.hero__paw--2  { left: 10%; bottom: -5%; width: 22px; height: 22px; --paw-op: .20; animation: paw-float-a 11s  4s linear infinite; }
.hero__paw--3  { left: 17%; bottom: 55%; width: 36px; height: 36px; --paw-op: .15; animation: paw-float-c 17s  2s linear infinite; }
.hero__paw--4  { left: 25%; bottom: -8%; width: 44px; height: 44px; --paw-op: .19; animation: paw-float-d 12s  7s linear infinite; }
.hero__paw--5  { left: 33%; bottom: 30%; width: 24px; height: 24px; --paw-op: .13; animation: paw-float-a 19s  1s linear infinite; }
.hero__paw--6  { left: 41%; bottom: 62%; width: 32px; height: 32px; --paw-op: .22; animation: paw-float-b 10s  9s linear infinite; }
.hero__paw--7  { left: 49%; bottom: -5%; width: 20px; height: 20px; --paw-op: .16; animation: paw-float-c 15s  5s linear infinite; }
.hero__paw--8  { left: 57%; bottom: 38%; width: 48px; height: 48px; --paw-op: .13; animation: paw-float-d 18s  0s linear infinite; }
.hero__paw--9  { left: 64%; bottom: 18%; width: 26px; height: 26px; --paw-op: .21; animation: paw-float-a 13s  6s linear infinite; }
.hero__paw--10 { left: 71%; bottom: -8%; width: 38px; height: 38px; --paw-op: .17; animation: paw-float-b 11s 11s linear infinite; }
.hero__paw--11 { left: 79%; bottom: 48%; width: 30px; height: 30px; --paw-op: .14; animation: paw-float-c 16s  3s linear infinite; }
.hero__paw--12 { left: 85%; bottom:  5%; width: 42px; height: 42px; --paw-op: .19; animation: paw-float-d 20s  8s linear infinite; }
.hero__paw--13 { left: 91%; bottom: 68%; width: 24px; height: 24px; --paw-op: .12; animation: paw-float-a 12s 10s linear infinite; }
.hero__paw--14 { left: 96%; bottom: 23%; width: 34px; height: 34px; --paw-op: .22; animation: paw-float-b 14s  2s linear infinite; }

@keyframes paw-float-a {
  0%   { transform: translateY(0)      translateX(  0px) rotate(-15deg); opacity: 0; }
  12%  {                                                                  opacity: var(--paw-op, .17); }
  40%  { transform: translateY(-100px) translateX( 22px) rotate(  6deg); }
  70%  { transform: translateY(-210px) translateX(-14px) rotate(-10deg); }
  88%  {                                                                  opacity: var(--paw-op, .17); }
  100% { transform: translateY(-340px) translateX(  8px) rotate(  8deg); opacity: 0; }
}
@keyframes paw-float-b {
  0%   { transform: translateY(0)      translateX(  0px) rotate( 10deg); opacity: 0; }
  12%  {                                                                  opacity: var(--paw-op, .17); }
  35%  { transform: translateY( -90px) translateX(-28px) rotate( -8deg); }
  65%  { transform: translateY(-200px) translateX( 18px) rotate( 14deg); }
  88%  {                                                                  opacity: var(--paw-op, .17); }
  100% { transform: translateY(-320px) translateX(-10px) rotate(-20deg); opacity: 0; }
}
@keyframes paw-float-c {
  0%   { transform: translateY(0)      translateX(  0px) rotate( -5deg); opacity: 0; }
  12%  {                                                                  opacity: var(--paw-op, .17); }
  30%  { transform: translateY( -80px) translateX( 15px) rotate( 18deg); }
  60%  { transform: translateY(-185px) translateX(-20px) rotate( -4deg); }
  88%  {                                                                  opacity: var(--paw-op, .17); }
  100% { transform: translateY(-305px) translateX( 12px) rotate( 10deg); opacity: 0; }
}
@keyframes paw-float-d {
  0%   { transform: translateY(0)      translateX(  0px) rotate( 18deg); opacity: 0; }
  12%  {                                                                  opacity: var(--paw-op, .17); }
  45%  { transform: translateY(-115px) translateX(-25px) rotate(-15deg); }
  75%  { transform: translateY(-240px) translateX( 10px) rotate(  5deg); }
  88%  {                                                                  opacity: var(--paw-op, .17); }
  100% { transform: translateY(-360px) translateX(-15px) rotate( -8deg); opacity: 0; }
}

/* Tag pill — above the headline */
.hero__tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0, 102, 255, .2);
  border-radius: 30px;
  padding: .45rem 1.1rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 14px rgba(0, 102, 255, .1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}
.hero__tag-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
  animation: pulse-dot 1.8s infinite;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  letter-spacing: -.02em;
  margin-bottom: .85rem;
}
.hero__title-accent { color: var(--primary); }
.hero__sub {
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 1.6rem;
  font-weight: 500;
}
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* Trust strip — below CTA buttons */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin-top: 1.5rem;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero__trust-icon { flex: none; color: var(--primary); }
.hero__trust-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #C8CDD8;
  flex: none;
}

/* Scroll cue */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  animation: scroll-bob 2s ease-in-out infinite;
}
.hero__scroll--hidden {
  opacity: 0;
  pointer-events: none;
}
.hero__scroll-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8A90A0;
  line-height: 1;
  transition: color 0.15s ease;
}
.hero__scroll-icon {
  width: 30px;
  height: 18px;
  color: #B0B8CC;
  transition: color 0.15s ease;
}
.hero__scroll:hover .hero__scroll-label { color: #6A7080; }
.hero__scroll:hover .hero__scroll-icon  { color: #8A90A0; }
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ---------- Trending ticker ---------- */
.ticker {
  position: relative;
  background: #0066FF;
  padding: 15px 0;
  overflow: hidden;
}
/* 60px blue-to-transparent fade on each edge */
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left:  0; background: linear-gradient(to right, #0066FF, transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,  #0066FF, transparent); }

.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  /* Size to the full doubled content so translateX(-50%) equals exactly one
     set. Use max-content, NOT fit-content: fit-content clamps the box to the
     viewport width while the nowrap content overflows, so -50% falls short and
     the loop visibly gaps/jumps at the reset. */
  width: max-content;
  animation: ticker-scroll 64s linear infinite;
}
/* Pause the marquee while the pointer is over it. */
.ticker__track:hover { animation-play-state: paused; }

/* "Trending now" tag */
.ticker__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .22);
  border-radius: 6px;
  padding: 4px 11px;
  flex: none;
}
.ticker__tag-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7FFFB0;
  flex: none;
  animation: ticker-tag-pulse 1.5s ease-in-out infinite;
}
.ticker__tag-text {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

/* Vertical bar separator between tag and items */
.ticker__sep {
  width: 2px;
  height: 16px;
  background: rgba(255, 255, 255, .3);
  border-radius: 1px;
  flex: none;
  margin: 0 22px;
}

/* Each animal ticker item */
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex: none;
}
.ticker__item-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: none;
}
.ticker__item-label {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  line-height: 1;
}
.ticker__item-text {
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  line-height: 1;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ticker-tag-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ---------- Category sections ---------- */
.cat-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cat-section__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section-hidden { display: none; }

/* Single animal-mark watermark, upper-right of each section */
.cat-section__inner::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  right: -1.5rem;
  width: clamp(300px, 38vw, 460px);
  height: clamp(300px, 38vw, 460px);
  background: var(--primary);
  opacity: .055;
  pointer-events: none;
  z-index: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Per-section watermarks — only the mask shape changes; all other styles inherit */
#cats .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='43' rx='12' ry='10'/%3E%3Ccircle cx='16' cy='27' r='5.5'/%3E%3Ccircle cx='26' cy='20' r='5'/%3E%3Ccircle cx='35' cy='20' r='5'/%3E%3Ccircle cx='44' cy='27' r='5.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='43' rx='12' ry='10'/%3E%3Ccircle cx='16' cy='27' r='5.5'/%3E%3Ccircle cx='26' cy='20' r='5'/%3E%3Ccircle cx='35' cy='20' r='5'/%3E%3Ccircle cx='44' cy='27' r='5.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
#horses .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M 3,32 A 27,27,0,0,1,57,32 L 47,32 A 17,17,0,0,0,13,32 Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M 3,32 A 27,27,0,0,1,57,32 L 47,32 A 17,17,0,0,0,13,32 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#birds .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='40' r='3'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5' transform='rotate(-38,30,40)'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5' transform='rotate(38,30,40)'/%3E%3Crect x='28.5' y='40' width='3' height='14' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='40' r='3'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5' transform='rotate(-38,30,40)'/%3E%3Crect x='28.5' y='10' width='3' height='30' rx='1.5' transform='rotate(38,30,40)'/%3E%3Crect x='28.5' y='40' width='3' height='14' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
#smallpets .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='46' rx='6' ry='5'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(-50,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(-25,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(25,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(50,30,46)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='46' rx='6' ry='5'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(-50,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(-25,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(25,30,46)'/%3E%3Cellipse cx='30' cy='27' rx='2' ry='9' transform='rotate(50,30,46)'/%3E%3C/svg%3E") center / contain no-repeat;
}
#fish .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='25' cy='30' rx='16' ry='11'/%3E%3Cellipse cx='20' cy='20' rx='7' ry='4' transform='rotate(-15,20,20)'/%3E%3Cpolygon points='40,30 57,20 52,30 57,40'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='25' cy='30' rx='16' ry='11'/%3E%3Cellipse cx='20' cy='20' rx='7' ry='4' transform='rotate(-15,20,20)'/%3E%3Cpolygon points='40,30 57,20 52,30 57,40'/%3E%3C/svg%3E") center / contain no-repeat;
}
#reptiles .cat-section__inner::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='45' rx='6' ry='5'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(-60,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(-30,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(30,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(60,30,45)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='45' rx='6' ry='5'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(-60,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(-30,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(30,30,45)'/%3E%3Cellipse cx='30' cy='26' rx='2.5' ry='10' transform='rotate(60,30,45)'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Section header — typography-only ---------- */
.section-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 14px;
}
.section-header__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.section-header__kicker {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  line-height: 1;
}
.section-header__title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header__title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 0.95;
}
.section-header__count {
  font-size: 14px;
  font-weight: 700;
  color: #8A90A0;
  white-space: nowrap;
  line-height: 1;
  padding-bottom: 3px;
}
.section-header__see-all {
  flex: none;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid rgba(0, 102, 255, .2);
  border-radius: 10px;
  padding: 9px 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.section-header__see-all:hover {
  background: #E8F0FF;
  border-color: var(--primary);
}

/* ---------- Section scroll arrows ---------- */
.section-header__arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.scroll-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  flex: none;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.scroll-arrow:hover { background: var(--primary); color: #fff; }
.scroll-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.scroll-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8A90A0;
  font-style: italic;
}

/* ---------- Section divider ---------- */
.section-divider {
  position: relative;
  z-index: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #0066FF 18%, #E0E4EE 18%);
  margin-bottom: 28px;
}

/* ---------- Card grid ---------- */
.card-grid, .empty-note { position: relative; z-index: 1; }
.card-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.card-grid::-webkit-scrollbar { display: none; }
.card-grid--scrollable { cursor: grab; }
.card-grid--scrollable.is-dragging { cursor: grabbing; user-select: none; }
.empty-note {
  color: var(--muted);
  font-style: italic;
  background: rgba(255, 255, 255, .6);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  text-align: center;
  margin: 0;
}

/* ---------- Product card ---------- */
.card {
  flex: 0 0 260px;
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26, 26, 46, .12); }

/* Card image area — clean gradient background, no pattern overlay */
.card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #E8F0FF, #F0F4FF);
  position: relative;
  overflow: hidden;
}
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform .35s ease;
}
.card:hover .card__img { transform: scale(1.05); }

/* Text placeholder shown when no product image is provided */
.card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__placeholder-text {
  position: relative;
  z-index: 1;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  opacity: .4;
  letter-spacing: .04em;
  user-select: none;
  transition: opacity .2s ease;
}
.card:hover .card__placeholder-text { opacity: .65; }

/* Badge chips overlaid top-left on the image */
.card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}
.badge {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  line-height: 1;
}
.badge--worth-it      { background: #E3F4E8; color: #1E7A3D; }
.badge--wait-for-sale { background: #FFF0DB; color: #9A6300; }
.badge--trending      { background: #E6EEFF; color: #0047B3; }
.badge--new-find      { background: #F3E8FF; color: #6B23B6; }

.card__body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__name { font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }

/* Speech-bubble style: left blue border + light blue bg */
.card__quote {
  margin: 0;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid rgba(0, 102, 255, .35);
  padding: .55rem .8rem;
  font-size: .96rem;
  background: rgba(0, 102, 255, .05);
  border-radius: 0 6px 6px 0;
}
.card__credit { display: block; font-style: normal; color: var(--muted); font-size: .82rem; margin-top: .35rem; }

.card__foot { margin-top: auto; display: flex; flex-direction: column; gap: .7rem; }
.card__price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.4rem; }

/* ---------- YouTube strip ---------- */
.yt-strip { padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem; }
.yt-strip__inner {
  position: relative;
  overflow: hidden;
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2150 100%);
  border-radius: 22px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  flex-wrap: wrap;
  color: #fff;
}
/* Single faint paw motif (same mask as the hero paws) tucked into the
   bottom-right corner as brand texture. Very low opacity so it never sits
   in front of the text or reduces contrast. */
.yt-strip__inner::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 190px;
  height: 190px;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  transform: rotate(18deg);
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='40' rx='13' ry='11'/%3E%3Cellipse cx='14' cy='24' rx='5.5' ry='7.5'/%3E%3Cellipse cx='24' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='36' cy='15' rx='5.5' ry='7.5'/%3E%3Cellipse cx='46' cy='24' rx='5.5' ry='7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Keep text + buttons above the paw texture. */
.yt-strip__text { position: relative; z-index: 1; }
.yt-strip__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.yt-strip__kicker {
  display: inline-block;
  color: #FF6B6B;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.yt-strip__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 900; }
.yt-strip__sub { color: rgba(255, 255, 255, .8); margin: .7rem 0 0; max-width: 52ch; }

/* ---------- Announcement band ---------- */
/* Full-width blue band so it reads as anchored, not a floating pill. */
.weekly-banner { background: var(--primary); padding: .85rem 1.25rem; }
.weekly-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .7rem;
  justify-content: center;
  text-align: center;
}
.weekly-banner__text { margin: 0; font-weight: 600; font-size: .95rem; }
.weekly-banner__icon { flex: none; display: block; color: #fff; }

/* ---------- Footer ---------- */
/* One cohesive centered block: a single flex column with uniform vertical
   rhythm (gap) instead of scattered per-element margins + dead air. */
.footer { padding: clamp(2rem, 5vw, 3rem) 1.25rem 2rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.footer__logo { font-size: 1.8rem; }
.footer__tag { color: var(--muted); max-width: 46ch; margin: 0; }

/* Section links (dynamic) — plain text row. */
.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 0;
}
.footer__nav a { color: var(--text); font-weight: 600; transition: color .15s ease; }
.footer__nav a:hover { color: var(--primary); }

/* Social — small icon buttons, visually distinct from the text nav. */
.footer__social { display: flex; justify-content: center; gap: .6rem; }
.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(26, 26, 46, .12);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer__social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer__social-icon { display: block; }

/* Hairline separating the legal block from everything above it. */
.footer__divider {
  width: 100%;
  max-width: 60ch;
  height: 1px;
  border: 0;
  background: rgba(26, 26, 46, .12);
  margin: .3rem auto;
}

.footer__disclosure {
  color: #4A5060;
  font-size: .85rem;
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.7;
}
.footer__copy { color: var(--muted); font-size: .85rem; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }

  .nav__toggle { display: flex; }
  .nav__badge { order: 2; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    padding: .5rem 1.25rem 1.1rem;
    margin: 0;
    box-shadow: 0 12px 24px rgba(26, 26, 46, .1);
    display: none;
  }
  .nav-open .nav__links { display: flex; }
  .nav__links a { padding: .7rem 0; border-bottom: 1px solid rgba(26, 26, 46, .06); width: 100%; }
  .nav__links a::after { display: none; }

  .nav-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .section-header__title { font-size: 34px; letter-spacing: -1px; }
  .yt-strip__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .card { flex-basis: 240px; }
}

@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  .weekly-banner__inner { flex-direction: column; }
  .section-header__title { font-size: 28px; letter-spacing: -.5px; }
  .section-header__see-all { display: none; }
  .hero__trust-sep { display: none; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}
