:root { 
    --p: #6366f1; 
    --bg: #0f172a; 
    --text: #ffffff; 
    --road-color: rgba(255,255,255,0.05);
}

body { 
    margin: 0; padding: 0; background: var(--bg); color: var(--text); 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex; align-items: center; justify-content: center; 
    min-height: 100vh; text-align: center; overflow: hidden;
}

.container { 
    padding: 20px; 
    width: 90%; 
    max-width: 600px;
    animation: fadeIn 0.8s ease-out;
}

/* O Ônibus Animado */
.bus-stage {
    position: relative;
    height: 120px;
    margin-bottom: 20px;
}

.bus-icon { 
    font-size: clamp(60px, 15vw, 100px); 
    display: inline-block;
    animation: bounceBus 0.6s infinite alternate cubic-bezier(.5,0,.5,1);
}

/* Estrada Infinita */
.road { 
    width: 100%; 
    height: 10px; 
    background: var(--road-color); 
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.road::after { 
    content: "-----------"; 
    position: absolute; 
    color: var(--p);
    font-weight: bold;
    letter-spacing: 15px;
    top: -5px;
    left: 0;
    font-size: 20px;
    white-space: nowrap;
    animation: moveRoad 0.4s infinite linear; 
}

/* Tipografia e Botões */
h1 { 
    font-size: clamp(28px, 8vw, 54px); 
    color: var(--p); 
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

p { 
    font-size: clamp(16px, 4vw, 20px); 
    opacity: 0.9; 
    margin-bottom: 40px;
    line-height: 1.5;
}

.btn { 
    background: var(--p); 
    color: white; 
    text-decoration: none; 
    padding: clamp(12px, 3vw, 18px) clamp(20px, 5vw, 40px); 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
}

.btn:hover { 
    transform: scale(1.1) rotate(-2deg); 
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.5);
    background: #4f46e5;
}

/* Animações */
@keyframes bounceBus {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-15px) rotate(2deg); }
}

@keyframes moveRoad {
    from { transform: translateX(0); }
    to { transform: translateX(-50px); }
}

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

/* Mobile Adjustments */
@media (max-width: 480px) {
    .bus-stage { height: 90px; }
    p { padding: 0 10px; }
}
