@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(1.45); }
}

@keyframes glow {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pageEnter {
  from { opacity: 0; margin-top: 20px; }
  to   { opacity: 1; margin-top: 0; }
}

.anim-fade-up   { animation: fadeInUp    0.45s ease both; }
.anim-fade-down { animation: fadeInDown  0.45s ease both; }
.anim-fade-in   { animation: fadeIn      0.35s ease both; }
.anim-scale-in  { animation: scaleIn     0.35s ease both; }

.anim-delay-1 { animation-delay: 0.05s; }
.anim-delay-2 { animation-delay: 0.10s; }
.anim-delay-3 { animation-delay: 0.15s; }
.anim-delay-4 { animation-delay: 0.20s; }
.anim-delay-5 { animation-delay: 0.25s; }
.anim-delay-6 { animation-delay: 0.30s; }
.anim-delay-7 { animation-delay: 0.35s; }
.anim-delay-8 { animation-delay: 0.40s; }

.anim-pulse { animation: pulse  2s ease-in-out infinite; }
.anim-spin  { animation: spin   1s linear infinite; }

.bg-orbs {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.orb { position: absolute; border-radius: 50%; display: none; }

.bg-minimal .orb-1, .bg-minimal .orb-2 { display: block; }
.bg-minimal .orb-1 {
  width:1150px; height:1150px; top:-415px; inset-inline-start:-385px;
  background: radial-gradient(circle closest-side,
    color-mix(in srgb, var(--brand-a) 20%, transparent) 0%, color-mix(in srgb, var(--brand-a) 13%, transparent) 42%,
    color-mix(in srgb, var(--brand-a) 4%, transparent) 72%, color-mix(in srgb, var(--brand-a) 0%, transparent) 100%);
}
.bg-minimal .orb-2 {
  width:1010px; height:1010px; bottom:-385px; inset-inline-end:-345px;
  background: radial-gradient(circle closest-side,
    rgba(244,114,182,.16) 0%, rgba(236,72,153,.11) 45%,
    rgba(236,72,153,.03) 72%, rgba(236,72,153,0) 100%);
}

.bg-silk.bg-orbs {
  background: linear-gradient(135deg, var(--bg-root) 0%,
    color-mix(in srgb, var(--brand-a) 4%, var(--bg-root)) 45%, color-mix(in srgb, var(--brand-a) 18%, var(--bg-root)) 100%);
}
[data-theme="light"] .bg-silk.bg-orbs {
  background: linear-gradient(135deg, color-mix(in srgb, var(--bg-surface) 55%, var(--bg-root)) 0%,
    var(--bg-root) 45%, color-mix(in srgb, var(--brand-a) 9%, var(--bg-root)) 100%);
}

.bg-dots.bg-orbs {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23FFFFFF' fill-opacity='.14'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 35%, transparent 100%);
}
[data-theme="light"] .bg-dots.bg-orbs {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23000000' fill-opacity='.12'/%3E%3C/svg%3E");
}

.bg-image.bg-orbs::after { content: ""; position: absolute; inset: 0; }

.bg-none.bg-orbs { display: none; }
.bg-none .orb { display: none; }

#fwCanvas {
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
}

.page-enter {
  animation: pageEnter 0.4s ease both;
}

.hover-lift {
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}
.hover-lift:hover {
  transform: translateY(var(--lift));
  box-shadow: var(--shadow-card);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
