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

.truck-font {
    font-family: 'Orbitron', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.truck-button {
    font-family: 'Orbitron', monospace;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: all 0.2s ease;
}

.truck-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.truck-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

body {
    background-image: 
        linear-gradient(45deg, rgba(255,102,0,0.1) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255,102,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,102,0,0.1) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255,102,0,0.1) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}

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

.animate-pulse {
    animation: pulse 1s infinite;
}

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

::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .truck-font {
        font-size: 1.5rem !important;
    }
    
    .speech-bubble {
        font-size: 0.9rem;
    }
    
    .truck-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Loading animation for question transitions */
.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}