:root {
  /* Base palette (dark mode friendly) */
  --background: 220 20% 6%;
  --foreground: 0 0% 98%;

  --card: 220 18% 10%;
  --card-foreground: 0 0% 98%;

  --popover: 220 18% 10%;
  --popover-foreground: 0 0% 98%;

  /* Brand palette */
  /* #fead51 -> hsl(32 99% 66%) */
  --primary: 32 99% 66%;
  --primary-foreground: 0 0% 100%;

  --secondary: 220 15% 15%;
  --secondary-foreground: 0 0% 90%;

  --muted: 220 15% 18%;
  --muted-foreground: 220 10% 55%;

  /* #c6289f -> hsl(315 66% 47%) */
  --accent: 315 66% 47%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 220 15% 20%;
  --input: 220 15% 18%;
  /* Focus ring aligned to primary */
  --ring: 32 99% 66%;

  --radius: 0.75rem;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Dax', 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Dax', 'Space Grotesk', 'Inter', sans-serif;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%) translateX(-50%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: translateY(0) translateX(-50%); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }

.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.animated-underline {
  position: relative;
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: hsl(var(--primary));
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

.glow-accent-sm {
  box-shadow: 0 0 15px -3px hsl(var(--primary) / 0.3);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}
