@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom glass-card, material-symbols, and visual animations */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 73, 75, 0.3);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 85, 255, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.glass-card:hover::before {
  opacity: 1;
}

.glow-cyan {
  box-shadow: 0 0 15px rgba(0, 85, 255, 0.15);
}

.hover-glow-cyan:hover {
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.4);
}

.scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0055ff, transparent);
  animation: scan 3s linear infinite;
  z-index: 2;
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

body {
  background-color: #101415;
  color: #e0e3e5;
  overflow-x: hidden;
}

.glow-hover:hover {
  box-shadow: 0 0 15px rgba(0, 85, 255, 0.3);
  border-color: #0055ff;
}

.scanline {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0055ff, transparent);
  animation: scan 4s linear infinite;
  opacity: 0.5;
  z-index: 2;
}

.glass-panel {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(185, 202, 203, 0.1);
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 85, 255, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.glass-panel:hover::before {
  opacity: 1;
}

