/* [project]/apps/web/src/app/(main)/globals.css [app-client] (css) */
body {
  background-color: #05050b;
  font-family: Inter, sans-serif;
  position: relative;
}

html:before {
  content: "";
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(70% 45% at 15% -5%, #6366f16b, #0000 60%), radial-gradient(55% 45% at 85% 5%, #06ffa538, #0000 60%), radial-gradient(60% 45% at 50% 100%, #8b5cf659, #0000 60%), radial-gradient(40% 35% at 90% 80%, #ec48992e, #0000 60%), radial-gradient(45% 30% at 5% 60%, #6366f138, #0000 60%), #05050b;
  position: fixed;
  inset: 0;
  transform: translateZ(0);
}

body:before, body:after {
  content: "";
  z-index: -2;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

body:before {
  opacity: .9;
  will-change: opacity;
  background-image: radial-gradient(1.6px 1.6px at 12% 8%, #fff, #0000), radial-gradient(1.2px 1.2px at 28% 42%, #cbd5f5, #0000), radial-gradient(1.8px 1.8px at 46% 18%, #fff, #0000), radial-gradient(1.1px 1.1px at 62% 64%, #a5b4fc, #0000), radial-gradient(1.4px 1.4px at 78% 22%, #fff, #0000), radial-gradient(1px 1px at 8% 78%, #cbd5f5, #0000), radial-gradient(1.6px 1.6px at 92% 48%, #fff, #0000), radial-gradient(1.2px 1.2px at 36% 88%, #a5b4fc, #0000), radial-gradient(1.3px 1.3px at 55% 92%, #fff, #0000), radial-gradient(1px 1px at 70% 8%, #cbd5f5, #0000), radial-gradient(1.5px 1.5px at 18% 60%, #fff, #0000), radial-gradient(1.1px 1.1px at 84% 74%, #a5b4fc, #0000);
  background-repeat: repeat;
  background-size: 260px 260px;
  animation: 4s ease-in-out infinite alternate star-twinkle;
}

body:after {
  opacity: .7;
  background-image: radial-gradient(1px 1px at 24% 30%, #6366f1, #0000), radial-gradient(1.2px 1.2px at 66%, #06ffa5, #0000), radial-gradient(.8px .8px at 40% 74%, #fff, #0000), radial-gradient(1px 1px at 88% 16%, #8b5cf6, #0000), radial-gradient(.9px .9px at 10% 46%, #fff, #0000), radial-gradient(1.1px 1.1px at 58% 10%, #06ffa5, #0000);
  background-position: 40px 60px;
  background-repeat: repeat;
  background-size: 220px 220px;
}

@keyframes star-twinkle {
  0% {
    opacity: .6;
  }

  100% {
    opacity: 1;
  }
}

@keyframes star-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -220px 220px;
  }
}

.galaxy-sparkles {
  z-index: -1;
  pointer-events: none;
  contain: strict;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.sparkle {
  will-change: transform, opacity;
  background: #fff;
  border-radius: 999px;
  animation-name: sparkle-pulse;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  position: absolute;
}

@keyframes sparkle-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(.4);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.orbit-system {
  z-index: -1;
  pointer-events: none;
  width: 640px;
  height: 640px;
  position: fixed;
  top: -160px;
  right: -160px;
}

.orbit-sun {
  background: radial-gradient(circle at 35% 30%, #fff7d6, #ffb454 55%, #ff7a45 100%);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px 10px #ffaa5059;
}

.orbit {
  will-change: transform;
  border: 1px solid #ffffff0f;
  border-radius: 50%;
  animation: linear infinite orbit-spin;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit .planet {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
}

.orbit .planet.has-ring:after {
  content: "";
  border: 1.5px solid #e2be82a6;
  border-radius: 50%;
  width: 220%;
  height: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)rotate(-20deg);
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%)rotate(0);
  }

  to {
    transform: translate(-50%, -50%)rotate(360deg);
  }
}

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

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: #2a2a4a;
  border: 2px solid #0a0a0f;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6366f1;
}

html {
  scrollbar-color: #2a2a4a #0a0a0f;
  scrollbar-width: thin;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline-offset: 2px;
  border-radius: 4px;
  outline: 2px solid #6366f199;
}

.glass {
  background: #1a1a2edb;
  border: 1px solid #6366f126;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.glass-hover:hover {
  background: #1a1a2ee6;
  border-color: #6366f166;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px #6366f140;
}

@keyframes page-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.page-in {
  animation: .15s ease-out page-in;
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.neon-border {
  border: 1px solid #6366f14d;
  box-shadow: 0 0 10px #6366f11a, inset 0 0 10px #6366f10d;
}

.neon-text {
  text-shadow: 0 0 10px #6366f180, 0 0 20px #6366f14d;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #06ffa5);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.gradient-icon {
  background: linear-gradient(135deg, #818cf8, #06ffa5);
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px #6366f173);
  -webkit-background-clip: text;
  background-clip: text;
  transition: filter .25s, transform .25s;
}

.gradient-icon-hover:hover .gradient-icon {
  filter: drop-shadow(0 0 12px #06ffa599);
  transform: scale(1.12)rotate(-8deg);
}

.bg-grid {
  background-image: linear-gradient(#6366f108 1px, #0000 1px), linear-gradient(90deg, #6366f108 1px, #0000 1px);
  background-size: 50px 50px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.btn-nexus {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: all .3s;
}

.btn-nexus:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px #6366f180;
}

.menu-bar {
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  background: #0a0a0fd9;
  border-bottom: 1px solid #6366f11f;
}

.dock {
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  background: #12121a99;
  border: 1px solid #9482ff2e;
  box-shadow: 0 20px 50px -12px #0009, inset 0 1px #ffffff0a;
}

.dock-icon {
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .2s, color .2s;
}

.dock-icon:hover {
  transform: translateY(-6px)scale(1.15);
}

.dock-dot {
  transition: opacity .2s, transform .2s;
}

