@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

:root {
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Vibrant Dark Theme */
    --background: 240 10% 4%;
    --foreground: 0 0% 98%;
    --card: 240 10% 6%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 6%;
    --popover-foreground: 0 0% 98%;

    /* Electric Purple Primary */
    --primary: 265 89% 66%;
    --primary-foreground: 210 40% 98%;

    --secondary: 240 6% 15%;
    --secondary-foreground: 0 0% 98%;

    --muted: 240 6% 15%;
    --muted-foreground: 240 5% 65%;

    /* Cyan Accent */
    --accent: 190 90% 50%;
    --accent-foreground: 240 10% 4%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;

    --border: 240 6% 15%;
    --input: 240 6% 15%;
    --ring: 265 89% 66%;
}

@layer base {
    body {
        @apply bg-background text-foreground antialiased font-body;
    }

    h1, h2, h3, h4, h5, h6 {
        @apply font-display font-bold tracking-tight;
    }
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.card {
    background-color: hsl(var(--card) / 0.8);
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: 0.75rem;
    backdrop-filter: blur(24px);
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.error-message {
    color: hsl(var(--destructive));
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.pulse-bg {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}