:root {
  --primary: #8b5cf6;
  --accent: #ec4899;
  --bg-dark: #020617;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg-dark);
  color: #f8fafc;
}

.gradient-text {
  background: linear-gradient(to right, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title {
  font-size: 4rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.input-container {
  position: sticky;
  top: 1rem;
  z-index: 50;
  margin-bottom: 4rem;
}

.main-input-wrapper {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-radius: 1.5rem;
}

.main-input-wrapper input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.font-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.toast-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  color: black;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
}

.toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

footer {
  margin-top: 5rem;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #1e293b;
  color: #64748b;
}
