/* Glassmorphism Utilities */
:root {
  --glass-bg: rgba(30, 41, 59, 0.4); /* Slightly lighter base for depth */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --accent-glow: 0 0 15px rgba(6, 182, 212, 0.3); /* Cyan glow */
}

body {
  /* Deep Luxury Navy Gradient */
  background: radial-gradient(circle at 50% -20%, #1e293b 0%, #0f172a 60%, #020617 100%);
  background-attachment: fixed; /* Parallax feel */
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%); /* Increased blur & saturation */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glass-btn:active {
    transform: scale(0.96);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* Modal Styling */
.glass-modal-content {
    background: rgba(15, 23, 42, 0.85); /* More translucent */
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
    border-radius: 24px 24px 0 0;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

/* Input Styling */
input, select, textarea {
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #06b6d4; /* Cyan-500 */
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  background: rgba(30, 41, 59, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-enter {
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; /* Smoother spring */
}

/* Loader */
.loader {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-left-color: #06b6d4;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
