/* Global Utilities & Custom Styles */

/* Base overrides */
body {
  background-color: #0b0f19; /* brand dark */
  color: #e2e8f0;
}

/* Glassmorphism Classes */
.glass-panel {
  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 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.6) 0%,
    rgba(15, 23, 42, 0.4) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.3); /* brand gold hint */
}

/* Nav specific */
.glass-nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Glass Buttons */
.glass-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.glass-btn:hover {
  background: rgba(212, 175, 55, 0.15); /* Gold tint on hover */
  border-color: rgba(212, 175, 55, 0.5);
}

/* Form inputs (Glass style) */
.glass-input {
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(30, 41, 59, 0.7) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
}

.glass-input::placeholder {
  color: rgba(148, 163, 184, 0.6) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b0f19;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* Utilities */
.text-gradient-gold {
  background: linear-gradient(to right, #fef08a, #d4af37, #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
