/* CSS Variables for Theme Colors */
:root {
    /* Exact colors from your existing app */
    --background: oklch(0.08 0 0);
    --foreground: oklch(0.98 0 0);
    --card: oklch(0.12 0 0);
    --card-foreground: oklch(0.95 0 0);
    --primary: oklch(0.7 0.15 280);
    --primary-foreground: oklch(0.98 0 0);
    --secondary: oklch(0.18 0 0);
    --secondary-foreground: oklch(0.9 0 0);
    --muted: oklch(0.15 0 0);
    --muted-foreground: oklch(0.6 0 0);
    --accent: oklch(0.65 0.2 200);
    --accent-foreground: oklch(0.98 0 0);
    --border: oklch(0.25 0 0);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Particle Animation */
.particle {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Button Glow Effects */
.glow-button {
    box-shadow: 0 0 20px oklch(0.7 0.15 280 / 0.3);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px oklch(0.7 0.15 280 / 0.5);
    transform: translateY(-2px);
}

.glow-accent {
    box-shadow: 0 0 20px oklch(0.65 0.2 200 / 0.3);
}

.glow-accent:hover {
    box-shadow: 0 0 30px oklch(0.65 0.2 200 / 0.5);
}

/* Grid Pattern Background */
.grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pulse Glow Animation */
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px oklch(0.65 0.2 200 / 0.3); }
    50% { box-shadow: 0 0 40px oklch(0.65 0.2 200 / 0.6); }
}

/* Utility Classes */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }

.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.border-border { border-color: var(--border); }

.backdrop-blur-sm { backdrop-filter: blur(8px); }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .particle {
        display: none; /* Hide particles on mobile for performance */
    }
}

/* Focus States */
input:focus {
    outline: none;
    ring: 2px;
    ring-color: oklch(0.7 0.15 280 / 0.5);
    border-color: var(--primary);
}

button:focus {
    outline: none;
    ring: 2px;
    ring-color: oklch(0.7 0.15 280 / 0.5);
}

/* Hover States */
a:hover {
    transition: color 0.3s ease;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Animation Classes */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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