/* Base Fallback Styles */
html, body {
  background-color: #070913 !important;
  color: #F1F5F9;
}

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

::-webkit-scrollbar-track {
  background: #0B0E1B;
}

::-webkit-scrollbar-thumb {
  background: #1A2038;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: rgba(18, 22, 41, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.25);
}

.glass-card-gold {
  background: rgba(18, 22, 41, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Metallic Gold Primary Button Style */
.btn-gold-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #EDD892 45%, #C5A059 100%);
  color: #070913;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold-primary:hover {
  background: linear-gradient(135deg, #E5C158 0%, #FFF0B3 45%, #D4AF37 100%);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

/* Metallic Gold Outline Button Style */
.btn-gold-outline {
  background: rgba(11, 14, 27, 0.6);
  border: 1.5px solid #D4AF37;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #EDD892;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

/* Gradient Text & Borders */
.gold-gradient-text {
  background: linear-gradient(135deg, #D4AF37 0%, #EDD892 45%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #D4AF37 0%, #EDD892 45%, #C5A059 100%);
  color: #070913;
  font-weight: 700;
}

.gold-border-glow {
  position: relative;
}

.gold-border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.7), transparent, rgba(197, 160, 89, 0.7));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.gold-border-glow:hover::before {
  opacity: 1;
}

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

/* Background Grid Pattern & Radial Gradients */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 20%, rgba(28, 37, 65, 0.8) 0%, rgba(11, 19, 43, 0.95) 60%, rgba(7, 9, 19, 1) 100%);
}

/* Range slider custom metallic thumb */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #EDD892 50%, #C5A059 100%);
  cursor: pointer;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.8);
}
