@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

/* Custom animated gradient glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.1) translate(20px, -15px); opacity: 0.55; }
  100% { transform: scale(0.95) translate(-10px, 10px); opacity: 0.4; }
}

/* Breathing animation for exercise */
.breathing-circle {
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 4s ease;
}

.breathing-circle.inhale {
  transform: scale(1.6);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.6), 0 0 100px rgba(129, 140, 248, 0.4);
}

.breathing-circle.hold {
  transform: scale(1.6);
  box-shadow: 0 0 60px rgba(167, 139, 250, 0.7), 0 0 110px rgba(99, 102, 241, 0.5);
}

.breathing-circle.exhale {
  transform: scale(1);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Glassmorphism elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dark .glass-panel {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sticky notes in empathy wall */
.sticky-note {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticky-note:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  z-index: 10;
}

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Confetti animation */
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(350px) rotate(720deg); opacity: 0; }
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: confettiFall 2.2s linear forwards;
  pointer-events: none;
}
