@import "tailwindcss";

:root {
  --background: #ffffff;
  --foreground: #171717;
  
  /* Suno Design System Colors */
  --rgb-background-primary: 16, 16, 18;
  --rgb-foreground-primary: 255, 255, 255;
  --rgb-foreground-secondary: 156, 163, 175;
  --rgb-foreground-tertiary: 107, 114, 128;
  --rgb-gray-300: 209, 213, 219;
  --rgb-gray-400: 156, 163, 175;
  --rgb-gray-500: 107, 114, 128;
  --rgb-gray-900: 17, 24, 39;
  --rgb-white: 255, 255, 255;
  --rgb-black: 0, 0, 0;
  
  /* Accent colors */
  --rgb-accent-purple: 147, 51, 234;
  --rgb-accent-pink: 236, 72, 153;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Aura Button Styles */
@keyframes randomBackground {
  0% { background-position: 50% 50%; }
  25% { background-position: 30% 70%; }
  50% { background-position: 70% 30%; }
  75% { background-position: 40% 60%; }
  100% { background-position: 50% 50%; }
}

.aura-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background-image: url('https://cdn-o.suno.com/aura_horizontal.jpg');
  background-size: cover;
  background-position: 50% 50%;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  overflow: visible;
  transform-origin: center center;
  transition: transform 0.2s ease-in-out;
}

.aura-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://cdn-o.suno.com/grain.webp');
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.aura-button:not(:disabled):hover {
  transform: scale(1.1);
}

.aura-button-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.aura-button-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.aura-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Pulsating animation for active button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.aura-button.pulse-active {
  animation: pulse 1s ease-in-out infinite;
}
