﻿/* Custom Styles & Gem Glow Effects for GemGen - Designed with love by Medouz */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6366f1;
}

/* Glassmorphism & Gem Gradients */
.gem-glass {
  background: rgba(19, 27, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gem-gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gem-glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Pulse Glow Keyframes */
@keyframes gemGlowPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.08); }
}

.animate-gem-pulse {
  animation: gemGlowPulse 8s ease-in-out infinite;
}

/* Monospace Prompt Style */
.font-mono-prompt {
  font-family: 'JetBrains Mono', monospace;
}

/* Toast Animation */
#gemgen-toast {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100px);
  opacity: 0;
}
#gemgen-toast.show {
  transform: translateY(0);
  opacity: 1;
}
