@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Syne:wght@400..800&display=swap');

:root {
  --font-inter: "Inter", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-syne: "Syne", sans-serif;
  --font-mono: "Space Mono", monospace;
  --color-brand-pink: #FF2D75;
  --color-brand-cream: #F5F5F0;
  --color-brand-cream-dark: #EBEBE6;
  --color-brand-charcoal: #1A1A1A;
}

/* Custom design scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.6);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-inter);
  overflow-x: hidden;
}

/* Base fade-in animations or utility styles if needed */
.grid-paper {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.grid-paper-dark {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Custom marquee animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-33.33333%); }
}

.animate-marquee-scroll {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* Smooth fade transitions for page reload */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Calm Button Pulse */
@keyframes calmPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(26, 26, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
  }
}

.btn-pulse-calm {
  animation: calmPulse 2s infinite ease-in-out;
}

/* Chaos Button Pulse */
@keyframes chaosPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.6);
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 45, 117, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 117, 0);
    transform: scale(1);
  }
}

.btn-pulse-chaos {
  animation: chaosPulse 1.8s infinite ease-in-out;
}

/* CSS Shimmer Animation for Neutral/Interactions */
@keyframes shimmerAnim {
  0% {
    transform: translateX(-150%) skewX(-15deg);
  }
  100% {
    transform: translateX(150%) skewX(-15deg);
  }
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 45, 117, 0.15) 20%,
    rgba(255, 45, 117, 0.3) 50%,
    rgba(255, 45, 117, 0.15) 80%,
    transparent
  );
  transform: translateX(-150%) skewX(-15deg);
  animation: shimmerAnim 4s infinite linear;
  pointer-events: none;
}

/* Elastic Pop on Hover */
.elastic-pop {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

.elastic-pop:hover {
  transform: scale(1.08) translateY(-1px);
}


