Czechia defeated Denmark on penalties after a dramatic 2-2 draw, securing their first World Cup appearance since 2006.