@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* Animations */
@keyframes soft-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.02); opacity: 1; }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-in {
    animation: fade-in 0.5s ease-out forwards;
}

/* Scrollbar styling */
#response-window::-webkit-scrollbar {
    width: 6px;
}

#response-window::-webkit-scrollbar-track {
    background: transparent;
}

#response-window::-webkit-scrollbar-thumb {
    background-color: rgba(96, 165, 250, 0.3);
    border-radius: 3px;
}

/* Custom glow effects */
.glow-blue {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.glow-blue:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
}
/* PWA and speech UI enhancements */
@media all and (display-mode: standalone) {
    body {
        overscroll-behavior-y: contain;
    }
}

#user-input:focus {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.5);
}

#send-btn:not(:disabled) {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-console {
        width: 95%;
    }
    
    .xp-tracker {
        grid-template-columns: 1fr;
    }
}