/* Custom Tailwind / Design System CSS for SpeakerKeepAlive */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --bg-obsidian: #0B0F19;
    --bg-obsidian-900: #0d121f;
    --bg-obsidian-950: #070910;
    --color-violet-600: #6d28d9;
    --color-violet-500: #8b5cf6;
    --color-violet-400: #a78bfa;
    --color-emerald-400: #34d399;
}

/* Base reset & typography */
*, ::before, ::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-obsidian);
    color: #f1f5f9;
}

.font-display {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.bg-obsidian {
    background-color: #0B0F19;
}
.bg-obsidian-900 {
    background-color: #0d121f;
}
.bg-obsidian-950 {
    background-color: #070910;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0B0F19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Animated Waveform Bars */
.wave-bar {
    width: 6px;
    border-radius: 4px;
    background: linear-gradient(180deg, #8b5cf6 0%, #d946ef 100%);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.3s ease;
}

@keyframes pulseWave {
    0%, 100% {
        transform: scaleY(0.4);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.1);
        opacity: 1;
    }
}

.wave-active {
    animation: pulseWave 1.4s ease-in-out infinite alternate;
}

.wave-flat {
    height: 6px !important;
    background: #334155 !important;
    opacity: 0.4 !important;
    animation: none !important;
}

/* Responsive grid fallback helper */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tailwind CDN utility inclusions if loaded directly */
