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

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Efecto de botón 3D tipo Duolingo / Gamificado */
.btn-3d {
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d:active {
    transform: translateY(4px);
    box-shadow: none !important;
}

/* Animación de entrada fluida */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-pop {
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Tarjeta juguetona con sombra tipo cómic */
.card-playful {
    border-width: 3px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.card-playful:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
}

/* Formato de contenedor de video en relación de aspecto 16:9 */
.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 1.5rem;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Estilos de enlaces embebidos automáticamente */
.text-link-auto {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.15s ease;
}

.text-link-auto:hover {
    color: #3730a3;
}