/* Estilos personalizados para chapaTuParte */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#info-modal > div:last-child {
    animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Indicador de escritura Gemini */
.typing-dot {
    width: 6px;
    height: 6px;
    background-color: #be123c;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingPulse {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Tarjetas de subsidios interactivas */
.subsidio-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.subsidio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(190, 18, 60, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Franja superior estética Perú / Tahuantinsuyo */
header {
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, #be123c, #f59e0b, #be123c) 1;
}
