/* Glassmorphism custom classes & animation utilities */

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.glass-input {
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(4px);
}

.glass-input:focus {
  border-color: rgba(212, 163, 89, 0.5);
  box-shadow: 0 0 10px rgba(212, 163, 89, 0.15);
  outline: none;
}

/* Light mode overrides for glass input */
html:not(.dark) .glass-input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
}

html:not(.dark) .glass-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Gold text gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #f3e7c4 0%, #d4a359 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 163, 89, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 163, 89, 0.6);
}

/* Water ripple animation */
@keyframes ripple {
  0% {
    transform: scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.ripple-effect {
  animation: ripple 2s infinite ease-out;
}

html {
  scroll-behavior: smooth;
}