@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --color-neon-purple: #9d00ff;
  --color-neon-magenta: #ff0095;
  --color-neon-lilac: #e0e0e0;
  --color-cyber-dark: #020205;
  --color-cyber-card: rgba(15, 15, 25, 0.7);
  --color-cyber-border: rgba(255, 255, 255, 0.1);
  --color-purple-border: rgba(157, 0, 255, 0.3);
}

body {
  background-color: var(--color-cyber-dark);
  color: #e0e0e0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
  background: var(--color-cyber-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-cyber-border);
}

.corner-accent {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--color-neon-magenta);
}
.corner-tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.corner-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* Neon Glow Animations */
@keyframes glow {
  0%, 100% { box-shadow: 0 0 15px rgba(157, 0, 255, 0.1); }
  50% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.3); }
}

.neon-glow {
  animation: glow 3s infinite alternate;
}

.neon-text {
  text-shadow: 0 0 8px #9d00ff, 0 0 12px #ff0095;
}

/* Futuristic background grid */
.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(157, 0, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 0, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: var(--color-neon-purple);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-neon-magenta);
}

/* Spinner Glow Border */
@keyframes spin-glow {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.animated-border-glow {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  padding: 2px;
}

.animated-border-glow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #9d00ff 85%, #ff0095 100%);
  transform-origin: center;
  animation: spin-glow 3s linear infinite;
  z-index: 0;
}

.animated-border-glow-content {
  position: relative;
  z-index: 1;
  background-color: #050508;
  border-radius: inherit;
}
