@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --theme-bg: #eae0cf;
  --theme-primary: #1c2a3a;
  --theme-text: #1c2a3a;
  --theme-secondary: #5c7c8a;
  --theme-border: #d1cec7;
  --theme-card: #f9f7f5;
  --apple-bg: var(--theme-bg);
  --apple-text: var(--theme-text);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--apple-bg);
  color: var(--apple-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-heading {
  font-family: "Fraunces", serif;
  letter-spacing: -0.01em;
}

/* --- Infinite Marquee Logic --- */
.marquee-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content,
.marquee-content-reverse {
  display: flex;
  gap: 1.5rem;
  width: max-content; /* Prevents wrapping */
}

.marquee-content {
  animation: scroll-left 60s linear infinite;
}

.marquee-content-reverse {
  animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-content:hover,
.marquee-content-reverse:hover {
  animation-play-state: paused;
}

/* --- Premium Large Category Pills --- */
.category-pill {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(28, 42, 58, 0.1);
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.category-pill span {
  color: #1c2a3a;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.category-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.category-pill:hover {
  transform: translateY(-5px) scale(1.02);
  background: #ffffff;
  border-color: #1c2a3a;
}

/* --- Utilities --- */
.hero-doodle {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
