
/* Enhanced custom styles to supplement Daisy UI */

/* Custom background colors for gradient */
:root {
  --base-purple: #5c75f6;
  --navy: #1e2869;
  --deep-purple: #282066;
  --light-purple: #8a9dff;
  --accent-purple: #7a8af8;
}

/* Update the theme to use the new color */
[data-theme="dark"] {
  --p: 231 86% 66%; /* Base purple as primary color */
}

.from-navy {
  --tw-gradient-from: var(--navy);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 40, 105, 0));
}

.to-deep-purple {
  --tw-gradient-to: var(--deep-purple);
}

/* Add stars to background */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
  }
}

/* Add hover effect to title */
h1 {
  transition: all 0.3s;
  color: var(--light-purple);
}

h1:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(92, 117, 246, 0.5);
}

/* Glass card effect */
.card.glass {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(92, 117, 246, 0.15);
  box-shadow: 0 4px 15px rgba(92, 117, 246, 0.1);
}

/* Enhanced stats styling */
.stats {
  transition: all 0.3s ease;
  border: 1px solid rgba(92, 117, 246, 0.2);
}

.stats:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(92, 117, 246, 0.3), 0 8px 10px -6px rgba(92, 117, 246, 0.2);
  border-color: rgba(92, 117, 246, 0.4);
}

.stat {
  background-color: rgba(3, 4, 37, 0.7);
  border-radius: 0.5rem;
  margin: 0.25rem;
}

.stat-value {
  font-weight: 700;
  font-size: 3rem;
}

/* Form enhancements */
.input:focus {
  transition: all 0.2s ease;
  border-color: hsl(var(--p));
}

/* Add animation to badge */
.badge-lg {
  animation: pulse 2s infinite;
}

/* Custom button styles based on the purple color */
.btn-primary {
  background-color: var(--base-purple);
  border-color: var(--base-purple);
}

.btn-primary:hover {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
}

/* Badge and accent color updates */
.badge-primary {
  background-color: var(--base-purple);
  color: white;
}

/* Add a subtle purple glow to inputs on focus */
.input:focus {
  border-color: var(--base-purple);
  box-shadow: 0 0 0 2px rgba(92, 117, 246, 0.2);
}

/* Black navbar background */
.navbar.bg-neutral {
  background: #000000;
  border-bottom: 1px solid rgba(92, 117, 246, 0.2);
}

/* Stats value color to match theme */
.stat-value.text-primary {
  color: var(--base-purple);
}

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