/* GPU Garden - Custom Micro-Styling & Theme Enhancements */

:root {
  --color-garden-bg: #090d16;
  --color-garden-card: #0f172a;
  --color-garden-accent: #10b981;
  --color-garden-cyan: #06b6d4;
  --color-garden-amber: #f59e0b;
}

body {
  background-color: var(--color-garden-bg);
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  border: 2px solid #064e3b;
  transition: transform 0.1s, box-shadow 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.8);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  border: 2px solid #064e3b;
}

/* Card Glow & Glassmorphism */
.garden-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
}

.garden-card-highlight {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 1rem;
}

/* Smooth Transitions for Memory Bars */
.mem-bar-segment {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar for Dropdowns and Tables */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

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

/* Logo Sprout + Bolt Micro-Animation */
@keyframes sproutGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.75)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
    transform: scale(1.06);
  }
}

.logo-sprout-bolt {
  display: inline-flex;
  align-items: center;
  animation: sproutGlowPulse 3s ease-in-out infinite;
  transform-origin: center;
}
