html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.glass {
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}

.glow-primary {
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.15);
  border-color: rgba(79, 70, 229, 0.4);
}

@keyframes radar {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.radar-pulse {
  position: absolute;
  border: 1px solid #4f46e5;
  border-radius: 50%;
  opacity: 0;
  animation: radar 4s infinite linear;
}

.radar-pulse-2 {
  animation-delay: 1s;
}

.radar-pulse-3 {
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

.float-animation-delayed {
  animation: float 6s ease-in-out infinite 1.5s;
}

@keyframes grow-width {
  from {
    width: 0;
  }
  to {
    width: var(--final-width);
  }
}

.animate-score {
  animation: grow-width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

[id] {
  scroll-margin-top: 96px;
}

.nav-link {
  transition: color 200ms ease;
}

.nav-link-active {
  color: #ffffff !important;
}

.nav-scrolled {
  background: rgba(3, 3, 3, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

.toast-container {
  position: fixed;
  top: 84px;
  right: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 15, 0.96);
  color: #f8fafc;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-8px);
  opacity: 0;
  animation: toast-in 220ms ease forwards;
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.45);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.45);
}

.toast-hide {
  animation: toast-out 220ms ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
