/* Custom overrides for Anime Vanguards helper site */

:root {
  color-scheme: dark;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(76, 29, 149, 0.4), rgba(15, 23, 42, 0.95)),
    #0f172a;
  color: #e2e8f0;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.75), rgba(14, 165, 233, 0.35));
  z-index: -1;
  opacity: 0;
  transition: opacity 200ms ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

.noise-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath fill='%23ffffff0d' d='M0 1h1v1H0zM2 3h1v1H2zM3 0h1v1H3z'/%3E%3C/svg%3E");
}

.shimmer {
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.1));
  background-size: 200% 200%;
  animation: shimmer 2.5s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blurred-bg {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.8), transparent);
}

