body {
  background: linear-gradient(135deg, #1a0a1a 0%, #2d1b2d 50%, #1f0f1f 100%);
  min-height: 100vh;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      #4ade80 35px,
      #4ade80 36px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      #a78bfa 35px,
      #a78bfa 36px
    );
  pointer-events: none;
  z-index: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #d946ef 0%, #f97316 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#repoUrl:focus {
  border-color: #d946ef !important;
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.3) !important;
}

#analyzeBtn {
  background: linear-gradient(135deg, #d946ef 0%, #f97316 100%);
}

#analyzeBtn:hover:not(:disabled) {
  background: linear-gradient(135deg, #f97316 0%, #d946ef 100%);
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-button {
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
  transition: all 0.3s ease;
}

.glow-button:hover:not(:disabled) {
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.6);
  transform: translateY(-2px);
}

.status-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.results-container {
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}

/* Result Cards */
.result-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.severity-critical {
  border-left: 4px solid #ef4444;
}

.severity-high {
  border-left: 4px solid #f97316;
}

.severity-medium {
  border-left: 4px solid #eab308;
}

.severity-low {
  border-left: 4px solid #22c55e;
}

.severity-info {
  border-left: 4px solid #3b82f6;
}

/* Loading Animation */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gradient-text {
    font-size: 2.5rem;
  }
  
  .glass {
    margin: 0 1rem;
  }
}

/* Smooth Transitions */
* {
  transition: all 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #d946ef 0%, #f97316 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #f97316 0%, #d946ef 100%);
}