:root {
  color-scheme: dark;
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(
      circle at top left,
      rgba(14, 165, 233, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at right center,
      rgba(244, 114, 182, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

@keyframes rise-in {
  from {
    transform: translateY(18px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes pulse-pop {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(56, 189, 248, 0.09);
  }
}

@keyframes slide-across {
  0% {
    transform: translateX(-8px);
    opacity: 0.18;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-rise-in {
  animation: rise-in 0.35s ease both;
}

.animate-pulse-pop {
  animation: pulse-pop 1.1s ease-in-out infinite;
}

.animate-slide-across {
  animation: slide-across 0.28s ease both;
}

.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.scrollbar-thin::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
